|
@@ -477,19 +477,6 @@ export default {
|
|
|
this.actualPrice = res.data.actualPrice;
|
|
|
this.yearActualPrice = res.data.actualPrice;
|
|
|
this.luckDrawType = res.data.luckDrawType;
|
|
|
- if (res.data.luckDrawType === 1) {
|
|
|
- this.makePoint('activity_15.9年卡');
|
|
|
- if (Number(localStorage.getItem('year-15-9')) !== 2) {
|
|
|
- localStorage.setItem('year-15-9', 1);
|
|
|
- }
|
|
|
- }
|
|
|
- if (res.data.luckDrawType === 2) {
|
|
|
- this.makePoint('activity_9.9年卡');
|
|
|
- if (Number(localStorage.getItem('year-9-9')) !== 2) {
|
|
|
- localStorage.setItem('year-9-9', 1);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
this.mealId = res.data.mealId
|
|
|
this.selMealId = res.data.mealId
|
|
|
this.getMealInfo()
|
|
@@ -548,6 +535,19 @@ export default {
|
|
|
if (this.$userAgent.isAndroid) {
|
|
|
window.native.isMembersLotto(true)
|
|
|
}
|
|
|
+
|
|
|
+ if (this.luckDrawType === 1) {
|
|
|
+ this.makePoint('activity_15.9年卡');
|
|
|
+ if (Number(localStorage.getItem('year-15-9')) !== 2) {
|
|
|
+ localStorage.setItem('year-15-9', 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (this.luckDrawType === 2) {
|
|
|
+ this.makePoint('activity_9.9年卡');
|
|
|
+ if (Number(localStorage.getItem('year-9-9')) !== 2) {
|
|
|
+ localStorage.setItem('year-9-9', 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
// 判断是否可以转动
|
|
|
canBeRotated() {
|