From db6a2395604743ae5cf5bfad42c74e06c46e14c1 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Tue, 27 Oct 2026 15:38:36 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E9=95=BF=E6=8C=89=E4=BB=98?= =?UTF-8?q?=E6=AC=BE=E7=A0=81=3D=E8=AF=8A=E6=96=AD=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=EF=BC=88=E4=BA=91=E9=97=AA=E4=BB=98=E5=86=85=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=8A=A0=20URL=20=E5=8F=82=E6=95=B0=E7=9A=84=E7=9C=9F=E6=9C=BA?= =?UTF-8?q?=E6=8E=92=E6=9F=A5=E5=85=A5=E5=8F=A3=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- pages/shop/detail.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/shop/detail.vue b/pages/shop/detail.vue index 68a9a60..45a59c9 100644 --- a/pages/shop/detail.vue +++ b/pages/shop/detail.vue @@ -29,7 +29,7 @@ {{ shop.brandType || shop.category }} 营业时间:{{ shop.businessTime }} - + 付款码 @@ -147,11 +147,12 @@ }, // xuchao: 付款码——对齐 ysf 项目首页做法:upsdk.qrCodePay() 由云闪付容器原生拉起付款码,无 web 跳转。 // SDK 加载复用加油页验证过的注入模式;拉不起的场景(非容器/加载失败/非免密登录)统一弹 payGuide - onPayCode() { - // xuchao: 付款码诊断版——每步落诊断点;?vc=1 时卡点用弹窗展示完整诊断,普通用户仍是轻提示 + onPayCode(forceDiag) { + // xuchao: 付款码诊断——短按=正常流程(轻提示);长按 或 ?vc=1=诊断弹窗(每步状态可见)。 + // 云闪付内不便加 URL 参数,长按即真机诊断入口 const diag = [] const t0 = Date.now() - const dbg = /[?&#]vc=1/.test(typeof window !== 'undefined' ? window.location.href : '') + const dbg = forceDiag === true || /[?&#]vc=1/.test(typeof window !== 'undefined' ? window.location.href : '') diag.push('UA=' + String(navigator.userAgent || '').slice(0, 90)) const fail = (why) => { diag.push('结果=' + why + ' 耗时' + (Date.now() - t0) + 'ms')