Commit 005f7c95e9391a6c7d4b146123c7504904ab3bc0
1 parent
d268d6d4
广告滚动要自动时间滑动~~~
Showing
3 changed files
with
6 additions
and
6 deletions
pages/activity/pind_list/pind_list.wxml
@@ -2,8 +2,8 @@ | @@ -2,8 +2,8 @@ | ||
2 | <view class=" body_frame"> | 2 | <view class=" body_frame"> |
3 | 3 | ||
4 | <block wx:if="{{ad_data}}"> | 4 | <block wx:if="{{ad_data}}"> |
5 | - <swiper class="swiper" circular="true" | ||
6 | - indicator-dots="true" | 5 | + <swiper class="swiper" circular="true" autoplay="true" |
6 | + indicator-dots="true" interval="2500" | ||
7 | style="height:{{max_sw_height}}rpx" > | 7 | style="height:{{max_sw_height}}rpx" > |
8 | <block wx:for="{{ad_data}}"> | 8 | <block wx:for="{{ad_data}}"> |
9 | 9 |
pages/activity/seckill_list/seckill_list.wxml
@@ -4,8 +4,8 @@ | @@ -4,8 +4,8 @@ | ||
4 | 4 | ||
5 | <block wx:if="{{ad_data}}"> | 5 | <block wx:if="{{ad_data}}"> |
6 | 6 | ||
7 | - <swiper class="swiper" circular="true" | ||
8 | - indicator-dots="true" | 7 | + <swiper class="swiper" circular="true" autoplay="true" |
8 | + indicator-dots="true" interval="2500" | ||
9 | style="height:{{max_sw_height}}rpx" > | 9 | style="height:{{max_sw_height}}rpx" > |
10 | <block wx:for="{{ad_data}}"> | 10 | <block wx:for="{{ad_data}}"> |
11 | 11 |
pages/cart/cart/cart.wxml
@@ -9,8 +9,8 @@ | @@ -9,8 +9,8 @@ | ||
9 | </navigator> | 9 | </navigator> |
10 | 10 | ||
11 | <block wx:if="{{ad_data}}"> | 11 | <block wx:if="{{ad_data}}"> |
12 | - <swiper class="swiper" circular="true" | ||
13 | - indicator-dots="true" | 12 | + <swiper class="swiper" circular="true" autoplay="true" |
13 | + indicator-dots="true" interval="2500" | ||
14 | style="height:{{max_sw_height}}rpx" > | 14 | style="height:{{max_sw_height}}rpx" > |
15 | <block wx:for="{{ad_data}}"> | 15 | <block wx:for="{{ad_data}}"> |
16 | 16 |