|
@@ -79,7 +79,7 @@
|
|
|
|
|
|
<view
|
|
|
v-if="item.picUrl.substring(item.picUrl.length - 3) == 'png' || item.picUrl.substring(item.picUrl.length - 3) == 'jpg'||item.picUrl.substring(item.picUrl.length-4)=='jpeg' ">
|
|
|
- <image v-if="fileImageArr.concat(item.picUrl)" :src="item.picUrl" mode=""
|
|
|
+ <image :src="item.picUrl" mode=""
|
|
|
style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
@click="showPhotoFile(fileImageArr.indexOf(item.picUrl))">
|
|
|
</image>
|
|
@@ -198,7 +198,7 @@
|
|
|
style="width: 100rpx; height: 100rpx; margin: 0 12rpx;; " @click="choose()"></image>
|
|
|
<view v-for="(item,index) in imgArr" :key="index" style="position: relative;">
|
|
|
<view
|
|
|
- v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg' ">
|
|
|
+ v-if="item.substring(item.length - 3) == 'png' || item.substring(item.length - 3) == 'jpg'||item.picUrl.substring(item.picUrl.length-4)=='jpeg' ">
|
|
|
<image :src="item" mode="" style="width: 100rpx; height: 100rpx; margin: 0 12rpx;"
|
|
|
@click="showPhoto(index)">
|
|
|
</image>
|