From b7d781a326b6b7a8447940e45b471e63009d9afc Mon Sep 17 00:00:00 2001 From: "PC-20210316OUOY\\Administrator" <812952667@qq.com> Date: Wed, 3 Nov 2021 18:04:34 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E8=B0=83=E6=95=B4=E5=88=B0?= =?UTF-8?q?=E9=93=B6=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/tabBar/home/home.vue | 5 ++++- subPages/unionPay/unionPay.vue | 31 +++++++++++++++---------------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue index fe035cb..224edda 100644 --- a/pages/tabBar/home/home.vue +++ b/pages/tabBar/home/home.vue @@ -654,8 +654,11 @@ }) return; } + // uni.navigateTo({ + // url: '../../../subPages/recharge/recharge' + // }) uni.navigateTo({ - url: '../../../subPages/recharge/recharge' + url:'../../../subPages/unionPay/unionPay' }) } else { uni.showToast({ diff --git a/subPages/unionPay/unionPay.vue b/subPages/unionPay/unionPay.vue index b00f3bb..39a72e3 100644 --- a/subPages/unionPay/unionPay.vue +++ b/subPages/unionPay/unionPay.vue @@ -1,8 +1,6 @@ @@ -11,7 +9,8 @@ export default { data() { return { - codes:'' + codes:'', + url:'https://base.95516.com/s/wl/WebAPP/helpAgree/page/help/shareRutineHelp.html?params=eyJlbmNyeXB0QXBwSWQiOiIxOTAwYmM4NDQ5N2NhYjNiIiwidG9MaW5rIjoiaHR0cHMlM0ElMkYlMkZoc2cuZGN0cGF5LmNvbSUyRnVuaW9uUGF5JTJGIn0=&id=40' } }, onLoad(options) { @@ -22,26 +21,26 @@ methods: { //跳转银联支付 jumpunionpay(){ - uni.navigateTo({ + // uni.navigateTo({ // url:'unionPay-entrance/unionPay-entrance' + // }) + uni.navigateToMiniProgram({ + appId: '1900bc84497cab3b', + path: '../../pages/goods/externalCoupon/externalCoupon', + // extraData: { + // 'data1': 'test' + // }, + success(res) { + // 打开成功 + } }) - plus.runtime.openURL() }, //跳转到小程序 jumpMp(){ uni.reLaunch({ url: '../../pages/goods/externalCoupon/externalCoupon?id='+this.codes }) - // uni.navigateToMiniProgram({ - // appId: 'wx8d49e2f83025229d', - // path: '../../pages/goods/externalCoupon/externalCoupon', - // // extraData: { - // // 'data1': 'test' - // // }, - // success(res) { - // // 打开成功 - // } - // }) + } } }