76 lines
1.4 KiB
Vue
76 lines
1.4 KiB
Vue
<!-- 6.建筑细节 -->
|
|
<template>
|
|
<view class="content">
|
|
<div class="top">
|
|
<swiper class="swiper" circular :interval="2000" :duration="500" :indicatorDots="true">
|
|
<swiper-item>
|
|
<div class="top-content-one" />
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<div class="top-content-two" />
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<div class="top-content-three" />
|
|
</swiper-item>
|
|
<swiper-item>
|
|
<div class="top-content-four" />
|
|
</swiper-item>
|
|
|
|
</swiper>
|
|
</div>
|
|
<div class="bottom">
|
|
<Menu :type="6" />
|
|
</div>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import Menu from '../../components/Menu.vue'
|
|
</script>
|
|
|
|
<style scoped>
|
|
.swiper {
|
|
height: 100%;
|
|
padding: 10rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.top {
|
|
flex: 12;
|
|
}
|
|
|
|
.bottom {
|
|
flex: 1;
|
|
background-color: rgba(44 61, 43, 1);
|
|
}
|
|
|
|
.top-content-one {
|
|
height: 100%;
|
|
background: url('~@/static/sixsix1.jpg') no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.top-content-two {
|
|
height: 100%;
|
|
background: url('~@/static/sixsix2.jpg') no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.top-content-three {
|
|
height: 100%;
|
|
background: url('~@/static/sixsix3.jpg') no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.top-content-four {
|
|
height: 100%;
|
|
background: url('~@/static/sixsix4.jpg') no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
</style> |