From 6613c11627b5e0be1629f3784acf0245a8040ea1 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Fri, 13 Sep 2024 09:35:46 +0800 Subject: [PATCH] 提交 --- gz-wxparty/pages/homePage/index.wxml | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gz-wxparty/pages/homePage/index.wxml b/gz-wxparty/pages/homePage/index.wxml index 3918ed8..cabd718 100644 --- a/gz-wxparty/pages/homePage/index.wxml +++ b/gz-wxparty/pages/homePage/index.wxml @@ -8,8 +8,17 @@ <view class="homePage-main"> <view class="swiper-bg"> <swiper autoplay="{{ true }}" class="swiper" indicator-dots="{{ true }}"> - <swiper-item class="swiper-main" wx:for="{{ banner }}" wx:key="index"> - <image class="swiper-item" src="{{ item }}" /> + <swiper-item class="swiper-main"> + <view class="swiper-main-image"> + <image class="swiper-item" src="{{ imgUrl }}Banner1.png" /> + <image class="swiper-item1" src="{{ imgUrl }}banner4.png" /> + </view> + </swiper-item> + <swiper-item class="swiper-main"> + <view class="swiper-main-image"> + <image class="swiper-item" src="{{ imgUrl }}Banner2.png" /> + <image class="swiper-item2" src="{{ imgUrl }}banner3.png" /> + </view> </swiper-item> </swiper> <view class="swiper-head"> @@ -22,7 +31,7 @@ </view> <view class="main"> <view style="height: 32rpx;"> - + </view> <!-- 服务申请 --> <view> @@ -80,7 +89,7 @@ <van-icon name="arrow" size="16" /> </view> </view> - <view class="dt_card" bindtap="goSeeMessage" wx:for="{{ newMessage }}" style="margin-top:{{index===0?0:'8px'}}" wx:key="index"> + <view class="dt_card" bindtap="goSeeMessage" data-url="{{item.showUrl}}" wx:for="{{ newMessage }}" style="margin-top:{{index===0?0:'8px'}}" wx:key="index"> <view class="dt_card_l"> <view class="dt_card_title">{{item.title}}</view> <view class="dt_card_time"> -- Gitblit v1.8.0