oil-station/gasStation-uni/unpackage/dist/dev/mp-weixin/pagesMy/CardManagement/CardManagement.wxml

1 line
3.9 KiB
Plaintext
Raw Normal View History

2024-08-16 18:26:19 +08:00
<view class="content data-v-54ce33b2"><view class="container data-v-54ce33b2"><view class="my-header data-v-54ce33b2"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="my-icons data-v-54ce33b2" bindtap="__e"><uni-icons vue-id="44f8c394-1" type="left" size="16" class="data-v-54ce33b2" bind:__l="__l"></uni-icons></view><view class="my-text data-v-54ce33b2">子卡管理</view><view class="my-icons data-v-54ce33b2"></view></view><view class="tap-top data-v-54ce33b2"><block wx:for="{{tapList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapindex',[index]]]]]}}" class="{{['tap-box','data-v-54ce33b2',(tindex==index)?'act':'']}}" bindtap="__e"><view class="data-v-54ce33b2">{{item.text}}</view><view class="{{['gang','data-v-54ce33b2',(tindex==index)?'lan':'']}}"></view></view></block></view><block wx:if="{{tindex==0}}"><view class="data-v-54ce33b2"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toCheck',['$0'],[[['list','id',item.id,'cardChildPhones']]]]]]]}}" class="hong-card data-v-54ce33b2" bindtap="__e"><view class="top-hang data-v-54ce33b2"><view class="hgang data-v-54ce33b2"></view><view class="data-v-54ce33b2">{{store.name+(store.description?"("+store.description+")":"")}}</view></view><view class="title-box data-v-54ce33b2">储值卡</view><view class="red-bottom data-v-54ce33b2"><view class="x-size data-v-54ce33b2"><view class="data-v-54ce33b2">子卡手机号</view><view class="data-v-54ce33b2">{{item.cardChildPhones}}</view></view><view class="r-anniu data-v-54ce33b2"><label class="_span data-v-54ce33b2">查看订单</label></view></view></view></block><view data-event-opts="{{[['tap',[['goDetail']]]]}}" class="x_anniu data-v-54ce33b2" bindtap="__e"><uni-icons vue-id="44f8c394-2" type="plusempty" color="#fff" size="30" class="data-v-54ce33b2" bind:__l="__l"></uni-icons></view><block wx:if="{{$root.g0==0}}"><u-empty vue-id="44f8c394-3" mode="coupon" text="内容为空" icon="http://cdn.uviewui.com/uview/empty/coupon.png" class="data-v-54ce33b2" bind:__l="__l"></u-empty></block></view></block><block wx:if="{{tindex==1}}"><view class="data-v-54ce33b2"><scroll-view style="height:78vh;" scroll-y="true" scroll-top="{{scrollTop}}" id="scrollList" data-event-opts="{{[['scrolltolower',[['scrolltolower',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-54ce33b2"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="box-order data-v-54ce33b2"><view class="or-box-top data-v-54ce33b2"><view class="data-v-54ce33b2">{{store.name}}</view><block wx:if="{{item.status=='paid'}}"><view class="chengg data-v-54ce33b2">已支付</view></block><block wx:else><block wx:if="{{item.status=='payFail'}}"><view class="chengg data-v-54ce33b2">支付失败</view></block><block wx:else><view class="chengg data-v-54ce33b2">未支付</view></block></block></view><view class="but-box data-v-54ce33b2"><view class="huis data-v-54ce33b2">订单金额</view><view class="data-v-54ce33b2">{{"¥"+item.amount}}</view></view><view class="but-box data-v-54ce33b2"><view class="huis data-v-54ce33b2">支付金额</view><view class="reds data-v-54ce33b2">{{"¥"+item.payAmount}}</view></view><view class="but-box data-v-54ce33b2"><view class="huis data-v-54ce33b2">订单时间</view><block wx:if="{{item.orderStatus=='paid'}}"><view class="data-v-54ce33b2">{{item.payTime}}</view></block><block wx:else><view class="data-v-54ce33b2">{{item.createTime}}</view></block></view><view class="but-box data-v-54ce33b2"><view class="huis data-v-54ce33b2">订单备注</view><view class="data-v-54ce33b2">{{item.remark}}</view></view></view></block><block wx:if="{{$root.g1==0}}"><u-empty vue-id="44f8c394-4" mode="coupon" text="内容为空" icon="http://cdn.uviewui.com/uview/empty/coupon.png" class="data-v-54ce33b2" bind:__l="__l"></u-empty></block></scroll-view></view></block></view></view>