<!--pages/joinSocialEvent/joinSocialEvent.wxml-->
<custom-navi text="社会实践" back="{{true}}" home="{{true}}"></custom-navi>
<view class='uploadDocuments'>
  <view style='width:100%;background:#fff'>
    <view class='uploadDocuments_title'>活动名称：<text>{{eventTitle}}</text></view>
    <view class='uploadDocuments_ganwu'>
      活动感悟：
    </view>
    <textarea class='inpGanwu' bindinput="inputComment" value='{{comment}}'></textarea>
    <view style="width:90%;margin:10px auto;">活动图片：<text style='font-size:12px;color:red'>（3张即可）</text></view>
    <view class='uploadDocuments_img'>
      
        <view>
          <van-uploader file-list="{{ fileList1 }}" 
              max-count="1"
              multiple
              bind:after-read="afterRead1"
              bind:before-read="beforeRead1"
              use-before-read="{{ true }}"
              bind:delete="delete1"/>
              <text style='font-size:12px;color:#666'>仅支持jpg格式</text>
        </view>
        <view>
          <van-uploader file-list="{{ fileList2 }}" 
              max-count="1"
              multiple
              bind:after-read="afterRead2"
              bind:before-read="beforeRead2"
              use-before-read="{{ true }}"
              bind:delete="delete2"/>
              <text style='font-size:12px;color:#666'>仅支持jpg格式</text>
        </view>
        <view>
          <van-uploader file-list="{{ fileList3 }}" 
              max-count="1"
              multiple
              bind:after-read="afterRead3"
              bind:before-read="beforeRead3"
              use-before-read="{{ true }}"
              bind:delete="delete3"/>
              <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="upload">确认上传</view>
  </view>
  <van-notify id="van-notify" />
</view>
