|
|
@@ -107,7 +107,7 @@
|
|
|
>
|
|
|
</swiper>
|
|
|
</div>
|
|
|
- <div class="activity" v-if="activity.length">
|
|
|
+ <!-- <div class="activity" v-if="activity.length">
|
|
|
<div class="title"><img src="@assets/images/title.png" /></div>
|
|
|
<div class="activityCon acea-row row-between-wrapper">
|
|
|
<router-link
|
|
|
@@ -140,7 +140,7 @@
|
|
|
</router-link>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div class="flashSale" v-if="seckillCont">
|
|
|
<div class="title acea-row row-between row-bottom">
|
|
|
<div class="left acea-row row-middle">
|
|
|
@@ -668,7 +668,6 @@
|
|
|
import { swiper, swiperSlide } from "vue-awesome-swiper";
|
|
|
import "@assets/css/swiper.min.css";
|
|
|
import { Tab, Tabs } from "vant";
|
|
|
-import CountDown from "@components/CountDown";
|
|
|
import CouponWindow from "@components/CouponWindow";
|
|
|
import Recommend from "@components/Recommend";
|
|
|
import cookie from "@utils/store/cookie";
|
|
|
@@ -681,6 +680,7 @@ import { getSeckillConfig, getSeckillList } from "@api/activity";
|
|
|
import Loading from "@components/Loading";
|
|
|
import debounce from "lodash.debounce";
|
|
|
import { goShopDetail } from "@libs/order";
|
|
|
+import JPush from "@libs/jpush";
|
|
|
const HAS_COUPON_WINDOW = "has_coupon_window";
|
|
|
const LONGITUDE = "user_longitude";
|
|
|
const LATITUDE = "user_latitude";
|
|
|
@@ -692,7 +692,6 @@ export default {
|
|
|
swiperSlide,
|
|
|
Tab,
|
|
|
Tabs,
|
|
|
- CountDown,
|
|
|
CouponWindow,
|
|
|
Loading,
|
|
|
Recommend
|
|
|
@@ -876,6 +875,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted: function() {
|
|
|
+ JPush.init();
|
|
|
this.getFollow();
|
|
|
this.getHomeData();
|
|
|
this.getCoupon();
|