修改上传图片展示问题

feature/scanCodeOrder
游梦婷 10 months ago
parent 21f8def0bb
commit fa13deaf06
  1. 12
      subpackages/applyPeriod/applyPeriod.vue

@ -90,13 +90,11 @@
<view class="imageUploadContainer flex-1">
<view class="imageUploadList">
<template v-if="periodData.agreementPics!=''">
<view class="imageItem" v-for="(item,index) in imgValue" :key="index">
<image :src="imgUrl+item" mode="aspectFill" @click="previewImage(index,imgValue)"
:data-index="index"></image>
<view v-if="isShowMethodToUpdate" class="imageDel" @click="deleteImage(item)">x</view>
</view>
</template>
<view class="imageItem" v-for="(item,index) in imgValue" :key="index">
<image :src="imgUrl+item" mode="aspectFill" @click="previewImage(index,imgValue)"
:data-index="index"></image>
<view v-if="isShowMethodToUpdate" class="imageDel" @click="deleteImage(item)">x</view>
</view>
<view v-if="isShowMethodToUpdate" class="imageUpload" @click="upload">+</view>
</view>
</view>

Loading…
Cancel
Save