From 4b5f1f7ed3460df9465e5071a59b8105cbc9146e Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期五, 29 三月 2024 14:35:30 +0800
Subject: [PATCH] 修改

---
 pages/home/home.wxml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 4170fe9..61a1f7a 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -13,7 +13,17 @@
         </t-search>
       </view>
       <view class="swiper-wrap">
-        <t-swiper wx:if="{{bannerList.length > 0}}" list="{{bannerList}}" autoplay="{{autoplay}}" duration="{{duration}}" interval="{{interval}}" navigation="{{navigation}}" height="380rpx" bind:click="navToActivityDetail" />
+        <!-- <t-swiper wx:if="{{bannerList.length > 0}}" list="{{bannerList}}" autoplay="{{autoplay}}" duration="{{duration}}" interval="{{interval}}" navigation="{{ { type: 'dots' } }}" height="380rpx" bind:click="navToActivityDetail" /> -->
+        <swiper interval="5000" indicator-dots="true" autoplay="true" circular="true" class="swiper" wx:if="{{bannerList.length > 0}}">
+          <swiper-item wx:for="{{bannerList}}" wx:for-index="index" wx:key="index" data-info="{{item}}" bindtap="navToActivityDetail">
+            <view class="swiperItem">
+              <image src="{{item.value}}" mode="aspectFill" class="img" />
+            </view>
+          </swiper-item>
+        </swiper>
+        <view class="body-loading" wx:else="">
+          <t-loading theme="circular" size="40rpx" class="wrapper" />
+        </view>
       </view>
     </view>
     <view class="home-page-menu">

--
Gitblit v1.9.1