<template>
  <div class="AppVillagersCircle">
    <div class="banner" v-for="(item, index) in bannerList" :key="index" @click="linkTo(item.linkUrl)">
      <img :src="item.img" alt="">
      <p>{{item.title}}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'AppVillagersCircle',
  appName: '村民圈审核',
  data() {
    return {
      bannerList: [
        {
          img: require('./img/blue.png'),
          title: '发布信息审核',
          linkUrl: './infoList'
        },
        {
          img: require('./img/green.png'),
          title: '评论审核',
          linkUrl: './commentList'
        }
      ]
    }
  },
  onShow() {
    document.title = '村民圈审核'
  },
  methods: {
    linkTo(url) {
      uni.navigateTo({url})
    }
  },
}
</script>

<style lang="scss" scoped>
.AppVillagersCircle{
  height: 100%;
  padding-top: 16px;
  .banner{
    padding: 32px 40px 0;
    position: relative;
    img{
      width: 100%;
      height: 228px;
    }
    p{
      position: absolute;
      top: 120px;
      left: 88px;
      font-size: 44px;
      font-family: PingFang-SC-Heavy, PingFang-SC;
      font-weight: 800;
      color: #FFF;
      line-height: 60px;
    }
  }
}
</style>