修复领券bug

master
Lee 2022-09-29 10:13:28 +08:00
parent b2876eb160
commit 109bebbbce
17 changed files with 26 additions and 18 deletions

View File

@ -36,9 +36,12 @@
methods:{ methods:{
// //
goCoupon(){ goCoupon(){
if(this.$toolAll.tools.judgeAuth()) {
//
uni.navigateTo({ uni.navigateTo({
url:`/pagesA/coupon/coupon?index=1` url:`/pagesA/coupon/coupon?index=1`
}) })
}
}, },
// //
shareImgEv(id){ shareImgEv(id){

View File

@ -69,7 +69,7 @@
/* */ /* */
"mp-weixin" : { "mp-weixin" : {
/* */ /* */
"appid" : "wxa02e44170bc722cd", "appid" : "wx19c92fb80708ae46",
"setting" : { "setting" : {
"urlCheck" : true, "urlCheck" : true,
"es6" : true "es6" : true

View File

@ -46,6 +46,7 @@
} }
}, },
onShow() { onShow() {
this.couponList = [];
this.getCouponEv(); this.getCouponEv();
}, },
onReachBottom() { onReachBottom() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -152,9 +152,12 @@ var _default = { name: 'share-coupon', props: { spuId: { type: Number, default:
};}, onLoad: function onLoad() {}, methods: { };}, onLoad: function onLoad() {}, methods: {
// 领券 // 领券
goCoupon: function goCoupon() { goCoupon: function goCoupon() {
if (this.$toolAll.tools.judgeAuth()) {
// 已授权
uni.navigateTo({ uni.navigateTo({
url: "/pagesA/coupon/coupon?index=1" }); url: "/pagesA/coupon/coupon?index=1" });
}
}, },
// 分享到微信 // 分享到微信
shareImgEv: function shareImgEv(id) {var _this = this; shareImgEv: function shareImgEv(id) {var _this = this;

View File

@ -226,6 +226,7 @@ var _default =
} }
}, },
onShow: function onShow() { onShow: function onShow() {
this.couponList = [];
this.getCouponEv(); this.getCouponEv();
}, },
onReachBottom: function onReachBottom() { onReachBottom: function onReachBottom() {

View File

@ -19,7 +19,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.25.3", "libVersion": "2.25.3",
"appid": "wxa02e44170bc722cd", "appid": "wx19c92fb80708ae46",
"projectname": "老农极鲜土货", "projectname": "老农极鲜土货",
"condition": {}, "condition": {},
"editorSetting": { "editorSetting": {