From bcdfbf90de95e2f38a2050baa3609794fa9ecbb3 Mon Sep 17 00:00:00 2001 From: sc Date: Sun, 25 Apr 2021 17:01:20 +0800 Subject: [PATCH] UP --- src/layout/components/side.vue | 3 +++ src/style/style.less | 6 ++++-- vue.config.js | 6 ++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 vue.config.js diff --git a/src/layout/components/side.vue b/src/layout/components/side.vue index bbb2783b..3c0cc454 100644 --- a/src/layout/components/side.vue +++ b/src/layout/components/side.vue @@ -10,6 +10,9 @@
+
+

{{ pmenu.meta.title }}

+
diff --git a/src/style/style.less b/src/style/style.less index 52e8cc41..179ed189 100644 --- a/src/style/style.less +++ b/src/style/style.less @@ -24,7 +24,9 @@ .aminui-side {position: absolute;z-index: 5;top:0px;left:65px;bottom:0px;width:210px;background: #fff;box-shadow: 2px 0 8px 0 rgba(29,35,41,.05);border-right: 1px solid #e6e6e6;} -.adminui-side-scroll {position: absolute;top:0px;left:0px;bottom:0px;right:0px;overflow: auto;overflow-x:hidden;} +.adminui-side-top {border-bottom: 1px solid #ebeef5;height:50px;line-height: 50px;} +.adminui-side-top h2 {padding:0 20px;font-size: 17px;color: #3c4a54;} +.adminui-side-scroll {position: absolute;top:50px;left:0px;bottom:0px;right:0px;overflow: auto;overflow-x:hidden;} .aminui-body {position: absolute;z-index: 4;top:0px;left:275px;bottom:0px;right:0px;} @@ -68,4 +70,4 @@ .el-header {background: #fff;border-bottom: 1px solid #e6e6e6;padding:13px 15px;} .el-main {padding:15px;} .el-pagination {margin-top: 20px;} -.el-drawer__body {overflow: auto;} \ No newline at end of file +.el-drawer__body {overflow: auto;} diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 00000000..fcbb4712 --- /dev/null +++ b/vue.config.js @@ -0,0 +1,6 @@ +module.exports = { + devServer: { + open: false, //运行后自动打开游览器 + port: 2800 //挂载端口 + } +}