送洗评价图片预览 #336

Merged
hansu merged 2 commits from zhy into master 2020-09-05 06:41:12 +00:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit f190b82468 - Show all commits

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();