<template>
  <div class="home-cell" id="quickSearch">
    <CellHeaderVue title="快速查询"> </CellHeaderVue>
    <div class="cell-content">
      <div
        class="content-wrapper"
        v-for="(item, index) in options"
        :key="index"
      >
        <div class="search-item">
          <!-- <i class="el-icon-set-up"></i> -->
          <img :src="item.icon" alt="" />
          <span>{{ item.name }}</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import CellHeaderVue from "./CellHeader.vue";

export default {
  name: "QuickSearch",
  components: { CellHeaderVue },
  data() {
    return {
      options: [
        {
          name: "报文查询",
          icon: require("~/assets/icons/报文查询.svg"),
          url: "",
        },
        {
          name: "银行查询",
          icon: require("~/assets/icons/银行查询.svg"),
          url: "",
        },
        {
          name: "公司查询",
          icon: require("~/assets/icons/公司查询.svg"),
          url: "",
        },
        {
          name: "交易查询",
          icon: require("~/assets/icons/交易查询.svg"),
          url: "",
        },
        {
          name: "序号查询",
          icon: require("~/assets/icons/序号查询.svg"),
          url: "",
        },
        {
          name: "企业分类信息查询",
          icon: require("~/assets/icons/企业分类信息查询.svg"),
          url: "",
        },
        {
          name: "电子数据查询",
          icon: require("~/assets/icons/电子数据查询.svg"),
          url: "",
        },
        {
          name: "账务查看",
          icon: require("~/assets/icons/账务查看.svg"),
          url: "",
        },
        {
          name: "添加",
          icon: require("~/assets/icons/添加.svg"),
          url: "",
        },
      ],
    };
  },
};
</script>

<style scoped>
#quickSearch .cell-content {
  /* display: flex;
  flex-wrap: wrap; */
}
#quickSearch .content-wrapper {
  display: inline-block;
  width: 33%;
  height: 30%;
}
#quickSearch .cell-content .search-item {
  /* padding-bottom: 16px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
#quickSearch .cell-content .search-item i {
  color: #0088ff;
  font-size: 36px;
}
#quickSearch .cell-content .search-item span {
  color: #303133;
  font-size: 14px;
  margin-top: 10px;
}
/* #quickSearch .cell-content .search-item:hover i {
  color: var(--themecolor);
} */
#quickSearch .cell-content .search-item:hover span {
  color: var(--themecolor);
}
</style>
