解决了图标不显示问题

pull/6/head
yzw 2022-12-07 10:27:51 +08:00
parent d4b336ddb0
commit 2134e380f6
4 changed files with 21 additions and 3 deletions

View File

@ -27,7 +27,6 @@
"nprogress": "0.2.0", "nprogress": "0.2.0",
"path-to-regexp": "2.4.0", "path-to-regexp": "2.4.0",
"vue": "2.6.10", "vue": "2.6.10",
"vue-fontawesome": "^0.0.2",
"vue-router": "3.0.6", "vue-router": "3.0.6",
"vue-styled-components": "^1.6.0", "vue-styled-components": "^1.6.0",
"vuex": "3.1.0" "vuex": "3.1.0"

View File

@ -6,8 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.png"> <link rel="icon" href="<%= BASE_URL %>favicon.png">
<title><%= webpackConfig.name %></title> <title><%= webpackConfig.name %></title>
<link rel="stylesheet" href="<%= BASE_URL %>common.css"> <!-- <link rel="stylesheet" href="<%= BASE_URL %>common.css"> -->
<!-- <link rel="stylesheet" href="<%= BASE_URL %>font-awesome.css"> -->
<script type="text/javascript" src="<%= BASE_URL %>d3.min.js"></script> <script type="text/javascript" src="<%= BASE_URL %>d3.min.js"></script>
</head> </head>
<body> <body>

View File

@ -8,6 +8,9 @@ import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // global css import '@/styles/index.scss' // global css
// 引入font-awesome
import 'font-awesome/css/font-awesome.css'
import App from './App' import App from './App'
import store from './store' import store from './store'
import router from './router' import router from './router'

View File

@ -597,3 +597,20 @@ export default {
font-size: 18px; font-size: 18px;
} }
</style> </style>
<style lang="scss">
// common.css css
#svg-vis {
padding-top: 40px !important;
}
.laomJi.contracted {
overflow: visible;
}
.cBHfln.contracted {
max-height: 100px;
}
</style>