| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <template>
- <view class="content">
- <view class="page-section-spacing" style="width: 100%;">
- <swiper class="swiper"
- indicator-dots="true"
- autoplay="true"
- duration="500"
- style="height:400rpx">
- <swiper-item v-for="(item , index) in swiperList" :key="index">
- <image :src="item.img" mode="aspectFill" style="width: 100%;height: 100%;"></image>
- </swiper-item>
- </swiper>
- </view>
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- swiperList:[
- {
- img:'/static/swiper/swiper1.jpg'
- },
- {
- img:'/static/swiper/swiper2.jpg'
- },
- ],
- }
- },
- onLoad(option) {
- console.log(option)
- },
- methods: {
- }
- }
- </script>
- <style>
- .content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .logo {
- height: 200rpx;
- width: 200rpx;
- margin-top: 200rpx;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 50rpx;
- }
- .text-area {
- display: flex;
- justify-content: center;
- }
- .title {
- font-size: 36rpx;
- color: #8f8f94;
- }
-
- </style>
|