✨ feat: 新增限制
This commit is contained in:
parent
ca18a83e4d
commit
e35b20a22c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue