|
@@ -6,35 +6,35 @@
|
|
|
@click="emit('close')"
|
|
|
/>
|
|
|
<div class="content-wrap">
|
|
|
- <img
|
|
|
- class="content"
|
|
|
- src="@/assets/images/camera-content-1-3-3-content.png"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div class="design-wrap-right">
|
|
|
- <!-- 左右按钮 -->
|
|
|
- <img
|
|
|
- class="btn-left"
|
|
|
- src="@/assets/images/CameraContent-3-1-3-left.png"
|
|
|
- alt=""
|
|
|
- :style="{opacity: currentSwitchIdx == 0 ? '0.4':'1'}"
|
|
|
- @click="previous()"
|
|
|
- >
|
|
|
- <img
|
|
|
- class="btn-right"
|
|
|
- src="@/assets/images/CameraContent-3-1-3-right.png"
|
|
|
- alt=""
|
|
|
- :style="{opacity: currentSwitchIdx == imgLists.length - 1 ? '0.4':'1'}"
|
|
|
- @click="next()"
|
|
|
- >
|
|
|
- <img
|
|
|
- class="detail-img"
|
|
|
- draggable="false"
|
|
|
- :src="require(`@/assets/images/133${currentSwitchIdx + 1}-min.jpg`)"
|
|
|
- alt=""
|
|
|
- >
|
|
|
+ <p class="card-title left">
|
|
|
+ 重要建筑构件瓦当与滴水
|
|
|
+ </p>
|
|
|
+ <p class="text-indent">
|
|
|
+ 瓦当与滴水是用在古代建筑檐口的瓦件,分别与筒瓦、板瓦相连,既具有保护木构的作用,也有装饰和等级意味。元代高等级建筑使用的龙纹瓦当、滴水,在元大都、元中都、元上都都有不少发现,其中以黄绿琉璃最为常见。元人尚白,考古也曾发现白色瓷瓦或琉璃瓦。发现数量更多的是灰陶瓦件,元大都出土的灰陶瓦当、滴水,以花草纹、凤鸟纹、兽面纹为大宗。
|
|
|
+ </p>
|
|
|
+ <div class="design-wrap-right">
|
|
|
+ <!-- 左右按钮 -->
|
|
|
+ <img
|
|
|
+ class="btn-left"
|
|
|
+ src="@/assets/images/CameraContent-3-1-3-left.png"
|
|
|
+ alt=""
|
|
|
+ :style="{opacity: currentSwitchIdx == 0 ? '0.4':'1'}"
|
|
|
+ @click="previous()"
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ class="btn-right"
|
|
|
+ src="@/assets/images/CameraContent-3-1-3-right.png"
|
|
|
+ alt=""
|
|
|
+ :style="{opacity: currentSwitchIdx == imgLists.length - 1 ? '0.4':'1'}"
|
|
|
+ @click="next()"
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ class="detail-img"
|
|
|
+ draggable="false"
|
|
|
+ :src="require(`@/assets/images/133${currentSwitchIdx + 1}.png`)"
|
|
|
+ alt=""
|
|
|
+ >
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -50,8 +50,9 @@ const {
|
|
|
const emit = defineEmits(['close'])
|
|
|
const currentSwitchIdx = ref(0)
|
|
|
const imgLists = [
|
|
|
- '@/assets/images/1331-min.png',
|
|
|
- // '@/assets/images/1332-min.jpeg',
|
|
|
+ '@/assets/images/1331',
|
|
|
+ '@/assets/images/1332',
|
|
|
+ '@/assets/images/1333',
|
|
|
]
|
|
|
|
|
|
const previous = () => {
|
|
@@ -98,6 +99,7 @@ const next = () => {
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
top: 54%;
|
|
|
+ padding: 140px 975px 140px 150px;
|
|
|
width: calc(1920 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
height: calc(723 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
transform: translate(-50%, -50%);
|
|
@@ -105,22 +107,26 @@ const next = () => {
|
|
|
background-size: cover;
|
|
|
background-repeat: no-repeat;
|
|
|
background-position: center center;
|
|
|
- display: flex;
|
|
|
- justify-content: space-evenly;
|
|
|
- align-items: center;
|
|
|
- >img.content{
|
|
|
- width: 90%;
|
|
|
+ box-sizing: border-box;
|
|
|
+
|
|
|
+ .card-title {
|
|
|
+ margin-bottom: 20px;
|
|
|
+ }
|
|
|
+ .text-indent {
|
|
|
+ font-size: 20px;
|
|
|
}
|
|
|
}
|
|
|
.design-wrap-right {
|
|
|
- width: calc(880 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- height: calc(550 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: calc(816 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ height: calc(436 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
background: rgba(145,129,117,0.25);
|
|
|
border: 1px solid #FFE88B;
|
|
|
- padding: 15px 10px;
|
|
|
position: absolute;
|
|
|
- top: calc(250 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- right: calc(100 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ top: calc(131 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ right: calc(80 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
>.btn-left {
|
|
|
width: 60px;
|
|
|
height: 60px;
|
|
@@ -149,11 +155,6 @@ const next = () => {
|
|
|
transform: translateY(-50%) scale(1.2);
|
|
|
}
|
|
|
}
|
|
|
- >.detail-img {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- object-fit: cover;
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
</style>
|