ZZ 1 lună în urmă
părinte
comite
13e55cd62a

+ 7 - 7
mer_uniapp/pages/substitute_fast_mail/my_fast_mail/index.vue

@@ -50,7 +50,7 @@
 								<image src="/static/img/phone.png" class="image2" /><text>联系驿站</text>
 							</view>
 						</view>
-						<view class="fast-item" v-for="(value, key) in post.orderInfoList" :key="key" @tap="onTap(value)">
+						<view class="fast-item" v-for="(value, key) in post.orderInfoList" :key="key">
 							<view class="flex-between-center mb-20">
 								<view class="flex-y-center">
 									<image style="width: 135rpx; height: 135rpx;border-radius: 30rpx;margin-right: 23rpx;" src="/static/img/ic-qu-chengse.png"></image>
@@ -67,7 +67,7 @@
 							</view>
 							<view class="fast-remark">
 								<view v-if="value.remark">备注:{{value.remark}}</view>
-								<view class="flex-y-center" v-if="value.image" @tap="lookImg(index, indexs)">
+								<view class="flex-y-center" v-if="value.image" @tap="lookImg(value.image)">
 									<text>附图:</text>
 									<image style="width: 38rpx; height: 38rpx;" src="/static/img/ic-figure.png"></image>
 								</view>
@@ -242,10 +242,10 @@
 					this.getPreExpressApi()
 				}
 			},
-			lookImg(itemIndex, valIndex) {
-				const url = this.fastMailData[itemIndex].orderInfoList[valIndex].image
+			lookImg(url) {
 				uni.previewImage({
-					urls: url
+					current: url, //  传 Number H5端出现不兼容
+					urls: [url]
 				});
 			},
 			cancelOrder(index, orderNo) {
@@ -278,7 +278,7 @@
 								});
 							});
 						} else {
-				
+
 						}
 					},
 				})
@@ -308,7 +308,7 @@
 								});
 							})
 						} else {
-			
+
 						}
 					},
 				})