huangxiaojing il y a 2 ans
Parent
commit
44548267ef
2 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. 4 2
      pages/activity/lottery/index.vue
  2. 4 2
      pages/activity/lottery/pc.vue

+ 4 - 2
pages/activity/lottery/index.vue

@@ -563,7 +563,6 @@ export default {
     },
     closed() {
       this.makePoint('activity_关闭抽奖', 'eventCode传27_抽奖流程');
-      this.selMealId = this.mealId;
       if (this.luckDrawType === 1 && +localStorage.getItem(this.$auth.user.username + 'year-15-9') !== 2) {
         this.show = true;
         localStorage.setItem(this.$auth.user.username + 'year-15-9', 2);
@@ -572,7 +571,10 @@ export default {
         this.show = true;
         localStorage.setItem(this.$auth.user.username + 'year-9-9', 2);
       }
-      this.showPay = false
+      this.showPay = false;
+      this.selMealId = this.mealId;
+      this.actualPrice = this.yearActualPrice;
+      this.originalPrice = this.yearOriginalPrice;
     },
   },
 };

+ 4 - 2
pages/activity/lottery/pc.vue

@@ -513,7 +513,6 @@ export default {
     },
     closed() {
       this.makePoint('activity_关闭抽奖', 'eventCode传27_抽奖流程');
-      this.selMealId = this.mealId;
       if (this.luckDrawType === 1 && +localStorage.getItem(this.$auth.user.username + 'year-15-9') !== 2) {
         this.show = true;
         localStorage.setItem(this.$auth.user.username + 'year-15-9', 2);
@@ -522,7 +521,10 @@ export default {
         this.show = true;
         localStorage.setItem(this.$auth.user.username + 'year-9-9', 2);
       }
-      this.showPay = false
+      this.showPay = false;
+      this.selMealId = this.mealId;
+      this.actualPrice = this.yearActualPrice;
+      this.originalPrice = this.yearOriginalPrice;
     },
   },
 };