QuickVisit.vue 2.81 KB
Newer Older
1
<template>
潘际乾 committed
2
  <div class="home-cell" id="quickVisit">
3
    <CellHeaderVue title="快速访问"> </CellHeaderVue>
4

潘际乾 committed
5
    <div class="cell-content">
6
      <div
潘际乾 committed
7
        class="content-wrapper"
8 9 10
        v-for="(item, index) in quickVisitItem"
        :key="index"
      >
11 12 13 14 15 16
        <div class="visit-item-wrapper">
          <div class="visit-item">
            <!-- <i class="el-icon-set-up"></i> -->
            <img :src="item.icon" alt="" />
            <span>{{ item.name }}</span>
          </div>
潘际乾 committed
17
        </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
  height: 30%;
}
94 95 96 97 98 99
#quickVisit .cell-content .visit-item-wrapper {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}
潘际乾 committed
100 101
#quickVisit .cell-content .visit-item {
  /* padding-bottom: 16px; */
102 103 104 105 106
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
潘际乾 committed
107
#quickVisit .cell-content .visit-item i {
108 109 110
  color: #0088ff;
  font-size: 36px;
}
潘际乾 committed
111
#quickVisit .cell-content .visit-item span {
112
  color: #303133;
潘际乾 committed
113
  font-size: 14px;
114 115
  margin-top: 10px;
}
潘际乾 committed
116
/* #quickVisit .cell-content .visit-item:hover i {
117 118
  color: var(--themecolor);
} */
潘际乾 committed
119
#quickVisit .cell-content .visit-item:hover span {
120 121 122
  color: var(--themecolor);
}
</style>