52 lines
3.2 KiB
Plaintext
52 lines
3.2 KiB
Plaintext
<view class="content">
|
|
<view class="block" wx:if="{{banks.length > 0}}">
|
|
<form bindsubmit="onSubmit">
|
|
<view class="bank">
|
|
<view class="bank-tabs">
|
|
<view class="item {{type == 1 ? 'active': ''}}" bind:tap="onTypeTab" data-type="1">本人银行卡</view>
|
|
<view class="item {{type == 2 ? 'active': ''}}" bind:tap="onTypeTab" data-type="2">非本人银行卡</view>
|
|
</view>
|
|
<view class="bank-input">
|
|
<label>开户银行</label>
|
|
<picker class="banks-picker" range="{{banks}}" range-key="name" value="{{bankVal}}" disabled="{{isDisabled}}" bindchange="bankChange" >
|
|
<view class="banks-text {{bankVal === 0 ? 'gray' : ''}}">
|
|
{{banks[bankVal].name}}
|
|
<image class="banks-icon" src="/static/icons/arrow_more.png" mode="widthFix"></image>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<view class="bank-input">
|
|
<label>银行卡号</label>
|
|
<input type="number" placeholder="输入银行卡号" name="bankNo" value="{{bankNo}}" disabled="{{isDisabled}}" maxlength="20" />
|
|
</view>
|
|
<view class="bank-input">
|
|
<label>预留手机</label>
|
|
<input type="number" placeholder="输入开户预留手机号" name="mobile" value="{{mobile}}" disabled="{{isDisabled}}" maxlength="11" />
|
|
</view>
|
|
<view class="bank-input">
|
|
<label>持卡人</label>
|
|
<input type="text" placeholder="输入持卡人真实姓名" name="name" value="{{name}}" disabled="{{isDisabled || type == 1}}" maxlength="15" />
|
|
</view>
|
|
<view class="bank-input" wx:if="{{type == 2}}">
|
|
<label>身份证号</label>
|
|
<input type="idcard" placeholder="输入开户人身份证号" name="idcard" value="{{idcard}}" disabled="{{isDisabled}}" maxlength="18" />
|
|
</view>
|
|
</view>
|
|
<view class="cny">
|
|
<view class="bank-from">
|
|
<view class="block-title">提现金额</view>
|
|
<view class="cny-title"><text wx:if="{{min >= 1}}">最小提现金额:{{min}}元,</text><text>提现手续费{{rate}}%</text></view>
|
|
<view class="cny-input">
|
|
<label>¥</label>
|
|
<input placeholder="0.00" type="number" name="amount" value="{{amount}}" bindinput="onInput" />
|
|
</view>
|
|
<view class="cny-balance" wx:if="{{!greater}}">当前账户余额{{balance}}<text bind:tap="onAll">全部提现</text></view>
|
|
<view class="cny-balance red" wx:else>输入金额超过账户余额</view>
|
|
</view>
|
|
<button class="cny-btn" size="default" disabled="{{greater}}" form-type="submit">申请提现</button>
|
|
</view>
|
|
</form>
|
|
</view>
|
|
<!-- 提醒信息 -->
|
|
<view class="hint">后台提现管理时间 上午11:00-12:00 下午17:00-18:00</view>
|
|
</view> |