<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="container main">
        <view class="one">
            <input type="text" value="{{searchInfo.name}}" bindconfirm="search" placeholder="请输入用户姓名" />
        </view>
        <view class="two">
            <scroll-view scroll-y="true" class="scroll-view">
                <view class="list-scroll-view">
                    <view class="list" wx:for="{{list}}" wx:key="item">
                        <view class="name textOver">{{item.name||'暂无'}}</view>
                        <view class="other">
                            <view class="other_1"><text>用户类型：</text><text>{{item.type=='-1'?'管理员':item.type=='0'?'个人用户':item.type=='1'?'裁判用户':'暂无'}}</text></view>
                            <view class="other_1"><text>手机号：</text><text>{{item.phone||'暂无'}}</text></view>
                            <view class="other_1"><text>邮箱：</text><text>{{item.email||'暂无'}}</text></view>
                        </view>
                        <view class="btn">
                            <button size="mini" type="primary" bindtap="toView" data-openid="{{item.openid}}">详情</button>
                        </view>
                    </view>
                </view>
            </scroll-view>
        </view>
    </view>
</mobile-main>
<e-dialog dialog="{{dialog}}" bind:toClose="toClose">
    <view slot="info">
        <view class="dialog_one" wx:if="{{dialog.type=='1'}}">
            <view class="one_1">
                <text class="text">头像：</text>
                <image class="image" src="{{info.icon[0].url}}"></image>
            </view>
            <view class="one_1">
                <text class="text">用户名：</text>
                <text class="text1">{{info.name||'暂无昵称'}}</text>
            </view>
            <view class="one_1">
                <text class="text">电话：</text>
                <text class="text1">{{info.phone||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text class="text">性别：</text>
                <text class="text1">{{info.gender||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text class="text">身份证号：</text>
                <text class="text1">{{info.card||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text class="text">邮箱：</text>
                <text class="text1">{{info.email||'暂无'}}</text>
            </view>
        </view>
    </view>
</e-dialog>