<template>
  <div class="home">
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item>1</van-swipe-item>
      <van-swipe-item>2</van-swipe-item>
      <van-swipe-item>3</van-swipe-item>
      <van-swipe-item>4</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{
  .my-swipe{
    margin: 0 auto;
  }
  .my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    line-height: 200px;
    text-align: center;
    background-color: #39a9ed;
  }
}
</style>
