<!--pages/joinSocialEvent/joinSocialEvent.wxml-->
<custom-navi text="圈子公告" back="{{true}}" home="{{true}}"></custom-navi>
<view class='uploadDocuments'>
  <view style='width:100%;background:#fff'>
    <view class='textTitle'>
      公告标题：
    </view>
    <input class='inputTitle' name='title' bindinput="inputTitle" value='{{title}}' />
    <view class='textTitle'>
      公告内容：
    </view>
    <textarea class='inputComment' bindinput="inputComment" value='{{comment}}'></textarea>
    <view style="width:90%;margin:10px auto;">公告图片：</view>
    <view class='uploadDocuments_img'>
      
        <view>
          <van-uploader file-list="{{ fileList }}" 
              max-count="1"
              multiple
              bind:after-read="afterRead"
              bind:before-read="beforeRead"
              use-before-read="{{ true }}"
              bind:delete="delete"/>
              <text style='font-size:12px;color:#666'>仅支持jpg格式</text>
        </view>


        <text style='font-size:14px;color:#666'></text>
    </view>
  </view>
  <view style='width:100%;display:flex;justify-content: center;'>
    <view class="actionBtn" bindtap="publish">确认发布</view>
  </view>
  <van-notify id="van-notify" />
</view>
