You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
high-mini/unpackage/dist/dev/mp-weixin/pages/user/deposit/deposit.wxml

1 line
1.4 KiB

<view><view class="block"><view class="content"><view class="my">{{'我的账户余额: '+user.gold+' 个 ( 1:100)'}}</view></view></view><view class="block"><view class="title">充值金额</view><view class="content"><view class="amount"><view class="list"><block wx:for="{{amountList}}" wx:for-item="amount" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['select',['$0'],[[['amountList','',index]]]]]]]}}" class="{{['box',(amount==inputAmount)?'on':'']}}" bindtap="__e">{{''+amount+'元'}}</view></block></view><view class="num"><view class="text">自定义充值金额</view><view class="input"><input type="number" data-event-opts="{{[['input',[['__set_model',['','inputAmount','$event',[]]]]]]}}" value="{{inputAmount}}" bindinput="__e"/></view></view></view></view></view><view class="block"><view class="title">选择支付方式</view><view class="content"><view class="pay-list"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="row" bindtap="__e"><view class="left"><image src="/static/img/wxpay.png"></image></view><view class="center">微信支付</view><view class="right"><radio checked="{{paytype=='wxpay'}}" color="#f06c7a"></radio></view></view></view></view></view><view class="pay"><button data-event-opts="{{[['tap',[['doDeposit',['$event']]]]]}}" class="btn" bindtap="__e">立即充值</button><view class="tis">点击立即充值,即代表您同意<view class="terms">《条款协议》</view></view></view></view>