QuickVisit.vue 2.67 KB
Newer Older
1
<template>
潘际乾 committed
2 3 4 5
  <div class="home-cell" id="quickVisit">
    <CellHeaderVue title="快速访问">
      <span class="el-icon-refresh" title="刷新"></span>
    </CellHeaderVue>
6

潘际乾 committed
7
    <div class="cell-content">
8
      <div
潘际乾 committed
9
        class="content-wrapper"
10 11 12
        v-for="(item, index) in quickVisitItem"
        :key="index"
      >
潘际乾 committed
13 14 15 16 17
        <div class="visit-item">
          <!-- <i class="el-icon-set-up"></i> -->
          <img :src="item.icon" alt="" />
          <span>{{ item.name }}</span>
        </div>
18 19 20 21 22 23
      </div>
    </div>
  </div>
</template>

<script>
潘际乾 committed
24
import CellHeaderVue from "./CellHeader.vue";
25 26

export default {
潘际乾 committed
27
  name: "QuickVisit",
潘际乾 committed
28
  components: { CellHeaderVue },
29 30 31
  data() {
    return {
      quickVisitItem: [
潘际乾 committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
        {
          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: "",
        },
77 78 79 80 81 82 83 84
      ],
    };
  },
};
</script>

<style scoped>
/* 快速访问 */
潘际乾 committed
85
#quickVisit .cell-content {
潘际乾 committed
86 87
  /* display: flex;
  flex-wrap: wrap; */
88
}
潘际乾 committed
89 90
#quickVisit .content-wrapper {
  display: inline-block;
潘际乾 committed
91
  width: 33%;
潘际乾 committed
92 93 94 95
  height: 30%;
}
#quickVisit .cell-content .visit-item {
  /* padding-bottom: 16px; */
96 97 98 99 100
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
潘际乾 committed
101
#quickVisit .cell-content .visit-item i {
102 103 104
  color: #0088ff;
  font-size: 36px;
}
潘际乾 committed
105
#quickVisit .cell-content .visit-item span {
106
  color: #303133;
潘际乾 committed
107
  font-size: 14px;
108 109
  margin-top: 10px;
}
潘际乾 committed
110
/* #quickVisit .cell-content .visit-item:hover i {
111 112
  color: var(--themecolor);
} */
潘际乾 committed
113
#quickVisit .cell-content .visit-item:hover span {
114 115 116
  color: var(--themecolor);
}
</style>