Commit 6c0aba8d authored by 袁玲利's avatar 袁玲利

h5跳转支付宝小程序

parent f91c87a4
...@@ -21,9 +21,12 @@ export default { ...@@ -21,9 +21,12 @@ export default {
//(外部H5页面)代码 //(外部H5页面)代码
// window.location.href = // window.location.href =
// "alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount&typeCode='BOCOM'"; // "alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount&typeCode='BOCOM'";
let params = encodeURIComponent(`alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount`); // let params = encodeURIComponent(`alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount`);
window.location.href = `https://ds.alipay.com/?scheme=${params}`; // window.location.href = `https://ds.alipay.com/?scheme=${params}`;
jWeixin.miniProgram.navigateTo({
url: `/pages/OpenAccount/OpenAccount`,
});
}, },
created: function () { created: function () {
// console.log(this.$echarts); // console.log(this.$echarts);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment