diff --git a/.env.production b/.env.production index 9fd6051..c24c62b 100644 --- a/.env.production +++ b/.env.production @@ -6,10 +6,10 @@ ENV = 'production' VITE_APP_BASE_API = '/prod-api' # 路由前缀 -VITE_APP_ROUTER_PREFIX = '/vue3/' +VITE_APP_ROUTER_PREFIX = '/' # 默认上传地址 VITE_APP_UPLOAD_URL = '/Common/UploadFile' #socket API -VITE_APP_SOCKET_API = '/msghub' \ No newline at end of file +VITE_APP_SOCKET_API = '/msghub' diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index 1d1b22a..0000000 Binary files a/public/logo.png and /dev/null differ diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss index d399128..260e85c 100644 --- a/src/assets/styles/sidebar.scss +++ b/src/assets/styles/sidebar.scss @@ -4,7 +4,7 @@ overflow-y: hidden; z-index: 1001; transition: width 0.28s ease; - background-color: var(--base-menu-background); + background-image: var(--base-menu-background); height: 100%; display: flex; flex-direction: column; @@ -18,6 +18,9 @@ .el-menu { border: none; } + .el-menu--inline { + background-color: rgba(0, 0, 0, 0.12); + } [class^='el-icon'] { width: 1em; diff --git a/src/assets/styles/variables.module.scss b/src/assets/styles/variables.module.scss index 168ba7e..a6aa13a 100644 --- a/src/assets/styles/variables.module.scss +++ b/src/assets/styles/variables.module.scss @@ -24,7 +24,8 @@ $panGreen: #30b08f; /***侧边栏深色配置***/ [data-theme='theme-dark'] { - --base-menu-background: #324157; + // --base-menu-background: #324157; + --base-menu-background: linear-gradient(to right, #243949 0%, #517fa4 100%); --base-logo-title-color: #ffffff; // // el-ement ui 设置 // --el-fill-color-blank: #304156; diff --git a/src/i18n/lang/zh-cn.json b/src/i18n/lang/zh-cn.json index e048402..b3cbcaf 100644 --- a/src/i18n/lang/zh-cn.json +++ b/src/i18n/lang/zh-cn.json @@ -32,7 +32,8 @@ "personalCenter": "个人中心", "menuPermi": "菜单权限", "assignUsers": "分配用户", - "cacheMonitor": "缓存监控" + "cacheMonitor": "缓存监控", + "fieldPermi": "字段权限" }, "tagsView": { "refresh": "刷新页面", @@ -167,4 +168,4 @@ "languageKey": "语言key", "showWay": "显示方式", "table": "表格" -} \ No newline at end of file +} diff --git a/src/views/monitor/ipratelimit/index.vue b/src/views/monitor/ipratelimit/index.vue index ab2f739..96e33ff 100644 --- a/src/views/monitor/ipratelimit/index.vue +++ b/src/views/monitor/ipratelimit/index.vue @@ -157,6 +157,15 @@

Hello World

+
+
+ ChitChat Logo +
+
+
ChitChat
+

You have a new message!

+
+
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 4075e5e..ce69afe 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -116,7 +116,7 @@ - + diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 2c42f7f..2fe33a7 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -68,6 +68,7 @@