<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  <view slot="info" class="main" style="height:{{infoHeight}}px;">
    <view class="ones">
      <view class="one">
        <view class="one_1">
          <view class="one_1_img">
            <image class="one_logo1" src="{{schedulelist.blue_logo[0].url}}"></image>
          </view>
          <view class="one_1_text textOver">{{schedulelist.blue_name}}</view>
        </view>
        <view class="one_2">
          <view class="one_2_1">
            <text class="time">{{time}}</text>
          </view>
          <view class="one_2_2">
            <text class="text1">{{schedulelist.blue_branch||0}}</text>
            <text class="text2">:</text>
            <text class="text3">{{schedulelist.red_branch||0}}</text>
          </view>
          <view class="one_2_2">
            <text class="text">{{schedulelist.status=='0'?'待开始':schedulelist.status=='1'?'开始':'结束'}}</text>
          </view>
        </view>
        <view class="one_3">
          <view class="one_3_img">
            <image class="one_logo2" src="{{schedulelist.red_logo[0].url}}"></image>
          </view>
          <view class="one_3_text textOver">{{schedulelist.red_name}}</view>
        </view>
        <view class="one_4">{{schedulelist.match_name}}</view>
      </view>
    </view>
    <view class="two">
      <view class="two1"><text class="twos">参赛阵容</text></view>
      <view class="tworight">
        <view class="two-1">
          <image class="imgs" src="{{schedulelist.blue_logo[0].url}}"></image>
          <text class="thrs textOver">{{schedulelist.blue_name}}</text>
        </view>
        <view class="two-2" wx:key="item" wx:for="{{schedulelist.blue_members}}">
          <view class="two2">
            <view class="two-left">
              <image class="img" src="{{item.icon[0].url}}"></image>
            </view>
            <view class="two-right"><text class="name textOver">{{item.nickname}}</text> </view>
          </view>
        </view>
      </view>
    </view>
    <view class="thr">
      <view class="thrright">
        <view class="thrleft">
          <view class="two-9">
            <image class="imgss" src="{{schedulelist.red_logo[0].url}}"></image>
          </view>
          <text class="thrss textOver">{{schedulelist.red_name}}</text>
        </view>
        <view class="thr-1" wx:key="item" wx:for="{{schedulelist.red_members}}">
          <view class="thr1">
            <view class="thr-left">
              <image class="img" src="{{item.icon[0].url}}"></image>
            </view>
            <view class="thr-right"><text class="names textOver">{{item.nickname}}</text> </view>
          </view>
        </view>
      </view>

    </view>
    <view class="four">
      <view class="four1">
        <text class="fours">现场照片</text>
      </view>
    </view>
    <view class="upload">
      <view class="upload_1">
        <upload list="{{fileList}}" count="{{4}}" bind:imgUpload="imgUpload" bind:imgDel="imgDel"></upload>
      </view>
    </view>
    <view class="five">
      <button class="button" bindtap="clickme">上传比分</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="{{schedulelist.blue_logo[0].url}}"></image>
              <view>{{schedulelist.blue_name}}</view>
            </view>
            <view class="modal_l2">
              <image class="two_logo1" src="{{schedulelist.red_logo[0].url}}"></image>
              <view>{{schedulelist.red_name}}</view>
            </view>
          </view>
          <view class="modal_r">
            <view class="modal_r1">
              <input class="input" name="blue_branch" type="number" value="{{form.blue_branch}}" placeholder="" />
              <text class="modal_text">比分</text>
              <input class="input" name="red_branch" type="number" value="{{form.red_branch}}" placeholder="" />
            </view>
          </view>
          <view class="modal_btn">
            <button class="button" formType="submit">保存</button>
          </view>
        </view>
      </form>
    </view>
  </view>
</mobile-main>