From 54e2740ace36fcb2fdfa7933577e8755fca464ca Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 3 Dec 2024 14:47:26 +0800 Subject: [PATCH] 1 --- package.json | 2 +- src/layout/components/Navbar/index.vue | 3 +- src/settings.js | 4 +- src/styles/index.scss | 17 +++++++ src/views/preview/index.vue | 3 +- .../DashboardComponents/AddressBook.vue | 4 +- .../system/DashboardComponents/articles.vue | 44 +++++++++++++++---- src/views/system/DashboardComponents/toDo.vue | 4 +- 8 files changed, 63 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 9452a9f..25528ee 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "bpmn-js-properties-panel": "^0.37.2", "camunda-bpmn-moddle": "^4.4.0", "core-js": "3.6.5", - "element-ui": "2.13.2", + "element-ui": "2.15.14", "element-resize-detector": "^1.2.4", "gojs": "^2.3.11", "js-cookie": "2.2.0", diff --git a/src/layout/components/Navbar/index.vue b/src/layout/components/Navbar/index.vue index 47384ce..01ea515 100644 --- a/src/layout/components/Navbar/index.vue +++ b/src/layout/components/Navbar/index.vue @@ -7,7 +7,7 @@
@@ -130,6 +130,7 @@ export default { }, data() { return { + isEnvTest: (process.env.ENV === 'staging' || process.env.NODE_ENV === 'development'), zIndex: PopupManager.nextZIndex(), isFullscreen: false, isShowMenuMobile: false, diff --git a/src/settings.js b/src/settings.js index 5c2ea93..c82c7c1 100644 --- a/src/settings.js +++ b/src/settings.js @@ -1,7 +1,7 @@ module.exports = { - title: '内控管理平台', - copyright: '内控管理平台', + title: (process.env.ENV === 'staging' || process.env.NODE_ENV === 'development') ? '内控管理平台' : '江苏省常州环境监测中心内控管理平台', + copyright: (process.env.ENV === 'staging' || process.env.NODE_ENV === 'development') ? '内控管理平台' : '江苏省常州环境监测中心内控管理平台', /** * @type {boolean} true | false diff --git a/src/styles/index.scss b/src/styles/index.scss index 3961eb4..700d5c0 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -78,3 +78,20 @@ div:focus { .vxe-loading--default-icon,.vxe-loading--text { color: var(--theme-color) !important;; } + + +::-webkit-scrollbar { + width: 6px; + height: 6px; +} +::-webkit-scrollbar-track { + background: rgb(239, 239, 239); +} +::-webkit-scrollbar-thumb { + background: #bfbfbf; + border-radius: 10px; +} +.el-table__body-wrapper::-webkit-scrollbar, .el-scrollbar__wrap::-webkit-scrollbar { + width: 10px; + height: 10px; +} diff --git a/src/views/preview/index.vue b/src/views/preview/index.vue index 3a1ff4e..0c71de3 100644 --- a/src/views/preview/index.vue +++ b/src/views/preview/index.vue @@ -1,5 +1,5 @@