Commit 6ab21063 by 展昭

payment

parent 10ceb282
......@@ -108,6 +108,5 @@ router.beforeEach((to, from, next) => {
router.beforeEach(vuexOidcCreateRouterMiddleware(store));
//TODO: 把callBack中的app_register_id逻辑替换到这里
export default router
......@@ -420,9 +420,7 @@ export default {
setBarHeight() {
setTimeout(() => {
const barHeight = localStorage.getItem("barHeight");
console.log("bill barHeight=", barHeight);
const conHeight = 46 + parseInt(barHeight);
console.log("bill conHeight=", conHeight);
const dom = document.getElementsByClassName("iosStyle")[0];
if (dom) {
dom.setAttribute(
......
......@@ -75,15 +75,9 @@ export default {
methods: {
...mapActions(["loadMoreList", "loadMoreSummary", "loadPayUrl"]),
toPay() {
let payUrl =
this.payUrl +
"&accountType=1&payType=3&selected=1&failUrl=" +
encodeURIComponent("https://pay.qinqinxiaobao.com/callback/fail") +
"&successUrl=" +
encodeURIComponent("https://pay.qinqinxiaobao.com/callback/success") +
"" +
"&periodId=" +
this.currentPerId;
const failUrl=encodeURIComponent("https://pay.qinqinxiaobao.com/callback/fail");
const successUrl=encodeURIComponent("https://pay.qinqinxiaobao.com/callback/success");
let payUrl=`${this.payUrl}&accountType=19&failUrl=${failUrl}&successUrl=${successUrl}`;
window.open(payUrl);
},
toPage() {
......@@ -123,7 +117,7 @@ export default {
this.setPageNavState();
this.globalNavLeftArrowClick(this.navLeftArrowClick);
await this.getData();
//this.payUrl = await this.loadPayUrl();
this.payUrl = await this.loadPayUrl();
}
};
</script>
......
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 sign in to comment