<template>
  <div class="home-item" id="quickVisit">
    <ItemHeaderVue title="快速访问">
      <span class="el-icon-refresh-right" title="刷新"></span>
      <span class="el-icon-more" title="操作"></span>
    </ItemHeaderVue>

    <div class="item-content">
      <div
        class="visit-item"
        v-for="(item, index) in quickVisitItem"
        :key="index"
      >
        <i class="el-icon-set-up"></i>
        <span>{{ item.name }}</span>
      </div>
      <div class="visit-item">
        <i class="el-icon-circle-plus-outline"></i>
        <span>添加</span>
      </div>
    </div>
  </div>
</template>

<script>
import ItemHeaderVue from "./ItemHeader.vue";

export default {
	name: 'QuickVisit',
  components: { ItemHeaderVue },
  data() {
    return {
      quickVisitItem: [
        { name: "用户权限", url: "" },
        { name: "银行信息管理", url: "" },
        { name: "财务费用管理", url: "" },
        { name: "风险提示参数", url: "" },
        { name: "业务公共参数", url: "" },
        { name: "国内证开立", url: "" },
        { name: "国内证通知", url: "" },
        { name: "进口信用证开立", url: "" },
        { name: "转让信用证开立", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
        { name: "国内证通知", url: "" },
      ],
    };
  },
};
</script>

<style scoped>
/* 快速访问 */
#quickVisit .item-content {
  display: flex;
  flex-wrap: wrap;
}
#quickVisit .item-content .visit-item {
  display: flex;
  display: flex;
  width: 150px;
  /* height: 80px; */
  flex-direction: column;
  align-items: center;
  margin: 0 15px 15px;
  cursor: pointer;
}
#quickVisit .item-content .visit-item i {
  color: #0088ff;
  font-size: 36px;
}
#quickVisit .item-content .visit-item span {
  color: #303133;
  font-size: 15px;
  margin-top: 10px;
}
/* #quickVisit .item-content .visit-item:hover i {
  color: var(--themecolor);
} */
#quickVisit .item-content .visit-item:hover span {
  color: var(--themecolor);
}
</style>
