1b47c5f2 by 任超

图标

1 parent 34ad9c28
1 import Vue from 'vue'
2 import SvgIcon from '@/components/SvgIcon'// svg component
3
4 // register globally
5 Vue.component('svg-icon', SvgIcon)
6
7 const req = require.context('./svg', false, /\.svg$/)
8 const requireAll = requireContext => requireContext.keys().map(requireContext)
9 requireAll(req)
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 <script> 20 <script>
21 import defaultSettings from '@/settings' 21 import defaultSettings from '@/settings'
22 const { title } = defaultSettings 22 const { title } = defaultSettings
23 import logonImg from '@/assets/logo.png' 23 import logonImg from '@/image/logo.png'
24 export default { 24 export default {
25 name: 'SidebarLogo', 25 name: 'SidebarLogo',
26 props: { 26 props: {
......
...@@ -7,7 +7,7 @@ import Element from 'element-ui' ...@@ -7,7 +7,7 @@ import Element from 'element-ui'
7 import './styles/element-variables.scss' 7 import './styles/element-variables.scss'
8 import '@/styles/index.scss' // global css 8 import '@/styles/index.scss' // global css
9 9
10 10 import './image/icons' // icon
11 import store from './store' 11 import store from './store'
12 import router from './router' 12 import router from './router'
13 import _ from 'lodash' 13 import _ from 'lodash'
......
...@@ -244,7 +244,7 @@ input[type="number"] { ...@@ -244,7 +244,7 @@ input[type="number"] {
244 .el-table__empty-text { 244 .el-table__empty-text {
245 height: 200px; 245 height: 200px;
246 line-height: 300px; 246 line-height: 300px;
247 background: url('./images/table-bg.png') 50% 50% no-repeat; 247 background: url('/images/table-bg.png') 50% 50% no-repeat;
248 background-size: 100px; 248 background-size: 100px;
249 letter-spacing: 2px; 249 letter-spacing: 2px;
250 color: #aaa; 250 color: #aaa;
...@@ -340,5 +340,5 @@ input[type="number"] { ...@@ -340,5 +340,5 @@ input[type="number"] {
340 .el-pagination.is-background .el-pager li.active { 340 .el-pagination.is-background .el-pager li.active {
341 background-color: #0F93F6 !important; 341 background-color: #0F93F6 !important;
342 border: 1px solid #0F93F6 !important; 342 border: 1px solid #0F93F6 !important;
343 color: #fff !important; 343 color: #fff !important;
344 } 344 }
...\ No newline at end of file ...\ No newline at end of file
......