修复领券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:{
//
goCoupon(){
uni.navigateTo({
url:`/pagesA/coupon/coupon?index=1`
})
if(this.$toolAll.tools.judgeAuth()) {
//
uni.navigateTo({
url:`/pagesA/coupon/coupon?index=1`
})
}
},
//
shareImgEv(id){

View File

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

View File

@ -46,6 +46,7 @@
}
},
onShow() {
this.couponList = [];
this.getCouponEv();
},
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: {
// 领券
goCoupon: function goCoupon() {
uni.navigateTo({
url: "/pagesA/coupon/coupon?index=1" });
if (this.$toolAll.tools.judgeAuth()) {
// 已授权
uni.navigateTo({
url: "/pagesA/coupon/coupon?index=1" });
}
},
// 分享到微信
shareImgEv: function shareImgEv(id) {var _this = this;

View File

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

View File

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