1.新增扫码后选择入口

yj-dev
杨杰 3 years ago
parent 3eb7ece591
commit f112c53351
  1. 16
      App.vue
  2. 11
      pages.json
  3. 6
      pages/goods/externalCoupon/externalCoupon.vue
  4. 1
      pages/tabBar/home/home.vue
  5. BIN
      subPages/static/cz1.jpg
  6. BIN
      subPages/static/cz2.jpg
  7. BIN
      subPages/static/cz3.jpg
  8. BIN
      subPages/static/lottery/gold.png
  9. BIN
      subPages/static/lottery/gold@2x.png
  10. BIN
      subPages/static/lottery/gold@3x.png
  11. BIN
      subPages/static/lottery/icon_xxhg.png
  12. BIN
      subPages/static/lottery/icon_xxhg@2x.png
  13. BIN
      subPages/static/lottery/icon_xxhg@3x.png
  14. BIN
      subPages/static/lottery/icon_zhongjiang.png
  15. BIN
      subPages/static/lottery/icon_zhongjiang@2x.png
  16. BIN
      subPages/static/lottery/icon_zhongjiang@3x.png
  17. BIN
      subPages/static/lottery/top-bg.jpg
  18. BIN
      subPages/static/lottery/top-bg.png
  19. BIN
      subPages/static/lottery/top-bg@2x.jpg
  20. BIN
      subPages/static/lottery/top-bg@2x.png
  21. BIN
      subPages/static/lottery/top-bg@3x.jpg
  22. BIN
      subPages/static/lottery/top-bg@3x.png
  23. BIN
      subPages/static/union1.jpg
  24. BIN
      subPages/static/union2.jpg
  25. BIN
      subPages/static/upay1.jpg
  26. BIN
      subPages/static/upay2.jpg
  27. BIN
      subPages/static/upay3.jpg
  28. BIN
      subPages/static/upay4.jpg
  29. 52
      subPages/unionPay/unionPay.vue

@ -5,15 +5,15 @@
// brestUrl: 'http://192.168.3.4:9302/brest', // brestUrl: 'http://192.168.3.4:9302/brest',
// imgUrl: 'https://192.168.3.4:9301/filesystem/', // imgUrl: 'https://192.168.3.4:9301/filesystem/',
// //
// url: 'https://hsg.dctpay.com/crest', url: 'https://hsg.dctpay.com/crest',
// imgUrl: 'https://hsg.dctpay.com/filesystem/', imgUrl: 'https://hsg.dctpay.com/filesystem/',
// brestUrl : 'https://hsg.dctpay.com/brest', brestUrl : 'https://hsg.dctpay.com/brest',
// imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/', imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/',
// //
url: 'https://hsgcs.dctpay.com/crest', // url: 'https://hsgcs.dctpay.com/crest',
brestUrl : 'https://hsgcs.dctpay.com/brest', // brestUrl : 'https://hsgcs.dctpay.com/brest',
imgUrl: 'https://hsgcs.dctpay.com/filesystem/', // imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/', // imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/',
userInfo: "", userInfo: "",
brestUserInfo : '', brestUserInfo : '',
openId: '', openId: '',

@ -521,6 +521,17 @@
"backgroundColorTop": "#0083f5", "backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
},
{
"path": "unionPay/unionPay",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "入口选择",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5",
"navigationBarTextStyle": "white"
}
} }
] ]
}], }],

@ -124,9 +124,9 @@
}) })
} }
}) })
var arr1 = decodeURIComponent(options.q); // var arr1 = decodeURIComponent(options.q);
var arr2 = arr1.split('='); // var arr2 = arr1.split('=');
this.codes = arr2[2]; this.codes = options.id;
this.getDiscountByQrCode(); this.getDiscountByQrCode();
}, },

@ -657,7 +657,6 @@
uni.navigateTo({ uni.navigateTo({
url: '../../../subPages/recharge/recharge' url: '../../../subPages/recharge/recharge'
}) })
} else { } else {
uni.showToast({ uni.showToast({
title: '暂未开通', title: '暂未开通',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 405 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 51 KiB

@ -0,0 +1,52 @@
<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:''
}
},
onLoad(options) {
var arr1 = decodeURIComponent(options.q);
var arr2 = arr1.split('=');
this.codes = arr2[2];
},
methods: {
//
jumpunionpay(){
uni.navigateTo({
// url:'unionPay-entrance/unionPay-entrance'
})
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) {
// //
// }
// })
}
}
}
</script>
<style>
</style>
Loading…
Cancel
Save