|
@@ -43,8 +43,7 @@
|
|
|
<div class="txt4"> 1年使用权 每月30小时</div>
|
|
|
</div>
|
|
|
<div class="fb">
|
|
|
- <div v-for="item in mealList" :key="item.id" :class="selMealId === item.id ? 'coupon-2 active' : 'coupon-2'"
|
|
|
- @click=" selMealId = item.id;originalPrice=+item.originalPrice;makePoint(item.day === 30 ? 'activity_38月卡' : 'activity_268年卡');">
|
|
|
+ <div v-for="item in mealList" :key="item.id" :class="selMealId === item.id ? 'coupon-2 active' : 'coupon-2'" @click=" selMealId = item.id;originalPrice=+item.originalPrice;makePoint(item.day === 30 ? 'activity_38月卡' : 'activity_268年卡');">
|
|
|
<div class="coupon-title">
|
|
|
<span>¥</span><span class="txt2">{{
|
|
|
item.actualPrice
|
|
@@ -298,6 +297,8 @@ export default {
|
|
|
async fetch() {
|
|
|
if (this.$userAgent.isAndroid) {
|
|
|
this.token = await window.native.getToken();
|
|
|
+ } else if (window.native.isPC) {
|
|
|
+ this.$router.push({ path: '/activity/lottery/pc', query: {token: this.$route.query.token}})
|
|
|
} else {
|
|
|
this.token = this.$route.query.token;
|
|
|
}
|
|
@@ -318,9 +319,6 @@ export default {
|
|
|
this.getLuckDrawActivity();
|
|
|
this.getCarouselList();
|
|
|
},
|
|
|
- mounted() {
|
|
|
- console.log(window.navigator.userAgent)
|
|
|
- },
|
|
|
methods: {
|
|
|
async getCarouselList() {
|
|
|
const res = await this.$axios.$post('/activity/v1/member/carousel');
|