Procházet zdrojové kódy

feat(lgz): 优化二维码扫描逻辑

- 在扫描结果处理中增加对无信息二维码的处理- 当 prizeType 为 2 且无信息时,显示中奖界面
mws před 4 měsíci
rodič
revize
497efa9161
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      pages/lgz/index/index.vue

+ 3 - 0
pages/lgz/index/index.vue

@@ -350,6 +350,9 @@
 					return;
 					return;
 				}
 				}
 				if (this.cards[idx].flipped) {
 				if (this.cards[idx].flipped) {
+          if (!scanDetail.result.hasInfo && (this.prizeJson.prizeType == 2 || this.prizeJson.prize_type == 2)){
+            this.showWin = true;
+          }
 					return;
 					return;
 				}
 				}
 				this.fankaStatu = true;
 				this.fankaStatu = true;