From 4407091eea19727ed689fdfbf52a85c1e065490e Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 29 Aug 2024 19:09:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcss=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/common.scss | 1 - src/styles/sidebar.scss | 4 +-- src/styles/theme/hey.scss | 8 +---- src/styles/theme/lte.scss | 8 ++--- .../goodsShelf/basicdataGoodsShelfView.vue | 33 +------------------ 5 files changed, 5 insertions(+), 49 deletions(-) diff --git a/src/styles/common.scss b/src/styles/common.scss index 651772f8..ebec425c 100644 --- a/src/styles/common.scss +++ b/src/styles/common.scss @@ -240,7 +240,6 @@ a { & > form { overflow: hidden; } - // overflow: hidden; } .header_search { diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 0d9a6ca8..941a00c2 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -55,6 +55,7 @@ } &.is-active { + background-color: #2f4370; &:before { content: ''; top: 0; @@ -64,9 +65,6 @@ background-color: #4378eb; position: absolute; } - - background-color: #2f4370; - i, span { color: #d3832a; } diff --git a/src/styles/theme/hey.scss b/src/styles/theme/hey.scss index a7c43892..98ee6208 100644 --- a/src/styles/theme/hey.scss +++ b/src/styles/theme/hey.scss @@ -2,7 +2,6 @@ .avue-sidebar { background-color: #fff; box-shadow: 0 1px 4px rgba(0, 21, 41, .08); - .el-menu-item, .el-sub-menu__title { i, span { color: rgba(49, 58, 70, .8); @@ -17,13 +16,11 @@ } &.is-active { + background-color: #f0f6ff; &:before { left: auto; right: 0; } - - background-color: #f0f6ff; - i, span { color: #172e60; } @@ -34,7 +31,6 @@ .avue-logo { background-color: #fff; box-shadow: none; - .avue-logo_title { color: #172e60; font-size: 20px; @@ -43,11 +39,9 @@ .avue-tags { background: #f3f6f8; - .el-tabs__item { color: rgba(0, 0, 0, .65) !important; } - .is-active { background-color: #fff; border-bottom: none !important; diff --git a/src/styles/theme/lte.scss b/src/styles/theme/lte.scss index d0df4709..e0135ba5 100644 --- a/src/styles/theme/lte.scss +++ b/src/styles/theme/lte.scss @@ -1,7 +1,6 @@ .theme-lte { .avue-logo { - background-color: #172e60; - + background-color: #172e60;、 .avue-logo_title { font-weight: 500; font-size: 20px; @@ -18,7 +17,6 @@ .avue-sidebar { background-color: #263238; - .el-menu-item, .el-sub-menu__title { i, span { color: #8a979e; @@ -29,12 +27,10 @@ } &.is-active { + background-color: #2b373d; &:before { display: none; } - - background-color: #2b373d; - i, span { color: #fff; } diff --git a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue index 3d483ce4..04d3ee14 100644 --- a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue +++ b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue @@ -2556,15 +2556,9 @@ const { .mabx { height: 70vh; padding: 10px; - // box-sizing: border-box; box-sizing: border-box; .contentbx { - // width: calc(150 * var(--length) * 0.0521vw); - - // border: 0 !important; - display: flex; - // flex-direction: column; align-items: flex-end; border: 1.5px solid var(--boxcolor); border: none; @@ -2576,20 +2570,9 @@ const { align-items: center; } .itemwbox { - // height: 90px; width: 320px; box-sizing: border-box; margin-right: 2px; - // border-right: 1.5px solid var(--boxcolor); - // &:nth-last-child(1) { - // border-right: 0; - // } - - &:nth-last-child(1) { - .itemmibox { - // border-bottom: 1.5px solid var(--boxcolor); - } - } .titls { font-size: 16px !important; margin-bottom: 10px; @@ -2598,24 +2581,15 @@ const { height: 130px; width: 150px; font-size: 12px !important; - // border-bottom: 1.5px solid var(--boxcolor); - // border-right: 1.5px solid var(--boxcolor); border-bottom: 1.5px solid var(--boxcolor); - &:nth-last-child(1) { - border-bottom: none; - } - // margin-right: 1px; - // margin-bottom: 1px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; - - box-sizing: border-box; color: rgba(237, 25, 25); margin-bottom: 2px; &:nth-last-child(1) { - // border-right: 0; + border-bottom: none; } } } @@ -2701,11 +2675,6 @@ const { padding: 10px; box-sizing: border-box; justify-content: space-between; - > div:nth-of-type(1) { - // .regionsele { - // margin-left: 20px; - // } - } > .tips { display: flex; align-items: center;