<!--pages/newQuanzi/newQuanzi.wxml-->
<custom-navi text="新建圈子" back="{{true}}" home="{{true}}"></custom-navi>
<view class='newQuanzi'>
  <view class='top_newQuanzi'>
    服务区域：{{servicePlace}}
    <view bindtap='reLocation'><image src='../../img/dingwei.png'></image>重新定位</view>
  </view>
  <view class='newQuanziname'>
    圈子名称：
    <view>
      <van-cell-group>
        <van-field
          value="{{ title }}"
          placeholder="请输入圈子名称"
          border="{{ false }}"
          bind:change="onInputTitle"
        />
      </van-cell-group>
    </view>
  </view>
  <view class='shenghe'>
    开启后成员加入需圈主审核<van-switch checked="{{ needCheck }}" bind:change="onChangeNeedCheck" size="16px" />
  </view>
  <view class='newQuanziImg'>
    <text style="margin-top:10px;">圈子封面：</text>
    <view>
      <van-uploader file-list="{{ fileList }}" 
              max-count="1"
              multiple
              bind:after-read="afterRead"
              bind:delete="delete"/>
    </view>
  </view>
  <view class='newQuanziComment'>
    <text style="margin-top:10px;">圈子简介：</text>
    <textarea bindinput="onInputComment" value='{{comment}}'></textarea>
  </view>
  <view class='newQuanzijianli' bindtap='circleNew1'>下一步</view>
  <van-notify id="van-notify" />
</view>
