zs 2 anni fa
parent
commit
b9f9c115ce
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      pagesHome/shop/index.vue

+ 4 - 1
pagesHome/shop/index.vue

@@ -102,7 +102,7 @@
 							</view>
 						</view>
 						<view class="second_2">
-							<view class="second_2_bor">
+							<view class="second_2_bor" @tap="saveQrcode">
 								<!-- <image class="image" :src="info.qrcode&&info.qrcode.length>0?info.qrcode[0].url:''" mode=""></image> -->
 								<tki-qrcode cid="qrcode1" ref="qrcode" :val="val" :size="size" :unit="unit"
 									:background="background" :foreground="foreground" :pdground="pdground"
@@ -226,6 +226,9 @@
 			qrR(res) {
 				this.src = res
 			},
+			saveQrcode() {
+				this.$refs.qrcode._saveCode()
+			},
 			// 监听用户是否登录
 			watchLogin() {
 				const that = this;