前端新增可配置侧边栏风格,可以配置网页主题色

This commit is contained in:
Devil
2021-06-25 17:24:02 +08:00
parent 7e1348cb41
commit 9f5b59c4b5
15 changed files with 9950 additions and 137 deletions
+3 -1
View File
@@ -58,7 +58,8 @@ import {
Upload,
Progress,
MessageBox,
Image
Image,
ColorPicker
} from 'element-ui'
Vue.use(Button)
@@ -110,6 +111,7 @@ Vue.use(Progress)
Vue.use(Scrollbar)
Vue.use(Loading.directive)
Vue.use(Image)
Vue.use(ColorPicker)
Vue.prototype.$loading = Loading.service
Vue.prototype.$message = Message
+2 -1
View File
@@ -10,7 +10,8 @@ import APlayer from '@moefe/vue-aplayer'
import '../../node_modules/timeline-vuejs/dist/timeline-vuejs.css'
// 路由守卫
import Bus from '@/utils/bus'
//加载网站配置文件夹
// 加载网站配置文件夹
import '../style/element_visiable.scss' // 导入主题色配置
import config from './config'
Vue.prototype.$GIN_VUE_ADMIN = config
console.log(config)