<!--pages/circleDetails/circleDetails.wxml-->
<custom-navi text="圈子编辑" back="{{true}}" home="{{true}}"></custom-navi>
<view class='circleDetails'>
  <view class='top_circleDetails'>
    <text>圈子头图</text>
    <view>
    <van-uploader file-list="{{ fileList }}" 
            max-count="1"
            bind:after-read="afterRead"
            bind:delete="delete"/>
    </view>
  </view>
  <view class='bot_circleDetails'>
    <text>圈子简介</text>
    <textarea bindinput="onInputIntroduction" value='{{value}}'></textarea>
    <view class='wordPic'>
      <view class='con_wordPic'>
        <van-button type="default" size='small' bindtap="plusText">文字</van-button>
        <van-button type="default" size='small' bindtap="plusImg">图片</van-button>
      </view>
    </view>

    <view class='editAreaUp'>
      <view class='topWord'>
        <text></text>文字
        <image src='../../img/up.png' bindtap="upText"></image>
        <image src='../../img/down.png' bindtap="downText"></image>
      </view>
      <textarea bindinput="onChange" value='{{value}}'></textarea>
    </view>
    <view class='editAreaDown'>
      <view class='topWord'>
        <text></text>图片
        <image src='../../img/up.png' bindtap="upImg"></image>
        <image src='../../img/down.png' bindtap="downImg"></image>
      </view>
      <view class='addPic'>
        <van-uploader file-list="{{ imageList }}" 
            max-count="3"
            multiple
            bind:after-read="afterRead1"
            bind:delete="delete1"/>
      </view>
    </view>
  </view>
  <view class='btnCircle' bindtap='btnCircle'>保存进圈</view>
</view>
<van-notify id="van-notify" />
