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