送洗评价图片预览

This commit is contained in:
ghusermoon 2020-09-05 14:38:18 +08:00
parent d4a1439bf9
commit f190b82468
2 changed files with 6 additions and 6 deletions

View File

@ -6,8 +6,8 @@
</view>
<view class="user-comment">
<view class="text u-line-2">{{ info.comment }}</view>
<view class="image" v-if="info.comment_img">
<image :src="info.comment_img" mode="aspectFit" @click="previewImage(info.comment_img)"></image>
<view class="image" v-if="info.comment_img" @click="previewImage(info.comment_img)">
<image :src="info.comment_img" mode="aspectFit"></image>
</view>
</view>
</view>
@ -22,9 +22,9 @@ export default {
},
methods: {
previewImage(urls) {
// console.log(urls)
const imagesUrl = [urls];
uni.previewImage({
urls: urls,
urls: imagesUrl,
});
},
}

View File

@ -125,8 +125,8 @@ export default {
this.sendLaundryOrderList();
},
onShow() {
this.current = 0;
this.swiperCurrent = 0;
// this.current = 0;
// this.swiperCurrent = 0;
this.showPopup = false;
this.sendLaundryOrderList();
this.sendCommentList();