✨ feat: 支付宝跳转新增限制
This commit is contained in:
parent
5e4a16a691
commit
5fa8bc31d9
|
@ -13,7 +13,6 @@
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/api2_0.js"></script>
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/js/api2_0.js"></script>
|
||||||
<link rel="stylesheet" href="./redPackets.css" />
|
<link rel="stylesheet" href="./redPackets.css" />
|
||||||
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/common/modelPop.js"></script>
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/common/modelPop.js"></script>
|
||||||
<link rel="stylesheet" href="./a.scss">
|
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -136,7 +135,9 @@
|
||||||
judgeEnvironment (order_number, weiXinUrl) {
|
judgeEnvironment (order_number, weiXinUrl) {
|
||||||
if (this.goodsInfo.entity.channel === 1) {
|
if (this.goodsInfo.entity.channel === 1) {
|
||||||
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)}`;
|
||||||
if ((isWx())) {
|
var ua = window.navigator.userAgent.toLowerCase();
|
||||||
|
/* 判断如果是微信/安卓百度浏览器 则复制链接 */
|
||||||
|
if (isWx() || (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1)) {
|
||||||
this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制');
|
this.tip('请点击下方[复制]按钮,复制链接到浏览器打开!', 1, '点击复制');
|
||||||
this.copyLink = aliPaysUrl;
|
this.copyLink = aliPaysUrl;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue