From 8190946a875d9fae01d0253e637c0beed254d21f Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Tue, 31 Mar 2026 10:24:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/vue.config.js b/ruoyi-ui/vue.config.js index 09277b5b..2ca9788b 100644 --- a/ruoyi-ui/vue.config.js +++ b/ruoyi-ui/vue.config.js @@ -36,8 +36,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: baseUrl, - // target: "http://116.62.17.81:20202", + // target: baseUrl, + target: "http://116.62.17.81:62318", changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' From 03282c9b69be4ca8876317d6275d6029165b7bcd Mon Sep 17 00:00:00 2001 From: wjj <2069666735@qq.com> Date: Fri, 3 Apr 2026 11:00:33 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=93=9D=E7=81=B0=E6=8D=A2=E7=9A=AE=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/assets/styles/element-variables.scss | 26 ++- ruoyi-ui/src/assets/styles/index.scss | 24 ++- ruoyi-ui/src/assets/styles/ruoyi.scss | 157 ++++++++++++++++-- ruoyi-ui/src/assets/styles/variables.scss | 10 +- ruoyi-ui/src/components/Pagination/index.vue | 2 +- .../src/components/RightToolbar/index.vue | 19 +++ ruoyi-ui/src/layout/components/Navbar.vue | 12 +- .../src/layout/components/TagsView/index.vue | 11 +- .../ccdiProject/components/ProjectTable.vue | 16 +- .../ccdiProject/components/QuickEntry.vue | 32 ++-- .../ccdiProject/components/SearchBar.vue | 21 ++- .../components/detail/OverviewStats.vue | 28 ++-- .../components/detail/ParamConfig.vue | 27 +-- .../components/detail/PreliminaryCheck.vue | 16 +- .../components/detail/RiskDetailSection.vue | 32 ++-- .../components/detail/RiskModelSection.vue | 48 +++--- .../components/detail/RiskPeopleSection.vue | 8 +- .../components/detail/SpecialCheck.vue | 19 ++- .../components/detail/UploadData.vue | 50 +++--- ruoyi-ui/src/views/ccdiProject/detail.vue | 28 ++-- ruoyi-ui/src/views/ccdiProject/index.vue | 6 +- ruoyi-ui/src/views/login.vue | 22 ++- 22 files changed, 412 insertions(+), 202 deletions(-) diff --git a/ruoyi-ui/src/assets/styles/element-variables.scss b/ruoyi-ui/src/assets/styles/element-variables.scss index 1615ff28..f1d70d87 100644 --- a/ruoyi-ui/src/assets/styles/element-variables.scss +++ b/ruoyi-ui/src/assets/styles/element-variables.scss @@ -4,20 +4,28 @@ **/ /* theme color */ -$--color-primary: #1890ff; -$--color-success: #13ce66; -$--color-warning: #ffba00; -$--color-danger: #ff4949; -// $--color-info: #1E1E1E; +$--color-primary: #2f5d8a; +$--color-success: #3f6b55; +$--color-warning: #a56a2a; +$--color-danger: #b55252; +$--color-info: #6c7a89; $--button-font-weight: 400; -// $--color-text-regular: #1f2d3d; +$--color-text-primary: #1f2d3d; +$--color-text-regular: #1f2d3d; +$--color-text-secondary: #5f6b7a; +$--color-text-placeholder: #8a97a6; -$--border-color-light: #dfe4ed; -$--border-color-lighter: #e6ebf5; +$--border-color-base: #d9e3ee; +$--border-color-light: #d9e3ee; +$--border-color-lighter: #e7edf5; +$--border-color-extra-light: #eef3f8; -$--table-border: 1px solid #dfe6ec; +$--table-border: 1px solid #d9e3ee; +$--background-color-base: #f4f7fb; +$--box-shadow-base: 0 8px 24px rgba(31, 45, 61, 0.08); +$--box-shadow-light: 0 8px 20px rgba(31, 45, 61, 0.06); /* icon font path, required */ $--font-path: '~element-ui/lib/theme-chalk/fonts'; diff --git a/ruoyi-ui/src/assets/styles/index.scss b/ruoyi-ui/src/assets/styles/index.scss index bb87292c..87a21c61 100644 --- a/ruoyi-ui/src/assets/styles/index.scss +++ b/ruoyi-ui/src/assets/styles/index.scss @@ -5,16 +5,33 @@ @import './sidebar.scss'; @import './btn.scss'; +:root { + --ccdi-page-bg: #f4f7fb; + --ccdi-surface: #ffffff; + --ccdi-text-primary: #1f2d3d; + --ccdi-text-secondary: #5f6b7a; + --ccdi-text-muted: #8a97a6; + --ccdi-primary: #2f5d8a; + --ccdi-primary-hover: #244a6d; + --ccdi-primary-soft: #eaf1f8; + --ccdi-border: #d9e3ee; + --ccdi-line: #e7edf5; + --ccdi-shadow: 0 8px 24px rgba(31, 45, 61, 0.05); + --ccdi-shadow-soft: 0 12px 28px rgba(31, 45, 61, 0.08); +} + body { height: 100%; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; + background: var(--ccdi-page-bg); + color: var(--ccdi-text-primary); } label { - font-weight: 700; + font-weight: 600; } html { @@ -122,6 +139,7 @@ aside { //main-container全局样式 .app-container { padding: 20px; + background: transparent; } .components-container { @@ -159,11 +177,11 @@ aside { .link-type, .link-type:focus { - color: #337ab7; + color: var(--ccdi-primary); cursor: pointer; &:hover { - color: rgb(32, 160, 255); + color: var(--ccdi-primary-hover); } } diff --git a/ruoyi-ui/src/assets/styles/ruoyi.scss b/ruoyi-ui/src/assets/styles/ruoyi.scss index e1ba0825..b6053afc 100644 --- a/ruoyi-ui/src/assets/styles/ruoyi.scss +++ b/ruoyi-ui/src/assets/styles/ruoyi.scss @@ -88,14 +88,88 @@ padding: 10px 20px 0; } +.el-form-item__label { + color: #5f6b7a; + font-weight: 600; +} + +.el-input__inner, +.el-textarea__inner, +.el-range-editor.el-input__inner, +.el-select .el-input__inner, +.vue-treeselect__control { + border-color: #d9e3ee !important; + border-radius: 10px; + color: #1f2d3d; + box-shadow: none; +} + +.el-input__inner::placeholder, +.el-textarea__inner::placeholder { + color: #8a97a6; +} + +.el-input__inner:hover, +.el-textarea__inner:hover, +.el-range-editor.el-input__inner:hover, +.vue-treeselect__control:hover { + border-color: #c8d7e6 !important; +} + +.el-input.is-focus .el-input__inner, +.el-textarea.is-focus .el-textarea__inner, +.el-select .el-input.is-focus .el-input__inner, +.el-range-editor.is-active, +.el-range-editor.is-active:hover, +.vue-treeselect--focused .vue-treeselect__control { + border-color: #2f5d8a !important; + box-shadow: 0 0 0 3px rgba(47, 93, 138, 0.08); +} + +.el-button { + border-radius: 10px; +} + +.el-button--primary { + box-shadow: 0 6px 16px rgba(47, 93, 138, 0.18); +} + +.el-button--primary:focus, +.el-button--primary:hover { + background-color: #244a6d; + border-color: #244a6d; +} + +.el-button.is-plain { + border-color: #d9e3ee; +} + +.el-card, +.tree-border, +.pagination-container, +.splitpanes.default-theme .splitpanes__pane { + background: transparent !important; +} + +.el-card { + border: 1px solid #d9e3ee; + border-radius: 14px; + box-shadow: 0 8px 24px rgba(31, 45, 61, 0.05); +} + .el-table { + border: 1px solid #d9e3ee; + border-radius: 12px; + overflow: hidden; + .el-table__header-wrapper, .el-table__fixed-header-wrapper { th { word-break: break-word; - background-color: #f8f8f9; - color: #515a6e; + background-color: #f7fafd; + color: #5f6b7a; height: 40px; font-size: 13px; + border-bottom-color: #d9e3ee; } } @@ -106,6 +180,19 @@ } } +.el-table th.el-table__cell, +.el-table td.el-table__cell { + border-bottom-color: #e7edf5; +} + +.el-table::before { + background-color: #d9e3ee; +} + +.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell { + background: #f9fbfe; +} + /** 表单布局 **/ .form-header { font-size: 15px; @@ -120,14 +207,17 @@ display: flex; justify-content: flex-end; margin-top: 20px; + padding: 0; + background: transparent; } /* tree border */ .tree-border { margin-top: 5px; - border: 1px solid #e5e6e7; - background: #FFFFFF none; - border-radius: 4px; + border: 1px solid #d9e3ee; + background: #ffffff none; + border-radius: 12px; + box-shadow: 0 8px 24px rgba(31, 45, 61, 0.05); } /* horizontal el menu */ @@ -195,12 +285,13 @@ } .el-card__header { - padding: 14px 15px 7px; + padding: 16px 18px 10px; min-height: 40px; + border-bottom-color: #e7edf5; } .el-card__body { - padding: 15px 20px 20px 20px; + padding: 18px 20px 20px 20px; } .card-box { @@ -238,23 +329,23 @@ } .text-success { - color: #1c84c6; + color: #3f6b55; } .text-info { - color: #23c6c8; + color: #2f5d8a; } .text-warning { - color: #f8ac59; + color: #a56a2a; } .text-danger { - color: #ed5565; + color: #b55252; } .text-muted { - color: #888888; + color: #8a97a6; } /* image */ @@ -293,5 +384,45 @@ /* 分割面板样式 */ .splitpanes.default-theme .splitpanes__pane { - background-color: #fff!important; + background-color: transparent!important; +} + +.el-dialog { + border-radius: 16px; + box-shadow: 0 16px 36px rgba(31, 45, 61, 0.12); +} + +.el-dialog__header { + border-bottom: 1px solid #e7edf5; +} + +.el-dialog__title { + color: #1f2d3d; + font-weight: 700; +} + +.el-dialog__footer { + border-top: 1px solid #e7edf5; +} + +.el-pagination.is-background .btn-next, +.el-pagination.is-background .btn-prev, +.el-pagination.is-background .el-pager li { + background: #ffffff; + border: 1px solid #d9e3ee; + color: #5f6b7a; + border-radius: 8px; + min-width: 30px; +} + +.el-pagination.is-background .el-pager li:not(.disabled).active { + background: #2f5d8a; + border-color: #2f5d8a; + color: #ffffff; +} + +.el-pagination.is-background .el-pager li:not(.disabled):hover, +.el-pagination.is-background .btn-next:hover, +.el-pagination.is-background .btn-prev:hover { + color: #2f5d8a; } diff --git a/ruoyi-ui/src/assets/styles/variables.scss b/ruoyi-ui/src/assets/styles/variables.scss index 34484d47..b8083f24 100644 --- a/ruoyi-ui/src/assets/styles/variables.scss +++ b/ruoyi-ui/src/assets/styles/variables.scss @@ -9,17 +9,17 @@ $yellow:#FEC171; $panGreen: #30B08F; // 默认菜单主题风格 -$base-menu-color:#bfcbd9; -$base-menu-color-active:#f4f4f5; -$base-menu-background:#304156; +$base-menu-color:#d4deea; +$base-menu-color-active:#ffffff; +$base-menu-background:#24384c; $base-logo-title-color: #ffffff; $base-menu-light-color:rgba(0,0,0,.70); $base-menu-light-background:#ffffff; $base-logo-light-title-color: #001529; -$base-sub-menu-background:#1f2d3d; -$base-sub-menu-hover:#001528; +$base-sub-menu-background:#1d2e40; +$base-sub-menu-hover:#2a435d; // 自定义暗色菜单风格 /** diff --git a/ruoyi-ui/src/components/Pagination/index.vue b/ruoyi-ui/src/components/Pagination/index.vue index 08ac487c..4678d36b 100644 --- a/ruoyi-ui/src/components/Pagination/index.vue +++ b/ruoyi-ui/src/components/Pagination/index.vue @@ -105,7 +105,7 @@ export default { diff --git a/ruoyi-ui/src/views/ccdiProject/components/SearchBar.vue b/ruoyi-ui/src/views/ccdiProject/components/SearchBar.vue index fe8f9e6c..6a2acd7e 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/SearchBar.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/SearchBar.vue @@ -96,9 +96,10 @@ export default { align-items: center; gap: 24px; padding: 16px 20px; - background: #ffffff; - border-radius: 8px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + background: var(--ccdi-surface); + border: 1px solid var(--ccdi-border); + border-radius: 14px; + box-shadow: var(--ccdi-shadow); } .search-input-wrapper { @@ -120,21 +121,23 @@ export default { .tab-item { font-size: 14px; - color: #6B7280; + color: var(--ccdi-text-secondary); cursor: pointer; padding: 6px 12px; - border-radius: 6px; + border-radius: 10px; + border: 1px solid transparent; transition: all 0.2s ease; user-select: none; &:hover { - color: #3B82F6; + color: var(--ccdi-primary); } &.active { - color: #3B82F6; - background: #EFF6FF; - font-weight: 500; + color: var(--ccdi-primary); + background: var(--ccdi-primary-soft); + border-color: #d6e3f0; + font-weight: 600; } } diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/OverviewStats.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/OverviewStats.vue index 5d5b5fb9..df4715e6 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/OverviewStats.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/OverviewStats.vue @@ -46,10 +46,10 @@ export default { align-items: center; gap: 14px; padding: 18px 16px; - border: 1px solid #eef2ff; - border-radius: 0; - background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); - box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08); + border: 1px solid var(--ccdi-border); + border-radius: 12px; + background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%); + box-shadow: 0 4px 14px rgba(31, 45, 61, 0.05); } .stats-icon { @@ -63,23 +63,23 @@ export default { } .stats-icon-blue { - color: #2563eb; - background: rgba(37, 99, 235, 0.12); + color: var(--ccdi-primary); + background: rgba(47, 93, 138, 0.12); } .stats-icon-red { - color: #ef4444; - background: rgba(239, 68, 68, 0.12); + color: #b55252; + background: rgba(181, 82, 82, 0.12); } .stats-icon-amber { - color: #f59e0b; - background: rgba(245, 158, 11, 0.14); + color: #a56a2a; + background: rgba(165, 106, 42, 0.14); } .stats-icon-green { - color: #10b981; - background: rgba(16, 185, 129, 0.14); + color: #3f6b55; + background: rgba(63, 107, 85, 0.14); } .stats-content { @@ -88,7 +88,7 @@ export default { .stats-label { font-size: 12px; - color: #94a3b8; + color: var(--ccdi-text-muted); } .stats-value { @@ -96,6 +96,6 @@ export default { font-size: 26px; line-height: 1; font-weight: 700; - color: #0f172a; + color: var(--ccdi-text-primary); } diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/ParamConfig.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/ParamConfig.vue index 618835f6..b288e831 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/ParamConfig.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/ParamConfig.vue @@ -231,17 +231,17 @@ export default { diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/RiskDetailSection.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/RiskDetailSection.vue index 64006fb5..df0464d6 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/RiskDetailSection.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/RiskDetailSection.vue @@ -815,7 +815,7 @@ export default { } .empty-text { - color: #909399; + color: var(--ccdi-text-muted); font-size: 13px; line-height: 20px; } @@ -857,11 +857,11 @@ export default { .detail-label { font-size: 14px; line-height: 20px; - color: #909399; + color: var(--ccdi-text-muted); } .detail-value { - color: #303133; + color: var(--ccdi-text-primary); line-height: 22px; font-size: 16px; font-weight: 500; @@ -878,7 +878,7 @@ export default { .detail-file-icon { margin-top: 2px; font-size: 20px; - color: #f59a23; + color: #a56a2a; } .detail-file-meta { @@ -889,19 +889,19 @@ export default { } .detail-file-name { - color: #303133; + color: var(--ccdi-text-primary); line-height: 22px; word-break: break-all; } .detail-file-time { - color: #909399; + color: var(--ccdi-text-muted); font-size: 12px; line-height: 18px; } .detail-hit-tag-section { - border-top: 1px solid #ebeef5; + border-top: 1px solid var(--ccdi-line); padding-top: 24px; } @@ -909,7 +909,7 @@ export default { margin-bottom: 16px; font-size: 16px; font-weight: 600; - color: #303133; + color: var(--ccdi-text-primary); } .detail-hit-tag-items { @@ -920,9 +920,9 @@ export default { .detail-hit-tag-item { padding: 12px 16px; - border: 1px solid #ebeef5; - border-radius: 4px; - background: #fafafa; + border: 1px solid var(--ccdi-border); + border-radius: 12px; + background: #fbfcfe; } .detail-hit-tag-header { @@ -933,7 +933,7 @@ export default { } .detail-hit-tag-name { - color: #303133; + color: var(--ccdi-text-primary); font-size: 14px; font-weight: 600; line-height: 22px; @@ -942,14 +942,14 @@ export default { .detail-hit-tag-reason { margin-top: 8px; - color: #606266; + color: var(--ccdi-text-secondary); font-size: 13px; line-height: 20px; word-break: break-word; } .detail-hit-tag-empty { - color: #909399; + color: var(--ccdi-text-muted); font-size: 13px; line-height: 20px; } @@ -965,13 +965,13 @@ export default { .el-dialog__header { padding: 20px 24px; - border-bottom: 1px solid #ebeef5; + border-bottom: 1px solid var(--ccdi-line); } .el-dialog__title { font-size: 20px; font-weight: 600; - color: #303133; + color: var(--ccdi-text-primary); } .el-dialog__body { diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/RiskModelSection.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/RiskModelSection.vue index bf330403..35c89c31 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/RiskModelSection.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/RiskModelSection.vue @@ -364,28 +364,29 @@ export default { .section-card { padding: 20px; - border-radius: 0; + border-radius: 14px; background: #fff; - box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); + border: 1px solid var(--ccdi-border); + box-shadow: var(--ccdi-shadow); } .section-header { margin-bottom: 18px; padding-left: 12px; - border-left: 4px solid #2563eb; + border-left: 4px solid var(--ccdi-primary); } .section-title { font-size: 20px; line-height: 28px; font-weight: 700; - color: #0f172a; + color: var(--ccdi-text-primary); } .section-subtitle { margin-top: 6px; font-size: 12px; - color: #64748b; + color: var(--ccdi-text-muted); } .block + .block { @@ -404,7 +405,7 @@ export default { padding-left: 10px; font-size: 15px; font-weight: 600; - color: #334155; + color: var(--ccdi-text-primary); } .block-title::before { @@ -415,7 +416,7 @@ export default { width: 4px; height: 14px; border-radius: 999px; - background: #94a3b8; + background: #8ea7be; transform: translateY(-50%); } @@ -423,7 +424,7 @@ export default { margin-top: 4px; padding-left: 10px; font-size: 12px; - color: #94a3b8; + color: var(--ccdi-text-muted); } .model-card-grid { @@ -436,9 +437,9 @@ export default { display: block; width: 100%; padding: 18px; - border: 1px solid #e2e8f0; - border-radius: 0; - background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); + border: 1px solid var(--ccdi-border); + border-radius: 12px; + background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%); text-align: left; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; @@ -446,34 +447,34 @@ export default { .model-card:hover, .model-card.is-active { - border-color: #2563eb; - box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12); + border-color: #bdd0e2; + box-shadow: 0 10px 22px rgba(47, 93, 138, 0.11); transform: translateY(-2px); } .model-card-title { font-size: 14px; font-weight: 600; - color: #334155; + color: var(--ccdi-text-primary); } .model-card-count { margin-top: 12px; font-size: 28px; font-weight: 700; - color: #2563eb; + color: var(--ccdi-primary); } .model-card-meta { margin-top: 8px; font-size: 12px; - color: #94a3b8; + color: var(--ccdi-text-muted); } .model-card-action { margin-top: 12px; font-size: 12px; - color: #2563eb; + color: var(--ccdi-primary); } .filter-bar { @@ -482,8 +483,9 @@ export default { gap: 16px; margin-bottom: 14px; padding: 14px 16px; + border: 1px solid var(--ccdi-border); border-radius: 12px; - background: #f8fafc; + background: #f8fbfe; } .filter-item { @@ -509,7 +511,7 @@ export default { .filter-label, .summary-label { font-size: 12px; - color: #64748b; + color: var(--ccdi-text-secondary); flex-shrink: 0; white-space: nowrap; } @@ -524,7 +526,7 @@ export default { .summary-value { min-width: 0; - color: #1e293b; + color: var(--ccdi-text-primary); font-size: 13px; white-space: nowrap; overflow: hidden; @@ -543,8 +545,8 @@ export default { } :deep(.model-table th) { - background: #f8fafc; - color: #64748b; + background: #f7fafd; + color: var(--ccdi-text-secondary); } .hit-tag-list { @@ -554,7 +556,7 @@ export default { } .empty-text { - color: #94a3b8; + color: var(--ccdi-text-muted); } .pagination-bar { diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/RiskPeopleSection.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/RiskPeopleSection.vue index e74eb605..059df071 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/RiskPeopleSection.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/RiskPeopleSection.vue @@ -251,7 +251,7 @@ export default { .risk-people-section { margin-bottom: 0; padding-top: 18px; - border-top: 1px solid #eef2f7; + border-top: 1px solid var(--ccdi-line); } .section-toolbar { @@ -267,8 +267,8 @@ export default { } :deep(.people-table th) { - background: #f8fafc; - color: #64748b; + background: #f7fafd; + color: var(--ccdi-text-secondary); } .risk-point-tag-list { @@ -283,6 +283,6 @@ export default { } .empty-text { - color: #94a3b8; + color: var(--ccdi-text-muted); } diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue index 14c1a7c2..71cb7ef9 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/SpecialCheck.vue @@ -144,9 +144,10 @@ export default { .state-card { padding: 32px 24px; - border-radius: 0; + border-radius: 14px; background: #fff; - box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); + border: 1px solid var(--ccdi-border); + box-shadow: var(--ccdi-shadow); } .special-check-page { @@ -158,7 +159,9 @@ export default { min-height: 500px; padding: 20px; background: #fff; - box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); + border: 1px solid var(--ccdi-border); + border-radius: 14px; + box-shadow: var(--ccdi-shadow); } .graph-placeholder-header { @@ -171,13 +174,13 @@ export default { .graph-placeholder-title { font-size: 16px; font-weight: 600; - color: #1f2937; + color: var(--ccdi-text-primary); } .graph-placeholder-subtitle { margin-top: 4px; font-size: 12px; - color: #94a3b8; + color: var(--ccdi-text-muted); } .graph-placeholder-body { @@ -187,14 +190,14 @@ export default { gap: 16px; margin-top: 18px; padding: 16px 18px; - border: 1px dashed #dbeafe; - background: #f8fbff; + border: 1px dashed #d9e3ee; + background: #f8fbfe; } .graph-placeholder-text { font-size: 14px; line-height: 22px; - color: #475569; + color: var(--ccdi-text-secondary); } .special-check-extended-wrapper { diff --git a/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue b/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue index 4c09525d..f8bda5bc 100644 --- a/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue +++ b/ruoyi-ui/src/views/ccdiProject/components/detail/UploadData.vue @@ -924,7 +924,7 @@ export default { diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 45329bc9..f209f762 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -157,19 +157,31 @@ export default { height: 100%; background-image: url("../assets/images/login-background.jpg"); background-size: cover; + background-position: center; + position: relative; + + &::before { + content: ""; + position: absolute; + inset: 0; + background: rgba(24, 39, 56, 0.24); + } } .title { margin: 0px auto 30px auto; text-align: center; - color: #707070; + color: #1f2d3d; } .login-form { - border-radius: 6px; - background: #ffffff; + border-radius: 16px; + background: rgba(255, 255, 255, 0.92); width: 400px; - padding: 25px 25px 5px 25px; + padding: 28px 28px 8px 28px; z-index: 1; + border: 1px solid rgba(217, 227, 238, 0.9); + box-shadow: 0 20px 48px rgba(31, 45, 61, 0.18); + backdrop-filter: blur(10px); .el-input { height: 38px; input { @@ -203,7 +215,7 @@ export default { bottom: 0; width: 100%; text-align: center; - color: #fff; + color: rgba(255, 255, 255, 0.92); font-family: Arial; font-size: 12px; letter-spacing: 1px;