<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
    <view slot="info" class="main" style="height:{{infoHeight}}px;">
        <view class="one" wx:key="item" wx:for="{{list}}">
            <view class="one_1">
                <view class="one_1_img">
                    <image class="one_logo1" src="{{item.logo1}}"></image>
                </view>
                <view class="one_1_text">{{item.ranks1}}</view>
            </view>
            <view class="one_2">
                <view class="one_2_1">
                    <text class="time">{{item.time}}</text>
                </view>
                <view class="one_2_2">
                    <text class="text1">{{item.score1}}</text>
                    <text class="text2">:</text>
                    <text class="text3">{{item.score2}}</text>
                </view>
                <view class="one_2_2">
                    <text class="text">{{item.state}}</text>
                </view>
            </view>
            <view class="one_3">
                <view class="one_3_img">
                    <image class="one_logo2" src="{{item.logo2}}"></image>
                </view>
                <view class="one_3_text">{{item.ranks2}}</view>
            </view>
            <view class="one_4">{{item.match}}</view>
        </view>
        <view class="two" style="height:{{infoHeight-250}}px;">
            <view class="two_title">参赛阵容</view>
            <view class="two_1" wx:key="item" wx:for="{{list1}}">
                <view class="two_1_1">
                    <image class="two_logo1" src=" {{item.logo1}}"></image>
                    <text class="two_1_text">{{item.team}}</text>
                </view>
                <view class="two_1_2" wx:key="item" wx:for="{{lists1}}">
                    <image class="two_logo2" src="{{item.tou}}"></image>
                    <text class="two_1_text">{{item.text}}</text>
                </view>
            </view>
            <view class="two_2">
                <view class="two_2_1" wx:key="item" wx:for="{{list2}}">
                    <image class="two_logo1" src="{{item.logo2}}"></image>
                    <text class="two_2_text">{{item.team}}</text>
                </view>
                <view class="two_2_2" wx:key="item" wx:for="{{lists2}}">
                    <image class="two_logo2" src="{{item.tou}}"></image>
                    <text class="two_2_text">{{item.text}}</text>
                </view>
            </view>
        </view>
        <view class="btn" bindtap="clickme">
            <button class="button">上传比分</button>
        </view>
        <view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
        <view class="modal" wx:if="{{showModal}}">
            <view class="title">
                <view class="modal_title">上传比分</view>
                <view class="go" bindtap="go">
                    <image class="cuo" src="/image/cuo.png"></image>
                </view>
            </view>

            <form catchsubmit="formSubmit" catchreset="formReset">
                <view class="modal_main">
                    <view class="modal_l">
                        <view class="modal_l1">
                            <image class="two_logo1" src="{{form.logo1}}"></image>
                            <view>{{form.team1}}</view>
                        </view>
                        <view class="modal_l2">
                            <image class="two_logo1" src="{{form.logo2}}"></image>
                            <view>{{form.team2}}</view>
                        </view>
                    </view>
                    <view class="modal_r">
                        <view class="modal_r1">
                            <input class="input" name="num1" type="number" value="{{form.num1}}" placeholder="" />
                            <text class="modal_text">积分</text>
                            <input class="input" name="num2" type="number" value="{{form.num2}}" placeholder="" />
                        </view>
                        <view class="modal_r2">
                            <input class="input" name="num3" type="number" value="{{form.num3}}" placeholder="" />
                            <text class="modal_text">积分</text>
                            <input class="input" name="num4" type="number" value="{{form.num4}}" placeholder="" />
                        </view>
                    </view>
                    <view class="modal_btn">
                        <button class="button" formType="submit">保存</button>
                    </view>
                </view>
            </form>
        </view>
    </view>
</mobile-main>