<template>
  <div class="home">
      <swiper></swiper>
      <div class='home-img-1'>
        <img :src='homeImg1' alt="">
        <div class="home-nav">
          <div class="">品牌</div>
          <div class="">管家</div>
          <div class="">证件</div>
          <div class="">工具</div>
          <div class="">赔退</div>
        </div>
      </div>
      <homeList></homeList>
  </div>
</template>

<script>
export default {
  name: 'home',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App',
      homeImg1: 'http://odulvej8l.bkt.clouddn.com/%E5%9B%BE%E6%A0%87-01.jpg'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.home-img-1{
  background-color: #fff;
  margin-top: 3%;
  padding: 3% 0;
  position: relative;
}
.home-img-1 img{
  display: block;
  width: 100%;
}
.home-img-1 .home-nav{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 3%;
  display: flex;
  display: -moz-flex;
  display: -webkit-flex;
}
.home-img-1 .home-nav div{
  width: 20%;
  color: rgba(0,0,0,0.5);
  border: 1px solid rgba(0,0,0,0.5);
  line-height: 54px;
}
</style>
