<!--pages/balance_transfer/balance_transfer.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="sapn">{{ balance }}{{language['元']}}</view>
			</view>
			<view class="li info_b">
				<view class="span">受让人ID：</view>
				<input type="text" value="{{transfer_id}}" placeholder="请输入受让人ID" bindinput="transferIdinp" />
			</view>
		</view>
		<view class="transfer_sum">
			<view class="span">转账金额</view>
			<view class="sum">
				{{language['money']}}<input type="digit" value="{{info_form.transfer_money}}" placeholder="" bindinput="moneyinp" />
			</view>
		</view>
		<view class="ul personal_info" wx:if="{{memberInfo}}">
			<view class="li">
				<view class="span">昵称：</view>
				<view>{{ memberInfo.nickname }}</view>
			</view>
			<view class="li">
				<view class="span">姓名：</view>
				<view class="span">{{ memberInfo.realname }}</view>
			</view>
		</view>
		<view class="button btn" catchtap="beforeConfirm">
			确认转账
		</view>
	</view>
</view>

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

<van-dialog use-slot title="" show="{{ showConfirm }}" show-cancel-button bind:close="onClose" bind:confirm='confirm'>
	<view class="confirm-transfer-popup">
		<view class="confirm-transfer-popup-li">受让人ID：{{ transfer_id }}</view>
		<view class="confirm-transfer-popup-li">受让人昵称：{{ memberInfo.nickname }}</view>
		<view class="confirm-transfer-popup-li">受让人姓名：{{ memberInfo.realname }}</view>
		<view class="confirm-transfer-popup-li">转账金额：{{ info_form.transfer_money }}</view>
		<view class="confirm-transfer-popup-warn">您是否确定转账？</view>
	</view>
</van-dialog>