<mobile-main frameStyle="{{frameStyle}}" bind:back="back">
  <view slot="info" class="main" style="height:{{infoHeight}}px;">
    <form catchsubmit="formSubmit" catchreset="formReset">
      <view class="form" style="height:{{infoHeight-140}}px;">
        <view class="one">
          <view class="text">比赛红方logo</view>
          <image class="imgs" src="{{form.red_logo[0].url}}"></image>
        </view>
        <view class="one">
          <view class="text">比赛蓝方logo</view>
          <image class="imgs" src="{{form.blue_logo[0].url}}"></image>
        </view>
        <view class="one">
          <view class="text">比赛名称</view>
          <text class="input">{{form.match_name}}</text>
        </view>
        <view class="one">
          <view class="text">比赛红方名称</view>
          <text class="input">{{form.red_name}}</text>
        </view>
        <view class="one">
          <view class="text">比赛蓝方名称</view>
          <text class="input">{{form.blue_name}}</text>
        </view>
        <view class="one">
          <view class="text">比赛时间</view>
          <text class="input">{{form.match_time}}</text>
        </view>
        <view class="one">
          <view class="text">维护状态</view>
          <picker mode="selector" bindchange="bindCatePickerChange" value="{{cateIndex}}" range-key="type" range="{{cateArray}}">
            <view class="input">{{cateArray[cateIndex].type}}</view>
          </picker>
        </view>
      </view>
      <view class="btn-area">
        <button class="button" formType="submit">保存</button>
      </view>
    </form>
  </view>
</mobile-main>