<view class="favourTitle">
    <image class="favourTitle-img" src="/static/img/favour_title.png" mode="widthFix"></image>
</view>

<view class="favourBack">
    <image class="favourBack-img" src="/static/img/favour_back.png" mode="widthFix"></image>
    <view class="favourBack-cont-title">我的{{typeArr[typeIndex].value}}</view>
    <view class="favourBack-cont">
        <view class="favourBack-cont-name">{{typeArr[typeIndex].value}}</view>
        <view class="favourBack-cont-number">
            <text>{{typeArr[typeIndex].key == 'silver' ? account.silver : account.drill}}</text>元
        </view>
    </view>

    <view class="favourCont">
        <view class="favourBlack">
            <view class="favourCont-title">赠好友消费红包</view>
            <form bindsubmit="formSubmit">
                <view class="favourCont-label">
                    <view class="favourCont-name">账户类型</view>
                    <picker class="favourCont-picker" range="{{typeArr}}" range-key="value" bindchange="typeBind">
                        <view class="tabs-text">
                            {{typeArr[typeIndex].value}}
                        </view>
                        <image src="/static/icon/rightsArrow.png"></image>
                    </picker>
                </view>
                <view class="favourCont-label">
                    <view class="favourCont-name">好友手机号</view>
                    <view class="favourCont-check">
                        <input type="number" bindinput="bindKeyInput" placeholder="输入好友手机号" />
                        <view class="favourCont-check-btn" bindtap="checkTel">校验号码</view>
                    </view>
                </view>
                <view class="favourCont-label">
                    <view class="favourCont-name">转账金额</view>
                    <input type="digit" name="amount" placeholder="请输入转账金额" />
                </view>
                <view class="favourCont-label">
                    <view class="favourCont-name">支付密码</view>
                    <input type="number" name="paypass" placeholder="请输入支付密码" password />
                </view>
                <button class="favourCont-btn" formType="submit" disabled="{{disabled}}">立即转入</button>
            </form>
        </view>
        <navigator class="favourCont-record" hover-class="none"
            url="/pages/account/account?type={{typeArr[typeIndex].key}}"><text>赠予记录</text>
        </navigator>
    </view>
</view>




<!-- 校验手机号弹出 -->
<view class="popTel-back" wx:if="{{popShow}}"></view>
<view class="popTel" wx:if="{{popShow}}">
    <view class="popTel-title">当前转入的账户信息</view>
    <view class="popTel-cont">
        <image class="popTel-head" src="{{userInfo.avatar}}"></image>
        <view class="popTel-name">{{userInfo.nickname}}</view>
    </view>
    <view class="popTel-btn" bindtap="popHide">知道了</view>
</view>