wpfw_ewei_wxapp/pages/member/withdraw/index.wxml
2023-02-26 08:10:18 +08:00

131 lines
7.5 KiB
Plaintext

<loading wx:if="{{!show}}">加载中...</loading>
<view class="page" wx:if="{{show}}">
<view class="fui-cell-title">
<view class="fui-cell-info" style="font-size:28rpx;color:#666;position: relative;height: 100%;line-height: 57rpx">可提现金额: ¥{{info.credit}} <text bindtap="bindAll" class="text-danger" style="position: absolute;right: 0;text-decoration: underline">全部提现</text>
</view>
</view>
<view class="fui-cell-group" style="margin-top: 0">
<view class="fui-cell-title" style="font-size:28rpx;color:#666;line-height: 57rpx">提现金额
<small wx:if="{{info.withdrawmoney>0}}">提现额度最小为: <span class="text-danger">¥{{info.withdrawmoney}}</span>
</small>
</view>
<view class="fui-cell no-border" style="padding: 0 24rpx 24rpx;">
<view class="fui-cell-label big" style="width:auto; font-size:40rpx;color: #000; ">¥</view>
<view class="fui-cell-info">
<input bindinput="moneyChange" class="fui-input money" type="digit" value="{{money==0?'':money}}"></input>
</view>
</view>
</view>
<view class="fui-cell-group">
<view class="fui-cell">
<view class="fui-cell-label">
<span class="re-g">提现方式</span>
</view>
</view>
<radio-group wx:for="{{info.type_array}}" wx:key="key">
<label bindtap="typeChange" data-name="0" wx:if="{{item.type=='0'}}">
<view class="fui-cell applyradio">
<view class="fui-cell-icon">
<image alt="" src="/static/images/icon-white/wx.png"></image>
</view>
<view class="fui-cell-info">
{{item.title}}
</view>
<view class="fui-cell-remark noremark">
<radio checked="{{checked.id==0?'checked':''}}" class="fui-radio fui-radio-danger" color="#ff5555" data-type="{{item.type}}" value="1"></radio>
</view>
</view>
</label>
<label bindtap="typeChange" data-name="1" wx:if="{{item.type=='2'}}">
<view class="fui-cell applyradio">
<view class="fui-cell-icon">
<image alt="" src="/static/images/icon-white/zfb.png"></image>
</view>
<view class="fui-cell-info">
{{item.title}}
</view>
<view class="fui-cell-remark noremark">
<radio checked="{{checked.id==2?'checked':''}}" class="fui-radio fui-radio-danger" color="#ff5555" data-type="{{item.type}}" value="1"></radio>
</view>
</view>
</label>
<block wx:if="{{checked.id==2&&item.type=='2'}}">
<view class="fui-cell">
<view class="fui-cell-label">姓名</view>
<view class="fui-cell-info">
<input bindinput="inputChange" class="fui-input" data-type="realname" max="25" placeholder="请输入姓名" type="text" value="{{info.last_data.realname}}"></input>
</view>
</view>
<view class="fui-cell">
<view class="fui-cell-label">支付宝帐号</view>
<view class="fui-cell-info">
<input bindinput="inputChange" class="fui-input" data-type="alipay" max="25" placeholder="请输入支付宝账号" value="{{info.last_data.alipay}}"></input>
</view>
</view>
<view class="fui-cell alipay-group">
<view class="fui-cell-label">确认帐号</view>
<view class="fui-cell-info">
<input bindinput="inputChange" class="fui-input" data-type="alipay1" max="25" placeholder="请确认支付宝账号" value="{{info.last_data.alipay}}"></input>
</view>
</view>
</block>
<label bindtap="typeChange" data-name="2">
<view class="fui-cell applyradio" wx:if="{{item.type=='3'}}">
<view class="fui-cell-icon">
<image alt="" src="/static/images/icon-white/yinhangka.png"></image>
</view>
<view class="fui-cell-info">
{{item.title}}
</view>
<view class="fui-cell-remark noremark">
<radio checked="{{checked.id==3?'checked':''}}" class="fui-radio fui-radio-danger" color="#ff5555" data-type="{{item.type}}" value="1"></radio>
</view>
</view>
</label>
</radio-group>
<view class="fui-cell" wx:if="{{checked.id==3}}">
<view class="fui-cell-label">姓名</view>
<view class="fui-cell-info">
<input bindinput="inputChange" class="fui-input" data-type="realname" max="25" placeholder="请输入姓名" type="text" value="{{info.last_data.realname}}"></input>
</view>
</view>
<view class="fui-cell" wx:if="{{checked.id==3}}">
<view class="fui-cell-label">
<span class="re-g">选择银行</span>
</view>
<picker bindchange="bankChange" class="fui-cell-info" range="{{info.banklist}}" rangeKey="bankname" value="{{bankCheckedIndex}}">{{bankChecked.bankname}}</picker>
<view class="fui-cell-remark"></view>
</view>
<block wx:if="{{checked.id==3}}">
<view class="fui-cell alipay-group">
<view class="fui-cell-label">开户行</view>
<view class="fui-cell-info">
<input bindinput="inputChange" class="fui-input" data-type="openbank" max="25" placeholder="请输入开户行" value="{{info.last_data.openbank}}"></input>
</view>
</view>
<view class="fui-cell alipay-group">
<view class="fui-cell-label">银行卡号</view>
<view class="fui-cell-info">
<input bindinput="inputChange" class="fui-input" data-type="bankcard" max="25" placeholder="请输入银行卡号" value="{{info.last_data.bankcard}}"></input>
</view>
</view>
<view class="fui-cell alipay-group">
<view class="fui-cell-label">确认卡号</view>
<view class="fui-cell-info">
<input bindinput="inputChange" class="fui-input" data-type="bankcard1" max="25" placeholder="请确认银行卡号" value="{{info.last_data.bankcard}}"></input>
</view>
</view>
</block>
<view class="fui-cell-title" wx:if="{{info.withdrawcharge>0}}">提现手续费为 {{info.withdrawcharge}}%</view>
<view class="fui-cell-title" wx:if="{{info.withdrawend>0}}">手续费金额在¥{{info.withdrawbegin}}到¥{{info.withdrawend}}间免收</view>
<view class="fui-cell-title charge-group" wx:if="{{chargeShow}}">本次提现将扣除手续费 ¥<text class="text-danger">{{deductionmoney}}</text>
</view>
<view class="fui-cell-title charge-group" wx:if="{{chargeShow}}">本次提现实际到账金额 ¥<span class="text-danger">{{realmoney}}</span>
</view>
</view>
<view bindtap="submit" class="btn btn-danger mtop block {{disabled?'disabled':''}}">提现</view>
<view class="fui-toast {{FoxUIToast.show?'in':'out'}}">
<view class="text">{{FoxUIToast.text}}</view>
</view>
</view>