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

h5跳转支付宝小程序

parent 363baf25
......@@ -7,7 +7,7 @@ export default {
data() {
return {};
},
onLoad() {
onLaunch() {
// uni.showLoading({
// mask: true,
// title: "请稍后......."
......@@ -19,8 +19,11 @@ export default {
// }
// })
//(外部H5页面)代码
window.location.href =
"alipays://platformapi/startapp?appId=2019081366244084&page=pages/OpenAccount/OpenAccount&typeCode='BOCOM'";
// 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}`;
},
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