修复领券bug
parent
b2876eb160
commit
109bebbbce
|
@ -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){
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
/* 快应用特有相关 */
|
||||
"mp-weixin" : {
|
||||
/* 小程序特有相关 */
|
||||
"appid" : "wxa02e44170bc722cd",
|
||||
"appid" : "wx19c92fb80708ae46",
|
||||
"setting" : {
|
||||
"urlCheck" : true,
|
||||
"es6" : true
|
||||
|
|
|
@ -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
|
@ -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;
|
||||
|
|
|
@ -226,6 +226,7 @@ var _default =
|
|||
}
|
||||
},
|
||||
onShow: function onShow() {
|
||||
this.couponList = [];
|
||||
this.getCouponEv();
|
||||
},
|
||||
onReachBottom: function onReachBottom() {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "2.25.3",
|
||||
"appid": "wxa02e44170bc722cd",
|
||||
"appid": "wx19c92fb80708ae46",
|
||||
"projectname": "老农极鲜土货",
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
|
|
Loading…
Reference in New Issue