<!--package_mine/pages/myId/index.wxml-->
<view class="myid_container">
    <view class="records_box" wx:if="{{records}}">
        <view class="record_title">您当前申请的身份</view>
        <view class="record_card">
            <image wx:if="{{records.status === 1}}" class="approve_bg" mode="widthFix" src="../../../assets/img/approveing.png"></image>
            <image wx:if="{{records.status === 2}}" class="approve_bg" mode="widthFix" src="../../../assets/img/passed.png"></image>
            <image wx:if="{{records.status === 3}}" class="approve_bg" mode="widthFix" src="../../../assets/img/failed.png"></image>
            <view class="record_info">
                <view class="massage_box">
                   <text class="info_name" style="font-size: 30rpx;font-weight: bold;">{{records.applyIdentityName}}</text>
                   <text class="info_content" style="font-size: 22rpx;margin-top: 30rpx;">{{records.identityRemark}}</text>
                </view>
                <view wx:if="{{records.status === 1}}" class="execute_btn" style="background-color: #05E4AF;">申请中</view>
                <view wx:if="{{records.status === 2}}" class="execute_btn" style="background-color: #2B83E4;">申请通过</view>
                <view wx:if="{{records.status === 3}}" class="execute_btn" style="background-color: #FF2D2D;">申请不通过</view>
            </view>
        </view>
        <view class="btn_units">
            <view wx:if="{{records.status !== 1}}" class="re_approve" bindtap="reApprove">重新申请</view>
        </view>
    </view>

    <view class="empty_box" wx:else>
        <image class="success_img" src="../../../assets/img/unapprove.png" mode="widthFix"></image>
        <view class="tips_text">您当前还未申请身份， 请返回“我的”页面申请身份！</view>
        <view class="return_btn" bindtap="returnList">我知道了</view>
    </view>


</view>
