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

交行二类户微信接入

parent bca7d381
<template> <template>
<view class="container"></view> <view class="container"></view>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
faceType: "", faceType: "",
}; fromPage: ""
}, };
onLoad: function (options) { },
console.log(options); onLoad: function(options) {
this.faceType = options.faceType || ""; console.log(options);
console.log("准备跳转了哦1"); this.faceType = options.faceType || "";
//faceAuth = 1 人脸活体检测成功 this.fromPage = options.fromPage || "";
// my.navigateTo({ console.log("准备跳转了哦1");
// url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`, //faceAuth = 1 人脸活体检测成功
// }); // my.navigateTo({
}, // url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
onShow() { // });
console.log(this.faceType, "lalalallalala"); },
if (this.faceType == "OPEN_ACCOUNT") { onShow() {
// 开户 console.log(this.faceType, "lalalallalala");
my.navigateTo({ if (this.fromPage == "WECHAT") {
url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`, if (this.faceType == "OPEN_ACCOUNT") {
}); // 开户
} else if (this.faceType == "CHANGE_CARD") { my.navigateTo({
// 换绑卡 url: `/pages_subpack/pages/BankOpenAccount/BankOpenAccount?faceAuth=1`,
my.navigateTo({ });
url: `/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`, }
}); } else {
} else if (this.faceType == "CANCEL_ACCOUNT" || this.faceType == "ACTIVE_ACCOUNT") { if (this.faceType == "OPEN_ACCOUNT") {
// 销户、不动户激活 // 开户
my.navigateTo({ my.navigateTo({
url: `/pages/BankModule/Recharge/Recharge?faceAuth=1&faceType=${this.faceType}`, url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
}); });
} } else if (this.faceType == "CHANGE_CARD") {
}, // 换绑卡
created: function () { my.navigateTo({
// console.log(this.$echarts); url: `/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`,
}, });
methods: {}, } else if (this.faceType == "CANCEL_ACCOUNT" || this.faceType == "ACTIVE_ACCOUNT") {
mounted: function () {}, // 销户、不动户激活
}; my.navigateTo({
url: `/pages/BankModule/Recharge/Recharge?faceAuth=1&faceType=${this.faceType}`,
});
}
}
},
created: function() {
// console.log(this.$echarts);
},
methods: {},
mounted: function() {},
};
</script> </script>
<style scoped> <style scoped>
</style> </style>
\ No newline at end of file
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