<view class="page">
<view class="page__bd">
        <view class="weui-cells">
            <view class="weui-cell">
                <view class="weui-cell__bd">
                    <view class="weui-uploader">
                        <view class="weui-uploader__hd">
                          <view class="weui-uploader__overview">
                              <view class="weui-uploader__title">签到表图片</view>
                              <!-- <view class="weui-uploader__info">{{files.length}}/2</view> -->
                          </view>
                          <view class="weui-uploader__tips">
                            长按删除
                          </view>
                        </view>
                        <view class="weui-uploader__bd">
                            <view class="weui-uploader__files" id="uploaderFiles">
                                <block wx:for="{{qdimgs}}" wx:key="*this">
                                    <view class="weui-uploader__file" bindtap="previewImage" id="{{item}}" data-type="qdimgs" bindlongpress="deleteImg"
                                    data-index="{{index}}">
                                        <image class="weui-uploader__img" src="{{item}}" mode="aspectFill" />
                                    </view>
                                </block>
                            </view>
                            <view class="weui-uploader__input-box">
                                <view class="weui-uploader__input" bindtap="chooseImage" data-type="qdimgs"></view>
                            </view>
                        </view>
                    </view>
                </view>
            </view>
            <view class="weui-cell">
                <view class="weui-cell__bd">
                    <view class="weui-uploader">
                        <view class="weui-uploader__hd">
                          <view class="weui-uploader__overview">
                              <view class="weui-uploader__title">现场照片</view>
                              <!-- <view class="weui-uploader__info">{{files.length}}/2</view> -->
                          </view>
                          <view class="weui-uploader__tips">
                            长按删除
                          </view>
                        </view>
                        <view class="weui-uploader__bd">
                            <view class="weui-uploader__files" id="uploaderFiles">
                                <block wx:for="{{xcimgs}}" wx:key="*this">
                                    <view class="weui-uploader__file" bindtap="previewImage" id="{{item}}" data-type="xcimgs" bindlongpress="deleteImg"
                                    data-index="{{index}}">
                                        <image class="weui-uploader__img" src="{{item}}" mode="aspectFill" />
                                    </view>
                                </block>
                            </view>
                            <view class="weui-uploader__input-box">
                                <view class="weui-uploader__input" bindtap="chooseImage" data-type="xcimgs"></view>
                            </view>
                        </view>
                    </view>
                </view>
            </view>
        </view>
        <view style="margin-top:4px">
          <button type="primary" bindtap="confirm" >确定上传</button>
        </view>
    </view>
  </view>