Commit 69a9a92818f097ffea5c31140ee2a5a4585894f3
1 parent
15a3f982
组件样式优化
Showing
1 changed file
with
13 additions
and
1 deletions
src/pages/index/index.vue
| 1 | <template> | 1 | <template> |
| 2 | <div> | 2 | <div> |
| 3 | + <!--轮播--> | ||
| 4 | + <swiper></swiper> | ||
| 5 | + <!--导航--> | ||
| 6 | + <swiperItem></swiperItem> | ||
| 3 | <!--优惠专区--> | 7 | <!--优惠专区--> |
| 4 | <discountZone></discountZone> | 8 | <discountZone></discountZone> |
| 5 | <!--天天特惠--> | 9 | <!--天天特惠--> |
| 6 | <preferential></preferential> | 10 | <preferential></preferential> |
| 11 | + <!--视听专区--> | ||
| 12 | + <videoArea></videoArea> | ||
| 7 | </div> | 13 | </div> |
| 8 | </template> | 14 | </template> |
| 9 | 15 | ||
| 10 | <script> | 16 | <script> |
| 17 | + import swiper from "@/components/swiper/swiper"; | ||
| 18 | + import swiperItem from "@/components/swiperItem/swiperItem"; | ||
| 11 | import discountZone from "@/components/discountZone/discountZone"; | 19 | import discountZone from "@/components/discountZone/discountZone"; |
| 12 | import preferential from "@/components/preferential/preferential"; | 20 | import preferential from "@/components/preferential/preferential"; |
| 21 | + import videoArea from "@/components/videoArea/videoArea"; | ||
| 13 | export default { | 22 | export default { |
| 14 | name: 'index', | 23 | name: 'index', |
| 15 | data () { | 24 | data () { |
| @@ -18,8 +27,11 @@ | @@ -18,8 +27,11 @@ | ||
| 18 | } | 27 | } |
| 19 | }, | 28 | }, |
| 20 | components:{ | 29 | components:{ |
| 30 | + swiper, | ||
| 31 | + swiperItem, | ||
| 21 | discountZone, | 32 | discountZone, |
| 22 | - preferential | 33 | + preferential, |
| 34 | + videoArea | ||
| 23 | }, | 35 | }, |
| 24 | created(){ | 36 | created(){ |
| 25 | 37 |