✨ feat: 新增弹窗限制
This commit is contained in:
parent
e35b20a22c
commit
a5b7088d16
|
@ -137,7 +137,7 @@
|
||||||
const aliPaysUrl = `alipays://platformapi/startapp?appId=2021004100663111&page=pages/index/index?order_number=${encodeURIComponent(order_number)}`;
|
const aliPaysUrl = `alipays://platformapi/startapp?appId=2021004100663111&page=pages/index/index?order_number=${encodeURIComponent(order_number)}`;
|
||||||
var ua = window.navigator.userAgent.toLowerCase();
|
var ua = window.navigator.userAgent.toLowerCase();
|
||||||
/* 判断如果是微信/安卓百度浏览器 则复制链接 */
|
/* 判断如果是微信/安卓百度浏览器 则复制链接 */
|
||||||
if (isWx() || (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1) || ua.indexOf("Windows") > -1) {
|
if (isWx() || (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1) || ua.indexOf("windows") > -1) {
|
||||||
this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制');
|
this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制');
|
||||||
this.copyLink = aliPaysUrl;
|
this.copyLink = aliPaysUrl;
|
||||||
} else {
|
} else {
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.goodsInfo.entity.channel === 2) {
|
if (this.goodsInfo.entity.channel === 2) {
|
||||||
if (isAli() || ua.indexOf("Windows") > -1) {
|
if (isAli() || ua.indexOf("windows") > -1) {
|
||||||
this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制');
|
this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制');
|
||||||
this.copyLink = weiXinUrl;
|
this.copyLink = weiXinUrl;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue