<template>
  <div>
    <div class="list">
      <ul class="img" v-for="(item, index) in list" :key="index">
        <li class="img-box">
          <span class="text">{{ item.val }}</span>
        </li>
        <div>{{ item.name }}</div>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        {
          name: "高层建筑",
          val: 1885,
        },
        {
          name: "超高层建筑",
          val: 1885,
        },
        {
          name: "高层公共建筑",
          val: 1885,
        },
        {
          name: "高层住宅建筑",
          val: 1885,
        },
        {
          name: "一类高层公共建筑",
          val: 1885,
        },
        {
          name: "二类高层公共建筑",
          val: 1885,
        },
        {
          name: "一类高层住宅建筑",
          val: 1885,
        },
        {
          name: "二类高层住宅建筑",
          val: 1885,
        },
      ],
    };
  },
};
</script>

<style lang="less" scoped>
.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  align-items: center;
  // line-height: 10px;
  margin: 26px 0;
  .img {
    width: 110px;
    height: 124px;
    margin-top: 6px;
    .img-box {
      width: 80px;
      height: 50px;
      background: url("../../../assets/images/build.png") no-repeat;
      margin-left: 10px;
      margin-bottom: 6px;
    }
    .text {
      font-size: 22px;
      text-align: center;
      margin-left: 17px;
    }
  }
}
</style>
