| | |
| | | <!--pages/openCard/openCard.wxml 开卡时的虚拟卡--> |
| | | <view> |
| | | <view class="container"> |
| | | |
| | | <scroll-view class="list-container" scroll-y="true" scroll-x="false"> |
| | | <block wx:for="{{allCardPoints}}" wx:key="index"> |
| | |
| | | <text class="item-balance-text">{{item.balance}}</text> |
| | | <text class="item-balance-text-yuan">元</text> |
| | | </view> |
| | | <text class="{{item.state===1?'item-button':'item-button-gray'}}" bind:tap="openValva" data-item="{{item}}">{{item.state === 1 ? '选择' : '正在使用'}}</text> |
| | | <text class="{{item.state===1?'item-button':'item-button-gray'}}" bind:tap="openValva" data-item="{{item}}">{{item.state === 1 ? '选择' : '使用中'}}</text> |
| | | </view> |
| | | |
| | | </view> |
| | | </block> |
| | | <view wx:if="{{allCardPoints.length === 0}}" class="noMore-View"> |
| | | <image class="noMore-img" src="/images/no_more.svg" /> |
| | | <text class="noMore-text">没有数据</text> |
| | | </view> |
| | | </scroll-view> |
| | | </view> |