送洗评价图片预览
This commit is contained in:
parent
d4a1439bf9
commit
f190b82468
@ -6,8 +6,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="user-comment">
|
<view class="user-comment">
|
||||||
<view class="text u-line-2">{{ info.comment }}</view>
|
<view class="text u-line-2">{{ info.comment }}</view>
|
||||||
<view class="image" v-if="info.comment_img">
|
<view class="image" v-if="info.comment_img" @click="previewImage(info.comment_img)">
|
||||||
<image :src="info.comment_img" mode="aspectFit" @click="previewImage(info.comment_img)"></image>
|
<image :src="info.comment_img" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -22,9 +22,9 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
previewImage(urls) {
|
previewImage(urls) {
|
||||||
// console.log(urls)
|
const imagesUrl = [urls];
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
urls: urls,
|
urls: imagesUrl,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -125,8 +125,8 @@ export default {
|
|||||||
this.sendLaundryOrderList();
|
this.sendLaundryOrderList();
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.current = 0;
|
// this.current = 0;
|
||||||
this.swiperCurrent = 0;
|
// this.swiperCurrent = 0;
|
||||||
this.showPopup = false;
|
this.showPopup = false;
|
||||||
this.sendLaundryOrderList();
|
this.sendLaundryOrderList();
|
||||||
this.sendCommentList();
|
this.sendCommentList();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user