|
@@ -91,6 +91,7 @@
|
|
|
<div>积分中心</div>
|
|
<div>积分中心</div>
|
|
|
</router-link>
|
|
</router-link>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <News :roll="roll"></News>
|
|
|
<div class="scroll-coupon" v-if="getCouponList.length">
|
|
<div class="scroll-coupon" v-if="getCouponList.length">
|
|
|
<swiper :options="swiperScroll">
|
|
<swiper :options="swiperScroll">
|
|
|
<swiper-slide
|
|
<swiper-slide
|
|
@@ -480,6 +481,7 @@
|
|
|
:title="item.cate_name"
|
|
:title="item.cate_name"
|
|
|
:key="index"
|
|
:key="index"
|
|
|
>
|
|
>
|
|
|
|
|
+ <img v-if="item.pic !== ''" :src="item.pic" style="width: 100%">
|
|
|
<div class="wrapper">
|
|
<div class="wrapper">
|
|
|
<div class="classifyList acea-row row-between-wrapper">
|
|
<div class="classifyList acea-row row-between-wrapper">
|
|
|
<div
|
|
<div
|
|
@@ -572,6 +574,7 @@ import JPush from "@libs/jpush";
|
|
|
import { WeChat } from "@libs/pay";
|
|
import { WeChat } from "@libs/pay";
|
|
|
import GoodItem from "@components/GoodItem";
|
|
import GoodItem from "@components/GoodItem";
|
|
|
import {checkUpdate} from "@libs/update";
|
|
import {checkUpdate} from "@libs/update";
|
|
|
|
|
+import News from "@components/News";
|
|
|
const HAS_COUPON_WINDOW = "has_coupon_window";
|
|
const HAS_COUPON_WINDOW = "has_coupon_window";
|
|
|
const LONGITUDE = "user_longitude";
|
|
const LONGITUDE = "user_longitude";
|
|
|
const LATITUDE = "user_latitude";
|
|
const LATITUDE = "user_latitude";
|
|
@@ -579,6 +582,7 @@ let vm = null;
|
|
|
export default {
|
|
export default {
|
|
|
name: "Index",
|
|
name: "Index",
|
|
|
components: {
|
|
components: {
|
|
|
|
|
+ News,
|
|
|
swiper,
|
|
swiper,
|
|
|
swiperSlide,
|
|
swiperSlide,
|
|
|
Tab,
|
|
Tab,
|
|
@@ -726,7 +730,8 @@ export default {
|
|
|
observer: true,
|
|
observer: true,
|
|
|
observeParents: true
|
|
observeParents: true
|
|
|
},
|
|
},
|
|
|
- mapKey: ""
|
|
|
|
|
|
|
+ mapKey: "",
|
|
|
|
|
+ roll: []
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
@@ -861,6 +866,7 @@ export default {
|
|
|
// } else {
|
|
// } else {
|
|
|
// that.followHid = false;
|
|
// that.followHid = false;
|
|
|
// }
|
|
// }
|
|
|
|
|
+ that.$set(that, "roll", res.data.roll);
|
|
|
that.$set(that, "banner", res.data.banner);
|
|
that.$set(that, "banner", res.data.banner);
|
|
|
that.$set(that, "menus", res.data.menus);
|
|
that.$set(that, "menus", res.data.menus);
|
|
|
that.$set(that, "activity", res.data.activity);
|
|
that.$set(that, "activity", res.data.activity);
|