You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
<template>
|
|
<view>
|
|
<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>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
codes:'',
|
|
url:'https://base.95516.com/s/wl/WebAPP/helpAgree/page/help/shareRutineHelp.html?params=eyJlbmNyeXB0QXBwSWQiOiIxOTAwYmM4NDQ5N2NhYjNiIiwidG9MaW5rIjoiaHR0cHMlM0ElMkYlMkZoc2cuZGN0cGF5LmNvbSUyRnVuaW9uUGF5JTJGIn0=&id=40'
|
|
}
|
|
},
|
|
onLoad(options) {
|
|
var arr1 = decodeURIComponent(options.q);
|
|
var arr2 = arr1.split('=');
|
|
this.codes = arr2[2];
|
|
},
|
|
methods: {
|
|
//跳转银联支付
|
|
jumpunionpay(){
|
|
// uni.navigateTo({
|
|
// url:'unionPay-entrance/unionPay-entrance'
|
|
// })
|
|
uni.navigateToMiniProgram({
|
|
appId: '1900bc84497cab3b',
|
|
path: '../../pages/goods/externalCoupon/externalCoupon',
|
|
// extraData: {
|
|
// 'data1': 'test'
|
|
// },
|
|
success(res) {
|
|
// 打开成功
|
|
}
|
|
})
|
|
},
|
|
//跳转到小程序
|
|
jumpMp(){
|
|
uni.reLaunch({
|
|
url: '../../pages/goods/externalCoupon/externalCoupon?id='+this.codes
|
|
})
|
|
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|
|
|