From b203d9310b6fa7729ba1911f1ef775ea3c75cef4 Mon Sep 17 00:00:00 2001 From: wyuu Date: Fri, 31 Oct 2025 09:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/ruoyi.scss | 35 ++++++++------- src/components/selectSearch/index.vue | 10 ++++- src/components/tabViews/index.vue | 20 ++++----- src/views/checkCode/index.vue | 65 +++++++++++++-------------- src/views/liswork/work/index.vue | 14 +++--- 5 files changed, 75 insertions(+), 69 deletions(-) diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index 8827267..2e287dc 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -95,12 +95,12 @@ } .el-form--inline .el-form-item { - margin-right: 15px; + margin-right: .9375rem; } .el-form-item__label { font-weight: 400; - font-size: 14px; + font-size: .875rem; color: #08355E; } @@ -117,7 +117,7 @@ .el-table { padding: 0 !important; - border-radius: 10px !important; + border-radius: .625rem !important; .el-table__header-wrapper, .el-table__fixed-header-wrapper { @@ -125,8 +125,8 @@ word-break: break-word; background-color: #1F6DD3 !important; color: #FFF; - height: 30px !important; - font-size: 13px; + height: 1.875rem !important; + font-size: .8125rem; } } @@ -251,7 +251,7 @@ border: 1px solid #96B8D9 !important; border-top: none !important; /* 蓝色外边框 */ - border-radius: 8px; + border-radius: .5rem; /* 可选:添加边框圆角 */ overflow: hidden; } @@ -261,10 +261,10 @@ word-break: break-word; background-color: #1F6DD3 !important; color: #FFF; - height: 30px !important; - line-height: 30px !important; + height: 1.875rem !important; + line-height: 1.875rem !important; padding: 0 !important; - font-size: 13px; + font-size: .8125rem; border-color: #1F6DD3 !important; } @@ -277,12 +277,12 @@ } .vxe-table--render-default .vxe-body--column { - height: 23px !important; - line-height: 23px !important; + height: 1.4375rem !important; + line-height: 1.4375rem !important; } .el-checkbox { - height: 23px !important; + height: 1.4375rem !important; } } @@ -302,8 +302,8 @@ // 滚动条 .mytable-style ::-webkit-scrollbar { - width: 8px; - height: 8px; + width: .5rem; + height: .5rem; } .mytable-style ::-webkit-scrollbar-thumb { @@ -343,8 +343,9 @@ box-shadow: none !important; } } + .el-select__wrapper { - box-shadow: none; + box-shadow: none; background: transparent !important; padding: 0 !important; outline: none; @@ -358,10 +359,10 @@ /** 表单布局 **/ .form-header { - font-size: 15px; + font-size: .9375rem; color: #6379bb; border-bottom: 1px solid #ddd; - margin: 8px 10px 25px 10px; + margin: .5rem .625rem 1.5625rem .625rem; padding-bottom: 5px } diff --git a/src/components/selectSearch/index.vue b/src/components/selectSearch/index.vue index c97f9a0..326f164 100644 --- a/src/components/selectSearch/index.vue +++ b/src/components/selectSearch/index.vue @@ -1,5 +1,5 @@