mall-laonong/unpackage/dist/dev/mp-weixin/pagesA/recharge/recharge.wxml

1 line
2.1 KiB
Plaintext
Raw Normal View History

2022-07-31 02:14:22 +00:00
<block wx:if="{{isLoading}}"><view class="pad-x170"><status-nav vue-id="7d2a92db-1" ifReturn="{{true}}" navBarTitle="我的余额" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="recharge border-box"><view class="recharge-msg radius30 border-box"><view class="txt flex"><text class="font30">我的余额</text><text class="font24">余额可用于购物使用</text></view><view class="price font60"><text class="font48">¥</text>{{balance}}</view></view></view><view class="recharge-amount border-box pad-all20 mar-s20"><view class="recharge-title font30 flex"><view class="line background-orange"></view><text>充值金额</text></view><view class="amount-list flex"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeAmount',[index]]]]]}}" class="{{['amount-item','border-box','radius20','mar-s25',index==amountIndex?'checked':'']}}" bindtap="__e"><view class="font48 mar-s15">{{item.m0+"元"}}</view><text class="font24">{{"售价"+item.m1+"元"}}</text></view></block></view></view><view class="recharge-detailed border-box pad-all20 mar-s20"><view class="recharge-title font30 flex"><view class="line background-orange"></view><text>消费明细</text></view><view class="detailed-list"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="detailed-item font30 border-box pad-sx20 flex"><view class="txt"><view class="name mar-x10">{{item.$orig.title}}</view><view class="time font24 color-99">{{item.$orig.create_time}}</view></view><view class="{{['price',item.m2<0?'color-red':'']}}">{{item.$orig.money}}</view></view></block></view></view><view class="pull-footer-bg background-white pad-all20 radius30 border-box"><view class="pull-footer background-grey radius30 pad-all20 border-box flex"><view class="price color-ff" style="margin-left:24rpx;"><view class="font60 flex">{{"¥"+amountPrice}}</view></view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn font36 color-48 background-orange radius30 flex" bindtap="__e">确认充值</view></view></view></view></block>