<view class="modalDlg" wx:if="{
{showModal}}">
<view class='close_mask' bindtap="close_mask">X</view>
<input class='recharge_amount' type='text' placeholder='充值金额' maxlength="8" value='{
{recharge_amount}}'></input>
<button class='save_money' type='submit'>立即充值</button>
</view>
<button class='recharge' bindtap="submit">充值</button>
<view class="mask" catchtouchmove="preventTouchMove" wx:if="{
{showModal}}"></view>
// 点击充值弹窗
submit: function () {
this.setData({
showModal: true
})
},
preventTouchMove: function () {
},
close_mask: function () {
this.se