Commit 6ac4e5e7 authored by Mac's avatar Mac

1

parent bbe89753
......@@ -42,7 +42,7 @@
:key="zi"
:style="{ 'max-width': yi == 0 ? 'unset' : '31.9%' }"
>
<view class="scal" @click="previewImage(zi,y)">
<view class="scal" @click="previewImage(zi,yi,x.CommentImgList)">
<image :src="z" mode="aspectFill" class="image" />
<view
class="more"
......@@ -117,10 +117,11 @@ export default {
this.getCommentStatistics()
},
methods: {
previewImage(i,images) {
previewImage(i,i2,images) {
let current = (i2)*3 + i
uni.previewImage({
urls: images,
current: i,
current: current,
longPressActions: {
itemList: ["发送给朋友", "保存图片", "收藏"],
success: function (data) {
......
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