user_withdraw.wxml 5.2 KB

1
  1. <view class="{{[themeName]}}"><view class="withdraw"><view class="withdraw-header m-b-24"><block wx:if="{{withdrawData.type!=undefined}}"><u-tabs vue-id="6ab27ac3-1" list="{{withdrawData.type}}" active-color="{{themeColor}}" is-scroll="{{true}}" current="{{current}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" bind:__l="__l"></u-tabs></block></view><block wx:if="{{withdrawData.type[current]!=undefined}}"><block wx:if="{{withdrawData.type[current].value==4}}"><view class="withdraw-other m-b-24"><u-field bind:input="__e" vue-id="6ab27ac3-2" label-width="160" label="微信账号" placeholder="请输入微信账号" value="{{withdraw.account}}" data-event-opts="{{[['^input',[['__set_model',['$0','account','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-3" label-width="160" label="真实姓名" placeholder="请输入真实姓名" value="{{withdraw.real_name}}" data-event-opts="{{[['^input',[['__set_model',['$0','real_name','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-4" label-width="160" label="备注" placeholder="(选填)" value="{{withdraw.apply_remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','apply_remark','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><view class="m-t-20"><uploader bind:input="__e" vue-id="6ab27ac3-5" tips="微信收款码" value="{{withdraw.money_qr_code}}" data-event-opts="{{[['^input',[['__set_model',['$0','money_qr_code','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></uploader></view></view></block></block><block wx:if="{{withdrawData.type[current]!=undefined}}"><block wx:if="{{withdrawData.type[current].value==5}}"><view class="withdraw-other m-b-24"><u-field bind:input="__e" vue-id="6ab27ac3-6" label-width="160" label="支付宝账号" placeholder="请输入支付宝账号" value="{{withdraw.account}}" data-event-opts="{{[['^input',[['__set_model',['$0','account','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-7" label-width="160" label="真实姓名" placeholder="请输入真实姓名" value="{{withdraw.real_name}}" data-event-opts="{{[['^input',[['__set_model',['$0','real_name','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-8" label-width="160" label="备注" placeholder="(选填)" value="{{withdraw.apply_remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','apply_remark','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><view class="m-t-20"><uploader bind:input="__e" vue-id="6ab27ac3-9" tips="支付宝收款码" value="{{withdraw.money_qr_code}}" data-event-opts="{{[['^input',[['__set_model',['$0','money_qr_code','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></uploader></view></view></block></block><block wx:if="{{withdrawData.type[current]!=undefined}}"><block wx:if="{{withdrawData.type[current].value==3}}"><view class="withdraw-other m-b-24"><u-field bind:input="__e" vue-id="6ab27ac3-10" label-width="160" label="银行卡账号" placeholder="请输入银行卡账号" value="{{withdraw.account}}" data-event-opts="{{[['^input',[['__set_model',['$0','account','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-11" label-width="160" label="持卡人姓名" placeholder="请输入持卡人姓名" value="{{withdraw.real_name}}" data-event-opts="{{[['^input',[['__set_model',['$0','real_name','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-12" label-width="160" label="提现银行" placeholder="请输入银行名称" value="{{withdraw.bank}}" data-event-opts="{{[['^input',[['__set_model',['$0','bank','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-13" label-width="160" label="银行支行" placeholder="如: 金湾银行" value="{{withdraw.subbank}}" data-event-opts="{{[['^input',[['__set_model',['$0','subbank','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field><u-field bind:input="__e" vue-id="6ab27ac3-14" label-width="160" label="备注" placeholder="(选填)" value="{{withdraw.apply_remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','apply_remark','$event',[]],['withdraw']]]]]}}" bind:__l="__l"></u-field></view></block></block><view class="withdraw-content"><view class="input flex row-between"><view class="flex flex-1"><text>¥</text><input type="digit" placeholder="0.00" data-event-opts="{{[['input',[['__set_model',['$0','money','$event',[]],['withdraw']]]]]}}" value="{{withdraw.money}}" bindinput="__e"/></view><view class="xs"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="all-withdraw flex row-right" bindtap="__e">全部提现</text><view class="muted m-t-10">{{"可提现余额¥"+withdrawData.able_withdraw}}</view></view></view><view class="m-t-30 xs muted">{{'提示: 提现需扣除手续费'+withdrawData.percentage+'%'}}</view></view><view data-event-opts="{{[['tap',[['withdrawFun',['']]]]]}}" class="withdraw-btn flex row-center br60 lg white" bindtap="__e">确认提现</view><view data-event-opts="{{[['tap',[['goPage',['/bundle/pages/withdraw_record/withdraw_record']]]]]}}" class="m-t-30 muted sm flex row-center" bindtap="__e">提现记录</view></view></view>