<template>
  <div class="warning-box">
    <div class="warning-box-top">
      <div class="top-item" v-for="item in [1, 2, 3, 4, 5, 6]" :key="item">
        <div class="top-item-img">
          <img
            src="../../../../assets/img/modules/visual/shiye.png"
            alt=""
            srcset=""
          />
          <div class="top-item-left">
            <span>失业人员</span>
            <span>1022</span>
          </div>
        </div>
        <div class="top-item-num">
          <div class="num-item num-item-active" @click="onClickList">
            <div>5-10人</div>
            <div>
              <div>6栋</div>
              <img
                src="../../../../assets/img/modules/visual/right-icon.png"
                alt=""
                class="right-icon"
              />
            </div>
          </div>
          <div class="num-item">
            <div>5-10人</div>
            <div>
              <div>6栋</div>
              <img
                src="../../../../assets/img/modules/visual/right-icon.png"
                alt=""
                class="right-icon"
              />
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="warning-box-bottom">
      <screen-table :headerList='headerList'></screen-table>
      <div class="pagination">
      <el-pagination
        background
        layout="prev, pager, next"
        :total="1000">
      </el-pagination>
      </div>
    </div>
  </div>
</template>

<script>
import screenTable from "./components/screen-table/index";
export default {
  name: "warning-box",
  components: {
    screenTable
  },
  data() {
    return {
        headerList:[
        { title: '序号' },
        { title: '所属网格'},
        { title: '所属小区'},
        { title: '楼号'},
        { title: '姓名' },
      ],
    };
  },
  methods: {
  onClickList(){}
  }
};
</script>

<style
  lang="scss"
  src="@/assets/scss/modules/visual/warning.scss"
  scoped
></style>
