<!--packageB/member/love/donate/DonateIndex.wxml-->

<view class="DonateIndex">
    <view class="DonateIndexSta {{show ? 'iconNone' : 'iconshow'}}" wx:if="{{!show}}">
        <i class="iconfont {{bindStatus?'icon-all_select_active':'icon-all_filldelete'}}"></i>
        <view class="resoveStatus">{{bindStatus?'绑定成功':bindErrorTxt?bindErrorTxt:'绑定失败'}}</view>
    </view>
    <view class="donate {{!show ? 'inTO' : ''}}">
        <view class="user">
            <view class="userimg">
                <image src="{{imageUse}}"></image>
            </view>
            <span class="text">{{nickname}}</span>
        </view>
        <view class="line"></view>
        <view class="bind">
            <span class="vuser">绑定债务人</span>
            <van-field value="{{ mobile }}" placeholder="请输入债务人手机号" bind:input="bindinp" />
        </view>
        <view class="person" wx:if="{{memberShow && member}}">
            <view class="personImg">
                <image src="{{member.avatar_image}}" alt=""></image>
            </view>
            <span class="perName">{{member.username}}</span>
        </view>
        <view class="person" style="font-size: 0.69rem; color: #7b7b7b" wx:if="{{!memberShow}}">未找到该会员</view>
    </view>
    <!-- bindYzUser -->
    <view class="btn" catchtap="bindYzUser">绑定</view>
    <view class="btn" catchtap="gohome" style="margin-top:32rpx;background: #999;">不绑定，进入商城</view>
</view>