作者 贾少康

合并分支 'Branch_jsk' 到 'master'

Branch jsk



查看合并请求 !188
... ... @@ -94,5 +94,5 @@
"https" : true
}
},
"appid" : "__UNI__E30DA7B"
"appid" : "__UNI__A0F51A4"
}
... ...
... ... @@ -279,12 +279,21 @@ export default {
},
//领劵
getCoupon() {
console.log(uni.getStorageSync('is_focus'),'-*-*-*-*-');
if (!uni.getStorageSync('token')) {
this.$loginCustom(1);
} else {
uni.navigateTo({
url: 'coupon/coupon'
});
if (!uni.getStorageSync('is_focus')) {
uni.navigateTo({
url: '/pages/home/coupon/coupon'
});
} else {
console.log(0);
uni.showToast({
title: '已关注,请到我的优惠券查看优惠券',
icon: 'none'
});
}
}
}
}
... ...