From e35b20a22cbb3cfed9c4feaba0a1d68d0ff5fc79 Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Tue, 27 Jun 2023 16:25:58 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E6=96=B0=E5=A2=9E=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- redPackets.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redPackets.html b/redPackets.html index fb8766e..089c041 100644 --- a/redPackets.html +++ b/redPackets.html @@ -137,7 +137,7 @@ const aliPaysUrl = `alipays://platformapi/startapp?appId=2021004100663111&page=pages/index/index?order_number=${encodeURIComponent(order_number)}`; var ua = window.navigator.userAgent.toLowerCase(); /* 判断如果是微信/安卓百度浏览器 则复制链接 */ - if (isWx() || (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1)) { + if (isWx() || (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1) || ua.indexOf("Windows") > -1) { this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制'); this.copyLink = aliPaysUrl; } else { @@ -146,7 +146,7 @@ } if (this.goodsInfo.entity.channel === 2) { - if ((isAli())) { + if (isAli() || ua.indexOf("Windows") > -1) { this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制'); this.copyLink = weiXinUrl; } else {