<!-- pages/balance_withdrawals/balance_withdrawals.wxml -->
<view class="balance_recharge">
		<view class="content">
				<view class="ul transfer_info">
						<view class="li info_a">
								<view class="span">可提现{{ balanceLang }}：</view>
								<view class="span">{{ balance }}{{language['元']}}</view>
						</view>
				</view>
				<view class="transfer_sum">
						<view class="span">{{ supplier ? (poundage_name?poundage_name:"手续费"):(mailLanguage.income&&mailLanguage.income.name_of_withdrawal?mailLanguage.income.name_of_withdrawal+'金额':'提现金额') }}</view>
						<view class="sum">
								{{language['money']}}
								<input type="digit" wx:if="{{!supplier}}" value="{{info_form.balance_money}}" placeholder="0.00" bindinput="balanceMoneyinp" />
								<input type="digit" wx:if="{{supplier}}" value="{{service_money}}" disabled />
						</view>
						<view class="p">{{ poundage }}</view>
				</view>
				<view class="recharge_way">
						<view class="h1">{{mailLanguage.income&&mailLanguage.income.name_of_withdrawal?mailLanguage.income.name_of_withdrawal:'提现'}}到</view>
						<view class="ul choose_box">
								<view class="li" wx:if="{{withdrawToWechat}}" data-num="1" catchtap="confirm">
										<icon class="iconfont icon-balance_i"></icon>
										微信
								</view>
								<view class="li" wx:if="{{withdrawToAlipay}}" data-num="2" catchtap="confirm">
										<icon class="iconfont icon-balance_j"></icon>
										支付宝
								</view>
								<view class="li" wx:if="{{withdrawToManual}}" data-num="3" catchtap="confirm">
										<icon class="iconfont icon-balance_e"></icon>
										{{manual_name}}
								</view>
								<view class="li" wx:if="{{eupshow}}" data-num="4" catchtap="confirm">
										<icon class="iconfont icon-balance_g"></icon>
										EUP提出
								</view>
								<view class="li" wx:if="{{hxShow}}" data-num="5" catchtap="confirm">
										<icon class="iconfont icon-balance_f"></icon>
										银行卡
								</view>
								<view class="li" wx:if="{{converge_pay}}" data-num="6" catchtap="confirm">
										<icon class="iconfont icon-balance_h"></icon>
										提现到银行卡-HJ
								</view>
								<view catchtap="towithdrawal" wx:for-index="index" wx:key="index" wx:for-item="type" data-index="{{index}}" wx:for="{{withdrawType}}">
										<icon class="iconfont"></icon>
										{{ type }}
								</view>
						</view>
				</view>
		</view>
		<van-popup show="{{show2}}" position="bottom" bind:close="show1CloseBtn">
				<view class="withdrawal_box">
						<van-icon name="arrow-left" style="display: inline-block;text-align: left; font-size: 24px;float: left;line-height: 2.875rem; height: 2.875rem;padding-left: 10px;" catchtap="backTap" />
						<view class="h2" style="text-align:center;">提现</view>
						<view class="recharge_way" style="font-size:24px;">
								<view style="display: flex;align-items: center;justify-content: space-between;width:100%;padding-left:40rpx;" catchtap="gotoList">
										<view class="h2" style="text-align: left;">{{ checkObj.bankName }}</view>
										<van-icon name="arrow" style="font-size:24px;margin-right:40rpx;" />
								</view>
								<view class="choose_box ul">
										<view class="li" style="display:flex;justify-content: space-between;font-size:14px;">
												<view class="span">提现金额({{language['元']}})</view>
												<view class="span">{{cost_money}}</view>
										</view>
										<view class="li" style="display:flex;justify-content: space-between;">
												<view class="span">{{(poundage_name?poundage_name:"手续费")}}({{language['元']}})</view>
												<view class="span">{{poundageHj}}</view>
										</view>
										<view class="li" style="display:flex;justify-content: space-between;">
												<view class="span">实际到账({{language['元']}})</view>
												<view class="span">{{actual_amount}}</view>
										</view>
								</view>
						</view>
						<button type="button" class="btn custom_color" catchtap="withGotiem">确认提现</button>
				</view>
		</van-popup>
		<van-popup show="{{show3}}" custom-style="height:45%;overflow-y:scroll;" position="bottom" bind:close="show1CloseBtn">
				<view class="withdrawal_box">
						<van-icon name="arrow-left" style="display: inline-block;text-align: left; font-size: 24px;float: left;line-height: 2.875rem; height: 2.875rem;padding-left: 10px;" catchtap="backGo" />
						<view class="h2" style="text-align:center;display:inline-block;margin-left:235rpx;">
								银行卡列表
						</view>
						<icon class="iconfont icon-close11" style="display: inline-block; float: right;line-height: 2.875rem; height: 2.875rem;padding-right: 10px;" catchtap="show1CloseBtn"></icon>
						<view class="recharge_way">
								<view class="choose_box ul">
										<view style="font-size:32rpx;display:flex;align-items:center;justify-content:space-between;width:95%;margin:10px 0px 10px 10px;" wx:for="{{withList}}" wx:key="item" data-item="{{item}}" catchtap="checkOut">
												<view>
														<view class="span">{{ item.bankName }}</view>
												</view>
												<van-checkbox value="{{item.check}}" checked-color="#f45054" bind:change="onChange"></van-checkbox>
										</view>
								</view>
						</view>
				</view>
		</van-popup>
</view>


<pay-keyboard show="{{payKeyboardShow}}" wx:if="{{payKeyboardShow}}" bindclose="payKeyboardClose" bindcomplete="payKeyboardComplete"></pay-keyboard>