送洗评价图片预览
This commit is contained in:
parent
d4a1439bf9
commit
f190b82468
@ -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,
|
||||
});
|
||||
},
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user