Commit 92c024f3746dc9cdd3659dbba4fe66576cffe880

Authored by wangfan
1 parent 456014b0

fixui

... ... @@ -13,6 +13,7 @@ Page({
IsCollectionSeller:false,
pagesHeight:'auto',
current:0,
currentView:1,
},
/**
... ... @@ -215,7 +216,7 @@ Page({
},
bindtransition(e){
this.setData({
current:e.detail.current
currentView:e.detail.current+1
})
},
})
\ No newline at end of file
... ...
... ... @@ -2,7 +2,7 @@
<nav>{{seller.sellername}}</nav>
<view class="seller-banner">
<swiper
indicator-dots="{{false}}" autoplay="{{true}}" circular="{{false}}" vertical="{{false}}"
indicator-dots="{{false}}" autoplay="{{false}}" circular="{{false}}" vertical="{{false}}"
interval="2000" duration="500"
previous-margin="{{0}}px" next-margin="{{0}}px"
current="{{current}}" bindchange="bindtransition" bindtap="reviweBanner">
... ... @@ -19,7 +19,7 @@
<view>{{seller.slogan}}</view>
</view>
</view>
<view class="swiper-num" wx:if="{{seller.envi_image.length>0}}">{{current+1}} / {{seller.envi_image.length}}</view>
<view class="swiper-num" wx:if="{{seller.envi_image.length>0}}">{{currentView}} / {{seller.envi_image.length}}</view>
</view>
<view class="pages" style="height: {{pagesHeight}};overflow:{{pagesHeight=='auto'?'visible':'hidden'}}">
<view class="seller">
... ...