|
@@ -1,20 +1,22 @@
|
|
|
+<view>
|
|
|
+ <swiper current="{{currentTab}}" class="swiper-box" duration="300" style="height:{{winHeight - 48}}px" bindchange="bindChange">
|
|
|
+ <swiper-item>
|
|
|
+ <scroll-view scroll-y style="height: 100%;">
|
|
|
+ <view wx:for="{{array}}"class="swiper-box-view" wx:key="index" bindtap="open" data-row="{{item}}">
|
|
|
+ <view class="swiper-box-left">
|
|
|
+ <view>{{item.title}}</view>
|
|
|
+ <view class="swiper-box-subtitle">{{item.subtitle}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="swiper-box-right">
|
|
|
+ <view class="swiper-box-button">
|
|
|
+ <button class="mini-btn" type="warn" size="mini">{{item.Increase}}</button>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
+</view>
|
|
|
|
|
|
|
|
|
-<swiper current="{{currentTab}}" class="swiper-box" duration="300" style="height:{{winHeight - 48}}px" bindchange="bindChange">
|
|
|
- <swiper-item>
|
|
|
- <scroll-view scroll-y style="height: 100%;">
|
|
|
- <view wx:for="{{array}}"class="swiper-box-view" wx:key="index" bindtap="open" data-row="{{item}}">
|
|
|
- <view class="swiper-box-left">
|
|
|
- <view>{{item.title}}</view>
|
|
|
- <view class="swiper-box-subtitle">{{item.subtitle}}</view>
|
|
|
- </view>
|
|
|
- <view class="swiper-box-right">
|
|
|
- <view class="swiper-box-button">
|
|
|
- <button class="mini-btn" type="warn" size="mini">{{item.Increase}}</button>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </scroll-view>
|
|
|
- </swiper-item>
|
|
|
-</swiper>
|
|
|
|