123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <template>
- <div class="epilogue-view">
- <transition name="fade-out">
- <video
- v-show="isShowVideo"
- class="epilogue-video"
- src="@/assets/videos/epilogue.mp4"
- autoplay
- playsinline
- webkit-playsinline="true"
- x5-video-player-type="h5"
- @ended="isShowVideo = false"
- />
- </transition>
- <div class="mask" />
- <img
- class="handwritting"
- src="@/assets/images/handwriting.png"
- alt=""
- draggable="false"
- >
- <div class="bottom-wrap">
- <div class="text-wrap">
- <h3>明朱元璋行书手谕卷</h3>
- <div class="desc">
- 元末明初 纸本<br>
- 纵 35.9 厘米,横 58.7 厘米<br>
- 无锡博物院藏
- </div>
- </div>
- <div class="qr-code">
- <img
- class="qr-code"
- src="@/assets/images/qr-code.png"
- alt=""
- draggable="false"
- >
- <span>扫码体验小程序</span>
- </div>
- </div>
- </div>
- </template>
- <script setup>
- import { ref, computed, watch, onMounted } from "vue"
- import { useRoute, useRouter } from "vue-router"
- import { useStore } from "vuex"
- const route = useRoute()
- const router = useRouter()
- const store = useStore()
- const isShowVideo = ref(true)
- </script>
- <style lang="less" scoped>
- .epilogue-view{
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-image: url(@/assets/images/epilogue-bg.jpg);
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center center;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- >video.epilogue-video{
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: black;
- z-index: 3;
- }
- >.mask{
- position: absolute;
- bottom: 0;
- width: 100%;
- top: 48%;
- background-color: rgba(0, 0, 0, 0.7);
- border-radius: 30px 30px 0 0;
- }
- >img.handwritting{
- width: 744px;
- height: 462px;
- margin-bottom: 22px;
- position: relative;
- z-index: 1;
- }
- >.bottom-wrap{
- width: 744px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- position: relative;
- z-index: 1;
- >.text-wrap{
- >h3{
- font-size: 30px;
- font-family: Source Han Serif CN, Source Han Serif CN;
- font-weight: 800;
- color: #AC9468;
- line-height: 35px;
- letter-spacing: 3px;
- margin-bottom: 17px;
- }
- >.desc{
- font-size: 20px;
- font-family: Source Han Sans CN, Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 23px;
- letter-spacing: 2px;
- }
- }
- >.qr-code{
- display: flex;
- flex-direction: column;
- align-items: center;
- >img.qr-code{
- width: 125px;
- height: 125px;
- margin-bottom: 10px;
- }
- >span{
- font-size: 14px;
- font-family: Source Han Sans CN, Source Han Sans CN;
- font-weight: 400;
- color: #FFFFFF;
- line-height: 16px;
- letter-spacing: 1px;
- }
- }
- }
- }
- </style>
|