1.修改调整到银联

yj-dev
杨杰 3 years ago
parent f112c53351
commit b7d781a326
  1. 5
      pages/tabBar/home/home.vue
  2. 31
      subPages/unionPay/unionPay.vue

@ -654,8 +654,11 @@
}) })
return; return;
} }
// uni.navigateTo({
// url: '../../../subPages/recharge/recharge'
// })
uni.navigateTo({ uni.navigateTo({
url: '../../../subPages/recharge/recharge' url:'../../../subPages/unionPay/unionPay'
}) })
} else { } else {
uni.showToast({ uni.showToast({

@ -1,8 +1,6 @@
<template> <template>
<view> <view>
<image class="width90" mode="widthFix" src="../static/union1.jpg" @click="jumpunionpay"> <image class="width90" mode="widthFix" src="../static/union1.jpg" @click="jumpunionpay"></image>
</image>
<image class="width90" mode="widthFix" src="../static/union2.jpg" @click="jumpMp"></image> <image class="width90" mode="widthFix" src="../static/union2.jpg" @click="jumpMp"></image>
</view> </view>
</template> </template>
@ -11,7 +9,8 @@
export default { export default {
data() { data() {
return { return {
codes:'' codes:'',
url:'https://base.95516.com/s/wl/WebAPP/helpAgree/page/help/shareRutineHelp.html?params=eyJlbmNyeXB0QXBwSWQiOiIxOTAwYmM4NDQ5N2NhYjNiIiwidG9MaW5rIjoiaHR0cHMlM0ElMkYlMkZoc2cuZGN0cGF5LmNvbSUyRnVuaW9uUGF5JTJGIn0=&id=40'
} }
}, },
onLoad(options) { onLoad(options) {
@ -22,26 +21,26 @@
methods: { methods: {
// //
jumpunionpay(){ jumpunionpay(){
uni.navigateTo({ // uni.navigateTo({
// url:'unionPay-entrance/unionPay-entrance' // url:'unionPay-entrance/unionPay-entrance'
// })
uni.navigateToMiniProgram({
appId: '1900bc84497cab3b',
path: '../../pages/goods/externalCoupon/externalCoupon',
// extraData: {
// 'data1': 'test'
// },
success(res) {
//
}
}) })
plus.runtime.openURL()
}, },
// //
jumpMp(){ jumpMp(){
uni.reLaunch({ uni.reLaunch({
url: '../../pages/goods/externalCoupon/externalCoupon?id='+this.codes url: '../../pages/goods/externalCoupon/externalCoupon?id='+this.codes
}) })
// uni.navigateToMiniProgram({
// appId: 'wx8d49e2f83025229d',
// path: '../../pages/goods/externalCoupon/externalCoupon',
// // extraData: {
// // 'data1': 'test'
// // },
// success(res) {
// //
// }
// })
} }
} }
} }

Loading…
Cancel
Save