1 parent 3655432 commit 129786eCopy full SHA for 129786e
1 file changed
platforms/app-plus/feedback/feedback.vue
@@ -20,7 +20,7 @@
20
<view class="uni-uploader__files">
21
<block v-for="(image,index) in imageList" :key="index">
22
<view class="uni-uploader__file" style="position: relative;">
23
- <image class="uni-uploader__img" :src="image" @tap="previewImage"></image>
+ <image class="uni-uploader__img" :src="image" @tap="previewImage(index)"></image>
24
<view class="close-view" @click="close(index)">x</view>
25
</view>
26
</block>
@@ -102,9 +102,10 @@
102
chooseStar(e) { //点击评星
103
this.sendDate.score = e;
104
},
105
- previewImage() { //预览图片
+ previewImage(index) { //预览图片
106
uni.previewImage({
107
- urls: this.imageList
+ urls: this.imageList,
108
+ current:this.imageList[index]
109
});
110
111
send() { //发送反馈
0 commit comments