Commit 74544288db098e46b1ea1c570ffb210d3b0ee52e
1 parent
8888a5d4
列表的数量,和点击跳转
Showing
1 changed file
with
3 additions
and
3 deletions
pages/user/deposit/prepaid/prepaid.wxml
1 | 1 | <block wx:for="{{perpaid}}" wx:for-index="idx" wx:for-item="perpaid"> |
2 | - <view class="coupon-container" wx:if="{{perpaid.NewSum>0}}"> | |
2 | + <view class="coupon-container" wx:if="{{perpaid.NewSum>0 || perpaid.NewSum=='' }}"> | |
3 | 3 | <image wx:if="{{idx % 4 == 0}}" class="picture" src="{{iurl+'miniapp/images/usermoney/green.png'}}"></image> |
4 | 4 | <image wx:if="{{idx % 4 == 1}}" class="picture" src="{{iurl+'miniapp/images/usermoney/red.png'}}"></image> |
5 | 5 | <image wx:if="{{idx % 4 == 2}}" class="picture" src="{{iurl+'miniapp/images/usermoney/yellow.png'}}"></image> |
6 | 6 | <image wx:if="{{idx % 4 == 3}}" class="picture" src="{{iurl+'miniapp/images/usermoney/blue.png'}}"></image> |
7 | 7 | <view class="info-container flex"> |
8 | - <view class="left" catchtap="go_detail" data-id="{{perpaid.Id}}"> | |
8 | + <view class="left" > | |
9 | 9 | <view>{{perpaid.ItemName}}</view> |
10 | 10 | <view class="pdv20">充{{perpaid.BeginSum}} |
11 | 11 | <text>送{{perpaid.NewSum}}元</text> |
12 | 12 | </view> |
13 | - <view wx:if="{{perpaid.ItemType==2}}">充值送大礼 ></view> | |
13 | + <view wx:if="{{perpaid.ItemType==2}}" catchtap="go_detail" data-id="{{perpaid.Id}}">充值送大礼 ></view> | |
14 | 14 | </view> |
15 | 15 | <view class="right">备注: |
16 | 16 | <view class="">{{perpaid.ItemName}}</view> | ... | ... |