Commit 5c994e5a authored by Mac's avatar Mac

1

parent a28ac795
......@@ -62,6 +62,7 @@
v-for="(item, index) in x.CommentList[1].CommentImgList" :key="index"
mode="aspectFill"
:src="item"
@click="previewImage(index,x.CommentList[1].CommentImgList)"
:style="{'width':san,'height':san}"
/>
</view>
......@@ -87,6 +88,7 @@
v-for="(item, index) in x.CommentList[0].CommentImgList" :key="index"
mode="aspectFill"
:src="item"
@click="previewImage(index,x.CommentList[0].CommentImgList)"
:style="{'width':san,'height':san}"
/>
</view>
......@@ -186,6 +188,12 @@ export default {
this.loading = true;
this.init();
},
previewImage(index, images) {
uni.previewImage({
urls: images,
current: index,
});
},
init() {
this.loading = true;
......
......@@ -210,8 +210,8 @@
content: "评价成功,感谢您的反馈",
showCancel: false,
confirmText: "确认",
success: function(res) {
if (res.confirm) {
success: function(res2) {
if (res2.confirm) {
uni.navigateBack({
delta: 1,
success: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment