<view class="new-team">
  <view class="row img-row avatar-row">
    <view class="row-title">团队头像：</view>
    <view class="row-text avatar" bindtap="uploadPhoto" wx:if="{{photo}}">
      <image src="{{photo}}" class="row-img"></image>
    </view>
    <view class="row-text" wx:else bindtap="uploadPhoto">
      点击上传
    </view>
  </view>
  <view class="row">
    <view class="row-title">团队名称：</view>
    <view class="row-text">
      <input placeholder="请输入团队名称" model:value="{{teamName}}"></input>
    </view>
  </view>
  <view class="row">
    <view class="row-title">人数限制：</view>
    <view class="row-text">
      <input placeholder="请输入人数限制" model:value="{{count}}"></input>
    </view>
  </view>
  <view class="row">
    <view class="row-title">团队口号：</view>
    <view class="row-text">
      <input placeholder="请输入团队口号" model:value="{{teamWatchword}}"></input>
    </view>
  </view>
  <view class="row">
    <view class="row-title">市：</view>
    <view class="row-text">
      <picker bindchange="cityChange" value="{{teamCityIndex}}" range="{{teamCityArray}}">
        <view class="picker">
          {{teamCityArray[teamCityIndex]}}
        </view>
      </picker>
    </view>
  </view>
  <view class="row" hidden="{{countyShowStatus}}">
    <view class="row-title">旗县区：</view>
    <view class="row-text">
      <picker bindchange="countyChange" value="{{teamCountyIndex}}" range="{{teamCountyArray}}">
        <view class="picker">
          {{teamCountyArray[teamCountyIndex]}}
        </view>
      </picker>
    </view>
  </view>
  <view class="row" hidden="{{areaShowStatus}}">
    <view class="row-title">乡镇村：</view>
    <view class="row-text">
      <picker bindchange="areaChange" value="{{teamAreaIndex}}" range="{{teamAreaArray}}">
        <view class="picker">
          {{teamAreaArray[teamAreaIndex]}}
        </view>
      </picker>
    </view>
  </view>
  <view class="row intro">
    <view class="row-title">团队介绍：</view>
    <view class="row-text">
      <textarea placeholder="请输入团队介绍" model:value="{{content}}"></textarea>
    </view>
  </view>
</view>
<view class="create">
  <view class="agree">
    <checkbox-group bindchange="changeAgree">
      <label>
        <checkbox value="{{isAgree}}" checked="{{isAgree}}" color="#9F1512" class="agree-checkbox"/>我已阅读并同意<text class="agreement" style="color: red;" data-type="team" bindtap="userAgree">《团队注册服务协议》</text>
      </label>
    </checkbox-group>
  </view>
  <view class="create-btn" bindtap="submitRegister">
    立即注册
  </view>
</view>