|
|
|
@ -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) { |
|
|
|
|
// // 打开成功 |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|