<mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
    <view slot="info" class="container main">
        <view class="zero one">
            <input type="text" value="{{searchInfo.teammate_name}}" placeholder="请输入队友姓名" />
        </view>
        <view class="zero 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="time">{{item.apply_time}}</view>
                        <view class="other">
                            <view class="other_1">
                                <text>队友姓名：</text>
                                <text>{{item.teammate_name||'暂无'}}</text>
                            </view>
                            <view class="other_1">
                                <text>申请状态：</text>
                                <text>{{item.status=='0'?'待审中':item.status=='1'?'审核通过':'审核拒绝'}}</text>
                            </view>
                        </view>
                        <view class="btn">
                            <button type="primary" size="mini" bindtap="toView" data-item="{{item}}">详细信息</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>赛事名称：</text>
                <text>{{info.match_name||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text>赛事组别：</text>
                <text>{{info.grouping_name||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text>组内项目：</text>
                <text>{{info.project_name||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text>申请用户姓名：</text>
                <text>{{info.applyuser_name||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text>队友姓名：</text>
                <text>{{info.teammate_name||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text>申请时间：</text>
                <text>{{info.apply_time||'暂无'}}</text>
            </view>
            <view class="one_1">
                <text>审核状态：</text>
                <text>{{info.status=='0'?'待审中':info.status=='1'?'审核通过':'审核拒绝'}}</text>
            </view>
        </view>
    </view>
</e-dialog>