<template>
  <div class="home">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item>
        <img class="banner" src="http://121.5.58.50:8088/banner.png" alt="">
      </van-swipe-item>
      <van-swipe-item>
        <img class="banner" src="http://121.5.58.50:8088/banner1.png" alt="">
      </van-swipe-item>
    </van-swipe>
    <vote></vote>
    <announcement></announcement>
  </div>
</template>

<script>
// @ is an alias to /src
import announcement from "@/views/Home/module/announcement";
import vote from "@/views/Home/module/vote";
export default {
  name: 'Home',
  components:{
    announcement,
    vote
  }

}
</script>
<style scoped lang="less">
.home{
  .banner{
    width: 100%;
    height: 100%;
  }
  .my-swipe{
    margin: 0 auto;
  }
  .my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    line-height: 200px;
    text-align: center;
    height: 240px;
  }
}
</style>
