<template>
<div>
  <van-search placeholder="请输入搜索关键词" />
  <swiper data_name="banner_index"></swiper>


  <mynav data_name="user_main_menu"></mynav>



  <swiper data_name="main1"></swiper>
  <div><van-button type="primary" @click="$router.push({name:'goods_list'})">主要按钮</van-button></div>
</div>
</template>

<script>
  import swiper from '@/components/modules/swiper'
  import mynav from '@/components/modules/mynav'
  export default {
    components:{swiper, mynav},
    name: 'home_body'
  }
</script>

<style rel="stylesheet/scss" lang="scss">
  .home-swpier .van-swipe-item{height: 2rem; background-color: #ffcd90;}
  .home-category-list{text-align: center; font-size:0.28rem; padding:0.32rem 0; color:#666;}
  .home-category-list svg{height:0.8rem;width:0.8rem; color:#fff; background: #ff594d;
    -webkit-border-radius: 0.1rem;
    -moz-border-radius: 0.1rem;
    border-radius: 0.1rem;}
  .home-category-list svg path{fill:#fff;}
</style>
