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