Commit 5fd5a770 authored by 罗超's avatar 罗超

1

parent a8380190
......@@ -107,6 +107,7 @@
:key="index"
v-if="index === 0 || index === 1 || index === 2"
class="feedback-img"
@click="previewImage(indexData.FeedBackList[0].PhotoList, index)"
>
<image
:src="item"
......@@ -402,6 +403,19 @@ export default {
);
}
},
previewImage(arr, i) {
uni.previewImage({
urls: arr,
current: i,
longPressActions: {
itemList: ["发送给朋友", "保存图片", "收藏"],
success: function (data) {},
fail: function (err) {
console.log(err.errMsg);
},
},
});
},
};
onMounted(() => {
......@@ -783,6 +797,7 @@ export default {
background-color: #eee;
margin-right: 30rpx;
position: relative;
box-shadow: 0rpx 10rpx 30rpx 0rpx rgba(36, 36, 36, 0.2);
}
.feedback-img:nth-child(3n) {
......
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