From f83e66ee2ccd5e1fd0b9b3a737647fe4f1295888 Mon Sep 17 00:00:00 2001 From: bibi <541660090@qq.com> Date: Thu, 30 Dec 2021 10:30:24 +0800 Subject: [PATCH] 1 --- src/styles/antd.less | 2 +- src/styles/index.less | 36 +++++ src/views/Employee/index.vue | 285 ++++++++++++++++++++++++++++++++--- 3 files changed, 305 insertions(+), 18 deletions(-) diff --git a/src/styles/antd.less b/src/styles/antd.less index b6cc3b9..7442381 100644 --- a/src/styles/antd.less +++ b/src/styles/antd.less @@ -1,6 +1,6 @@ .ant-layout { width: 100% !important; - height: 100% !important; + // height: 100% !important; } .ant-layout-sider-children { background-color: #2a334f; diff --git a/src/styles/index.less b/src/styles/index.less index f543c71..41e39d7 100644 --- a/src/styles/index.less +++ b/src/styles/index.less @@ -1 +1,37 @@ @import "./antd.less"; +// 公共样式 +#app{ + background: #E5E5E5; +} +.content{ + padding: 13px; +} +.main{ + padding: 13px; + background: #fff; +} +.cardTitle{ + border-left: 8px solid #205FBD; + padding-left:10px; + margin-left: 10px; + margin-bottom: 10px; +} +#commonTable{ + margin: 24px; +} +.search-box { + margin: 30px; +} +.footer { + height: 84px; + width: 100%; + background: #fff; + position: fixed; + bottom: 0; + z-index: 999; + line-height: 84px; + box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.35); + border-radius: 4px 4px 0px 0px; + border: 1px solid #e8e8e8; + left: 200px; + } \ No newline at end of file diff --git a/src/views/Employee/index.vue b/src/views/Employee/index.vue index 18f653e..344a0e2 100644 --- a/src/views/Employee/index.vue +++ b/src/views/Employee/index.vue @@ -1,26 +1,277 @@ - - - +.left-tree { + padding: 10px; + border-right: 1px solid #0000000f; + height: 100vh; +} +#commonTable { + padding: 10px; +} + \ No newline at end of file