<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.name}}" bindconfirm="search" 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" bindtap="toView" data-item="{{item}}">
                        <view class="list_1">
                            <image class="image" src="{{item.logo&&item.logo.length>0?item.logo[0].url:''}}"></image>
                        </view>
                        <view class="list_2">
                            <view class="name">
                                <text class="status">{{item.status=='0'?'报名中':item.status=='1'?'报名截止':item.status=='2'?'报名结束':item.status=='3'?'发布秩序册':item.status=='4'?'比赛中':item.status=='5'?'比赛结束':'暂无'}}</text>
                                <text>{{item.name}}</text>
                            </view>
                            <view class="other">
                                <view class="other_1">
                                    <text>报名时间：</text>
                                    <text>{{item.sign_end_time}}</text>
                                </view>
                                <view class="other_1">
                                    <text>比赛时间：</text>
                                    <text>{{item.start_time}}-{{item.end_time}}</text>
                                </view>
                                <view class="other_1">
                                    <text>比赛地点：</text>
                                    <text>{{item.address}}</text>
                                </view>
                            </view>
                        </view>
                    </view>
                </view>
            </scroll-view>
        </view>
        <view class="suspension" wx:if="{{user.type=='-1'}}">
            <text class="mymatch" bindtap="toCommon" data-route="/pages/usermysign/index">报名缴费</text>
        </view>
    </view>
</mobile-main>