审核数据查看大图,
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user