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.
59 lines
1.4 KiB
59 lines
1.4 KiB
<template>
|
|
<view>
|
|
<image class="width90" mode="widthFix" :src="imagewxUrl+imgadres" @click="jumpunionpay"></image>
|
|
<image class="width90" mode="widthFix" :src="imagewxUrl+imgadres1" @click="jumpMp"></image>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
imagewxUrl: app.globalData.imageWxImg,
|
|
imgadres: 'union1.jpg',
|
|
imgadres1: 'union2.jpg',
|
|
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) {
|
|
// // 打开成功
|
|
// }
|
|
// })
|
|
uni.showToast({
|
|
title: '暂未开放',
|
|
duration: 2000,
|
|
icon: "none"
|
|
})
|
|
},
|
|
//跳转到小程序
|
|
jumpMp(){
|
|
uni.reLaunch({
|
|
url: '../../pages/goods/externalCoupon/externalCoupon?id='+this.codes
|
|
})
|
|
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|
|
|