Sfoglia il codice sorgente

兼容支付宝复制提示

lsx 2 anni fa
parent
commit
62e09d357e
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      src/packageGoods/order/logistics.vue

+ 6 - 0
src/packageGoods/order/logistics.vue

@@ -66,6 +66,7 @@
 			</u-steps>
 			<!-- #endif -->
 		</view>
+		<u-toast ref="uToast"></u-toast>
 		<view class="logistics" v-else-if="deliverListData[listIndex][0].companyName">
 			<view style="color: #b1b1b1;">
 				暂无物流信息
@@ -164,6 +165,11 @@
 				uni.setClipboardData({
 					data: id,
 				});
+				// #ifdef MP-ALIPAY
+				this.$refs.uToast.show({
+					message: "内容已复制"
+				})
+				// #endif
 			},
 		}
 	}