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;
}
// uni.navigateTo({
// url: '../../../subPages/recharge/recharge'
// })
uni.navigateTo({
url: '../../../subPages/recharge/recharge'
url:'../../../subPages/unionPay/unionPay'
})
} else {
uni.showToast({

@ -1,8 +1,6 @@
<template>
<view>
<image class="width90" mode="widthFix" src="../static/union1.jpg" @click="jumpunionpay">
</image>
<image class="width90" mode="widthFix" src="../static/union1.jpg" @click="jumpunionpay"></image>
<image class="width90" mode="widthFix" src="../static/union2.jpg" @click="jumpMp"></image>
</view>
</template>
@ -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) {
// //
// }
// })
}
}
}

Loading…
Cancel
Save