Commit d7b6473a authored by 袁玲利's avatar 袁玲利

h5跳转支付宝小程序

parent 6c0aba8d
......@@ -19,14 +19,14 @@ export default {
// }
// })
//(外部H5页面)代码
// window.location.href =
// "alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount&typeCode='BOCOM'";
// let params = encodeURIComponent(`alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount`);
window.location.href =
"alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount&typeCode=BOCOM";
let params = encodeURIComponent(`alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount`);
// window.location.href = `https://ds.alipay.com/?scheme=${params}`;
jWeixin.miniProgram.navigateTo({
url: `/pages/OpenAccount/OpenAccount`,
});
window.location.href = `https://ds.alipay.com/?scheme=${params}`;
// jWeixin.miniProgram.navigateTo({
// url: `/pages/OpenAccount/OpenAccount`,
// });
},
created: function () {
// 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