recharge.wxml 1.3 KB

1
  1. <view class="content"><view class="top_box"><text class="yue-tit">当前余额:</text><text class="yue-num">{{"¥"+$root.f0}}</text></view><view class="line_box"></view><view class="cz_box"><view class="cz_wrap"><text class="cz_tit">¥</text><input class="cz_input" type="number" placeholder="请输入充值金额" placeholder-class="placeholder" data-event-opts="{{[['focus',[['changeNum']]],['input',[['__set_model',['','money','$event',[]]]]]]}}" value="{{money}}" bindfocus="__e" bindinput="__e"/></view><view class="zc_list_box"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['seletChange',['$0',index],[[['list','',index]]]]]]]}}" class="{{['zc_list_price',(seletNum==item.$orig.price)?'seletPrice':'']}}" bindtap="__e">{{''+item.f1+'元'}}</view></block></view></view><view class="line_box"></view><view class="cz-type"><view class="type-left"><view class="icon iconfont iconweixin"></view><view class="tit">微信充值</view></view><view class="right"><radio value="weixin" color=" #EB001C" checked="{{type=='weixin'}}"></radio></view></view><button data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['add-btn','up',(payLoding)?'active-bg':'']}}" bindtap="__e">立即充值</button></view>