审核数据查看大图,

This commit is contained in:
2023-08-25 15:53:33 +08:00
parent 7aa702a094
commit 276bf5aa60
3 changed files with 137 additions and 29 deletions

View File

@ -193,18 +193,8 @@
<td class="col1 alignLeft" style="border-bottom-left-radius: 3px">
<div class="title col1" style="white-space: nowrap;">审核失败原因</div>
<div class="reason">{{orderInfo.auditRemark}}</div>
<div v-show="orderInfo.auditPhoto" class="camerImg" >
<van-image v-for="(item,index) in auditPhotoList" :key="index" :src="item.url" @click="previewPhoto(index)" />
<!-- <van-uploader-->
<!-- v-model="auditPhotoList"-->
<!-- :after-read="handleFileRead"-->
<!-- multiple-->
<!-- :preview-size="54"-->
<!-- accept="image "-->
<!-- :disabled="true"-->
<!-- readonly-->
<!-- />-->
<!-- <img v-for="(item,index) in auditPhotoList" :key="index" class="camerImg" :src="item.url" >-->
<div v-show="orderInfo.auditPhoto" style="display: flex;flex-wrap: wrap">
<van-image class="camerImg" v-for="(item,index) in auditPhotoList" :key="index" :src="item.url" @click="previewPhoto(index)" />
</div>
</td>
<td class="col2 alignLeft" style="border-bottom-right-radius: 3px">
@ -373,9 +363,14 @@ export default {
},
methods:{
previewPhoto(index) {
let url=[]
this.auditPhotoList.forEach((item)=>{
url.push(item.url)
})
ImagePreview({
images: this.auditPhotoList,
images: url,
startPosition: index,
closeable: true,
});
},
handleFileRead(file) {