提交 295a4390 authored 作者: 王鹏飞's avatar 王鹏飞

style: 样式优化

上级 ef6c7525
...@@ -54,13 +54,13 @@ export default { ...@@ -54,13 +54,13 @@ export default {
.app-aside { .app-aside {
position: sticky; position: sticky;
top: 0; top: 0;
width: 240px; width: 200px;
z-index: 100; z-index: 100;
background: #fff; background: #fff;
border-right: 1px solid rgba(0, 0, 0, 0.12); border-right: 1px solid rgba(0, 0, 0, 0.12);
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
flex: 0 0 240px; flex: 0 0 200px;
} }
.nav { .nav {
margin: 20px 0; margin: 20px 0;
......
...@@ -20,10 +20,10 @@ export default { ...@@ -20,10 +20,10 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.app-breadcrumb { .app-breadcrumb {
padding: 20px 0 32px; padding: 18px 0 32px;
.el-breadcrumb { .el-breadcrumb {
font-size: 24px; font-size: 20px;
font-weight: 400; font-weight: 400;
line-height: 1; line-height: 1;
} }
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100vh; min-height: 100vh;
background-color: #f4f5f7; background-color: #ededed;
} }
.app-layout-container { .app-layout-container {
flex: 1; flex: 1;
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
.app-main { .app-main {
position: relative; position: relative;
flex: 1; flex: 1;
padding: 24px; padding: 20px;
overflow: hidden; overflow: hidden;
} }
.app-main-inner { .app-main-inner {
......
...@@ -10,7 +10,7 @@ import beforeEnter from '@/utils/beforeEnter' ...@@ -10,7 +10,7 @@ import beforeEnter from '@/utils/beforeEnter'
// Element-UI // Element-UI
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import '@/assets/theme/style.scss' import '@/assets/theme/style.scss'
Vue.use(ElementUI) Vue.use(ElementUI, { size: 'small' })
// 注册模块 // 注册模块
modules({ router, store }) modules({ router, store })
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论