|
@@ -1,14 +1,15 @@
|
|
<template>
|
|
<template>
|
|
<div class="camera-desc">
|
|
<div class="camera-desc">
|
|
<div class="wrap">
|
|
<div class="wrap">
|
|
|
|
+ <h1>第一章 大汗之城</h1>
|
|
<div class="desc">
|
|
<div class="desc">
|
|
- sdfkjsfsfg记得发个看到过受到法律上的风光
|
|
|
|
|
|
+ 雄伟的元大都宫阙因此被人称颂,堪称杰作的通惠河因此被世人铭记。尚在南方的时候,大都城的雄伟壮阔赵孟頫已早有耳闻,他前往和义门,拜见大都的设计者刘秉忠,向其了解大都城的规划设计,并由外及内(外城、皇城、宫城)俯瞰大都城的雄伟壮阔。沿着大都城街道感受都城统一的规划布局,能工巧匠的巧妙设计,以及为营建大都设立的专门机构。
|
|
</div>
|
|
</div>
|
|
<button
|
|
<button
|
|
class="close"
|
|
class="close"
|
|
@click="emit('close')"
|
|
@click="emit('close')"
|
|
>
|
|
>
|
|
- 知道了
|
|
|
|
|
|
+ <span>知道了</span>
|
|
</button>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -19,6 +20,11 @@ import { ref, computed, watch, onMounted } from "vue"
|
|
import { useRoute, useRouter } from "vue-router"
|
|
import { useRoute, useRouter } from "vue-router"
|
|
import { useStore } from "vuex"
|
|
import { useStore } from "vuex"
|
|
|
|
|
|
|
|
+const {
|
|
|
|
+ windowSizeInCssForRef,
|
|
|
|
+ windowSizeWhenDesignForRef,
|
|
|
|
+} = useSizeAdapt()
|
|
|
|
+
|
|
const emit = defineEmits(['close'])
|
|
const emit = defineEmits(['close'])
|
|
|
|
|
|
const route = useRoute()
|
|
const route = useRoute()
|
|
@@ -35,20 +41,68 @@ const store = useStore()
|
|
top: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
- background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
.wrap{
|
|
.wrap{
|
|
position: absolute;
|
|
position: absolute;
|
|
- left: 50%;
|
|
|
|
- top: 10px;
|
|
|
|
- transform: translateX(-50%);
|
|
|
|
- background-color: blue;
|
|
|
|
- width: 70vw;
|
|
|
|
- height: 30vh;
|
|
|
|
|
|
+ left: calc(50% + 15 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ top: 50%;
|
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
|
+ width: calc(1340 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ height: calc(569 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ background-image: url(@/assets/images/camera-desc-bg.png);
|
|
|
|
+ background-size: contain;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: center center;
|
|
|
|
+ padding-right: calc(30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ >h1{
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: calc(110 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ left: calc(50% - 30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ transform: translate(-50%, 0);
|
|
|
|
+ width: calc(348 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ height: calc(71 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ background-image: url(@/assets/images/camera-desc-title-bg.png);
|
|
|
|
+ background-size: contain;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: center center;
|
|
|
|
+ }
|
|
|
|
+ >.desc{
|
|
|
|
+ margin-top: calc(210 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ width: calc(1034 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ height: calc(240 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ margin-left: auto;
|
|
|
|
+ margin-right: auto;
|
|
|
|
+ font-size: calc(22 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ font-family: Source Han Serif SC, Source Han Serif SC;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ color: #4A350E;
|
|
|
|
+ line-height: calc(37 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ letter-spacing: calc(7 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ padding-left: 0.5em;
|
|
|
|
+ overflow: auto;
|
|
|
|
+ }
|
|
>button.close{
|
|
>button.close{
|
|
position: absolute;
|
|
position: absolute;
|
|
- left: 50%;
|
|
|
|
- bottom: 10px;
|
|
|
|
|
|
+ left: calc(50% - 30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ bottom: calc(45 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
|
|
+ width: calc(224 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ height: calc(67 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ background-image: url(@/assets/images/btn-close-camera-desc.png);
|
|
|
|
+ background-size: contain;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: center center;
|
|
|
|
+ >span{
|
|
|
|
+ font-size: calc(28 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ font-family: Source Han Serif CN, Source Han Serif CN;
|
|
|
|
+ font-weight: 800;
|
|
|
|
+ background: linear-gradient(180deg, #FFFBC4 0%, #E5C05B 100%);
|
|
|
|
+ background-clip: text;
|
|
|
|
+ -webkit-background-clip: text;
|
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|