From f9fa9bd000b99ba89823518b0e65973efc1f24cd Mon Sep 17 00:00:00 2001 From: douyage Date: Tue, 25 Aug 2026 18:03:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E7=85=A7=E8=A6=81=E6=B1=82=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/images/dialog-title-icon.png | Bin 0 -> 542 bytes src/assets/styles/ruoyi.scss | 133 ++++++++++++++-- src/components/TopNav/index.vue | 22 +-- src/layout/index.vue | 3 +- src/views/cards/assets/styles/index.scss | 20 ++- src/views/cards/patrolPlan/notstart.vue | 5 +- .../cards/patrolReport/InspectionReporter.vue | 7 +- .../site_management/components/chooseAlg.vue | 8 +- .../cards/site_management/site_management.vue | 146 ++++++++++++++---- .../cards/taskSummary/inspectionTask.vue | 20 +-- .../taskSummary/newInspectionTaskDetail.vue | 10 +- src/views/video/HistoryPlayback.vue | 3 +- src/views/video/LivePreview.vue | 8 +- src/views/video/components/NvrDeviceTree.vue | 18 ++- 14 files changed, 296 insertions(+), 107 deletions(-) create mode 100644 src/assets/images/dialog-title-icon.png diff --git a/src/assets/images/dialog-title-icon.png b/src/assets/images/dialog-title-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..68850f97ba201a08604b35991ea45ba83d477dba GIT binary patch literal 542 zcmeAS@N?(olHy`uVBq!ia0vp^LLfE=8<1S$XD11y7>k44ofy`glX(f`xTHpSruq6Z zXaU(A42G$TlC0TWzSXaO^v%?nakA-M@?2V;k)i(`m} zXzgTOe`ZI4w)=OdJ!2AGvRvSamcRuT9u5{x*9Io%2`r77!U8SvOidG#elZ_NbZA`1 z%&5rd%W%1^?!u<>!*9O5%c#D-?~z^Fy~?t*e0~WfC83ESF=xzO&(4X^xoDxzr}}VP zkO==V?1LD|e|P6_M65X}cO6~lRMGFdQLNwj=ztWtc~#q?#< z&3S+46@?#;;L(v(d90wKxVmrmyvoUavp-$fvQtudZ~Y^lD-WW}eJ)?r=-70^aI4M5 z>vLW;zI^e2hElxR>U#$b-FLJ8Iq)Kro#a(XQukDJt*7{tSDbFIRx+!473dzOw ziT0kVJKom?GJW`QoA<@^`}fag{IvGE79ZHq-WnI2dn@|olD%{K0w;YiTz|pud+Fte zXZYS<-pZKySRB#FbGhqrxWcsc)>hD&ww(&I6^7W{o`l .cell, +.el-table .el-table__fixed-header-wrapper th.el-table__cell, +.el-table .el-table__fixed-header-wrapper th.el-table__cell > .cell { + font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif !important; + font-weight: 700 !important; +} + // Unified body-cell typography for every Element table. .el-table tbody td.el-table__cell, .el-table .el-table__fixed-body-wrapper td.el-table__cell { @@ -681,30 +692,64 @@ table tbody tr > td { .el-dialog { overflow: hidden; color: #dcecff; - background-color: #0F124A !important; - border: 1px solid #0B2567; + background-color: #0b205b !important; + border: 1px solid #3f7fd8; border-radius: 2px; box-shadow: 0 0 18px rgba(0, 0, 0, 0.45); } -.el-dialog__header, +.el-dialog__header { + height: 32px; + box-sizing: border-box; + padding: 5px 48px 4px 20px; + line-height: 22px; + background: linear-gradient(180deg, #1c4695 0%, #102b70 100%) !important; + border-bottom: 1px solid #3f7fd8; +} + .el-dialog__body, .el-dialog__footer { color: #dcecff; - background-color: #0F124A !important; -} - -.el-dialog__header { - border-bottom: 1px solid #0B2567; + background-color: #0b205b !important; } .el-dialog__footer { - border-top: 1px solid #0B2567; + border-top: 1px solid #234d9c; } .el-dialog__title, .el-dialog__headerbtn .el-dialog__close { - color: #ffffff; + color: #54ffff; +} + +.el-dialog__title { + display: inline-flex; + align-items: center; + gap: 7px; + line-height: 22px; + font-size: 16px; + font-weight: 700; +} + +.el-dialog__headerbtn { + top: 5px; + right: 14px; + width: 22px; + height: 22px; + line-height: 22px; +} + +.el-dialog__title::before { + content: ""; + display: inline-block; + width: 18px; + height: 13px; + flex: 0 0 18px; + background: url("~@/assets/images/dialog-title-icon.png") center / contain no-repeat; +} + +.el-dialog__headerbtn .el-dialog__close:hover { + color: #8fffff; } .v-modal { @@ -721,8 +766,8 @@ table tbody tr > td { .el-autocomplete-suggestion, .el-tooltip__popper.is-dark { color: #dcecff; - background-color: #0F124A !important; - border-color: #0B2567 !important; + background-color: #0b205b !important; + border-color: #3f7fd8 !important; } .el-message-box__title, @@ -737,6 +782,47 @@ table tbody tr > td { color: #dcecff; } +.el-message-box__title { + display: flex; + align-items: center; + gap: 7px; + color: #54ffff; +} + +.el-message-box__header { + height: 32px; + box-sizing: border-box; + padding: 5px 48px 4px 20px; + line-height: 22px; + background: linear-gradient(180deg, #1c4695 0%, #102b70 100%); + border-bottom: 1px solid #3f7fd8; +} + +.el-message-box__headerbtn .el-message-box__close { + color: #54ffff; +} + +.el-message-box__headerbtn { + top: 5px; + right: 14px; + width: 22px; + height: 22px; + line-height: 22px; +} + +.el-message-box__headerbtn .el-message-box__close:hover { + color: #8fffff; +} + +.el-message-box__title::before { + content: ""; + display: inline-block; + width: 18px; + height: 13px; + flex: 0 0 18px; + background: url("~@/assets/images/dialog-title-icon.png") center / contain no-repeat; +} + .el-dropdown-menu__item:hover, .el-dropdown-menu__item:focus, .el-select-dropdown__item.hover, @@ -1122,6 +1208,27 @@ body .task-toolbar-btn:not(:has(.el-icon-search)) { color: #43c0ff !important; } +/* Table operation buttons use the same treatment as the reset button. */ +body .el-table .el-button { + border: 1px solid transparent !important; + background: linear-gradient(#01016b, #01016b) padding-box, + linear-gradient(135deg, #3988ff, #0351c6) border-box !important; + background-image: linear-gradient(#01016b, #01016b) padding-box, + linear-gradient(135deg, #3988ff, #0351c6) border-box !important; + color: #43c0ff !important; +} + +body .el-table .el-button:hover, +body .el-table .el-button:focus, +body .el-table .el-button:active { + border: 1px solid transparent !important; + background: linear-gradient(#01016b, #01016b) padding-box, + linear-gradient(135deg, #3988ff, #0351c6) border-box !important; + background-image: linear-gradient(#01016b, #01016b) padding-box, + linear-gradient(135deg, #3988ff, #0351c6) border-box !important; + color: #43c0ff !important; +} + body .el-button.el-button--primary:not(:has(.el-icon-search)):hover, body .el-button.el-button--primary:not(:has(.el-icon-search)):focus, body .el-button.el-button--primary:not(:has(.el-icon-search)):active, diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index b178a96..63384f2 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -102,7 +102,7 @@ export default { } } else if(!this.$route.children) { activePath = path; - this.$store.dispatch('app/toggleSideBarHide', true); + this.$store.dispatch('app/toggleSideBarHide', false); } this.activeRoutes(activePath); return activePath; @@ -139,7 +139,7 @@ export default { } else { this.$router.push({ path: key }); } - this.$store.dispatch('app/toggleSideBarHide', true); + this.$store.dispatch('app/toggleSideBarHide', false); } else { // 显示左侧联动菜单 this.activeRoutes(key); @@ -168,19 +168,19 @@ export default { diff --git a/src/layout/index.vue b/src/layout/index.vue index 1fbf1f2..3d6199f 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -1,7 +1,8 @@