water-mall/unpackage/dist/dev/mp-weixin/pagesA/fetchWater/fetchWater.wxml

1 line
3.9 KiB
Plaintext
Raw Normal View History

2024-10-11 07:13:13 +00:00
<view class="main data-v-0247d1cb"><status-nav vue-id="46b2e89b-1" backgroudColor="{{backgroudColor}}" returnColor="#fff" navBarTitle="扫码打水" titleColor="#fff" class="data-v-0247d1cb" bind:__l="__l"></status-nav><image class="page-bg data-v-0247d1cb" src="/static/public/blue-bg3.jpg" mode="widthFix"></image><block wx:if="{{ifLoading}}"><view class="user-spread content data-v-0247d1cb"><view class="fs14 u-m-b-20 flex tc white data-v-0247d1cb"><u-icon vue-id="46b2e89b-2" name="file-text" color="#fff" size="23" class="data-v-0247d1cb" bind:__l="__l"></u-icon><view class="u-m-l-10 data-v-0247d1cb">选择您要使用的水卡:</view></view><view class="main-boxs u-p-t-30 data-v-0247d1cb"><block wx:if="{{$root.g0>0}}"><view class="data-v-0247d1cb"><block wx:for="{{cardList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['user-vip','data-v-0247d1cb',item.status!='normal'?'actionType':'']}}"><view class="{{['user-assets-box','data-v-0247d1cb',index==checked?'checkSe':'']}}"><view class="user-assets-header flex row-between data-v-0247d1cb"><view class="flex nr bold data-v-0247d1cb" style="line-height:80rpx;color:#8F430E;">卡号:<text class="price-format data-v-0247d1cb" style="color:#FF2C3C;font-weight:bold;"><text style="font-size:30rpx;margin-right:2rpx;" class="data-v-0247d1cb">{{item.number}}</text></text></view><view class="white flex row-center data-v-0247d1cb"><u-radio-group vue-id="{{'46b2e89b-3-'+index}}" placement="column" value="{{checked}}" data-event-opts="{{[['^change',[['groupChange']]],['^input',[['__set_model',['','checked','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-0247d1cb" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('46b2e89b-4-'+index)+','+('46b2e89b-3-'+index)}}" name="{{index}}" activeColor="#3d9f3d" size="22" shape="circle" class="data-v-0247d1cb" bind:__l="__l"></u-radio></u-radio-group></view></view><view class="user-assets-content flex flex-wrap data-v-0247d1cb"><view class="user-item flex-col col-center data-v-0247d1cb"><tool-tip class="m-t-20 data-v-0247d1cb" style="position:absolute;right:-66rpx;" vue-id="{{'46b2e89b-5-'+index}}" id="today-profit" content="今日预估收益金额" bind:__l="__l"></tool-tip><view class="nr user-assets-name flex data-v-0247d1cb" style="color:#8F430E;">当前余额</view><view class="assets m-l-10 data-v-0247d1cb"><text class="price-format data-v-0247d1cb" style="color:#ff5200;font-weight:bold;"><text style="font-size:13px;margin-right:2rpx;" class="data-v-0247d1cb">¥</text><text style="font-size:16px;margin-left:4rpx;" class="data-v-0247d1cb">{{item.value}}</text></text></view></view><view class="user-item flex-col col-center data-v-0247d1cb"><view class="nr user-assets-name flex data-v-0247d1cb" style="color:#8F430E;">上次刷卡设备号</view><view class="assets m-l-10 data-v-0247d1cb"><text class="price-format data-v-0247d1cb" style="color:#ff5200;font-weight:bold;"><text style="font-size:13px;margin-right:2rpx;" class="data-v-0247d1cb">{{item.shopname||''}}</text></text></view></view></view></view></view></block></view></block><block wx:else><view class="kong data-v-0247d1cb"><u-empty vue-id="46b2e89b-6" mode="list" text="水卡是空的哟~" class="data-v-0247d1cb" bind:__l="__l" vue-slots="{{['default']}}"><view class="mt10 data-v-0247d1cb"><u-button vue-id="{{('46b2e89b-7')+','+('46b2e89b-6')}}" size="small" type="success" text="去添加水卡" data-event-opts="{{[['^tap',[['goPage',['/pagesA/addCard/addCard']]]]]}}" bind:tap="__e" class="data-v-0247d1cb" bind:__l="__l"></u-button></view></u-empty></view></block></view><block wx:if="{{$root.g1>0}}"><view class="custom-btn data-v-0247d1cb"><view data-event-opts="{{[['tap',[['submitForm',['$event']]]]]}}" class="{{['custom-style','data-v-0247d1cb',disabled?'huibtn':'']}}" bindtap="__e"><text class="data-v-0247d1cb">点击</text><text class="data-v-0247d1cb">打水</text></view></view></block></view></block></view>