<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="main" style="height:{{infoHeight}}px;">
        <view class="one">
            <view class="list" wx:for="{{list}}" wx:key="item">
                <view class="list_1">
                    <view class="list_1_1 textOver">
                        <text>{{item.apply_user}}</text>
                        <text>{{item.status=='1'?'已通过':item.status=='0'?'待通过':'已驳回'}}</text>
                    </view>
                    <view class="list_1_2">申请时间：{{item.apply_time}}</view>
                </view>
                <view class="list_2">
                    <button type="warn" size="mini" wx:if="{{item.status=='0'}}" bindtap="toCheck" data-id="{{item._id}}" data-userid="{{item.apply_id}}" data-status="-1">驳回</button>
                    <button type="primary" size="mini" wx:if="{{item.status=='0'}}" bindtap="toCheck" data-id="{{item._id}}" data-userid="{{item.apply_id}}" data-status="1">通过</button>
                    <button size="mini" bindtap="toView" data-userid="{{item.apply_id}}" data-id="{{item._id}}">信息</button>
                </view>
            </view>
        </view>
    </view>
</mobile-main>
<van-dialog use-slot title="详细信息" show="{{ show }}" :showCancelButton="{{false}}" confirmButtonText="返回" :closeOnClickOverlay="{{false}}">
    <view class="two_0">
        <text class="text">头像：</text>
        <image src="{{details.icon[0].url}}" class="image"></image>
    </view>
    <view class="two">
        <text class="text">名称：</text>
        <text class="text1">{{details.nickname}}</text>
    </view>
    <view class="two">
        <text class="text">电话:</text>
        <text class="text1">{{details.phone}}</text>
    </view>
    <view class="two">
        <text class="text">性别:</text>
        <text class="text1">{{details.gender}}</text>
    </view>
    <view class="two">
        <text class="text">岗位：</text>
        <text class="text1">{{details.work}}</text>
    </view>
    <view class="two">
        <text class="text">邮箱:</text>
        <text class="text1">{{details.email}}</text>
    </view>
</van-dialog>