|
@@ -305,7 +305,15 @@ export default {
|
|
|
} else {
|
|
|
this.token = this.$route.query.token;
|
|
|
}
|
|
|
-
|
|
|
+ },
|
|
|
+ head: {
|
|
|
+ title: '年卡抽奖活动',
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.getLuckDrawActivity();
|
|
|
+ this.getCarouselList();
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
if (this.$userAgent.isAndroid) {
|
|
|
this.client = 1;
|
|
|
} else if (this.$userAgent.isIos) {
|
|
@@ -317,13 +325,6 @@ export default {
|
|
|
}
|
|
|
console.log(this.client);
|
|
|
},
|
|
|
- head: {
|
|
|
- title: '年卡抽奖活动',
|
|
|
- },
|
|
|
- created() {
|
|
|
- this.getLuckDrawActivity();
|
|
|
- this.getCarouselList();
|
|
|
- },
|
|
|
methods: {
|
|
|
async getCarouselList() {
|
|
|
const res = await this.$axios.$post('/activity/v1/member/carousel');
|
|
@@ -583,6 +584,7 @@ export default {
|
|
|
},
|
|
|
closed() {
|
|
|
this.makePoint('activity_关闭抽奖', 'eventCode传27_抽奖流程');
|
|
|
+ this.selMealId = this.mealId;
|
|
|
if (+localStorage.getItem('year-15-9') !== 2) {
|
|
|
this.show = true;
|
|
|
localStorage.setItem('year-15-9', 2);
|