diff --git a/vue/src/layout/components/Navbar.vue b/vue/src/layout/components/Navbar.vue index f1efe920..8e88d9b5 100644 --- a/vue/src/layout/components/Navbar.vue +++ b/vue/src/layout/components/Navbar.vue @@ -20,9 +20,9 @@ - + diff --git a/vue/src/settings.js b/vue/src/settings.js index cfea5788..cee7e0ce 100644 --- a/vue/src/settings.js +++ b/vue/src/settings.js @@ -1,49 +1,50 @@ import Cookies from 'js-cookie'; -module.exports = { - /** - * 侧边栏主题 深色主题theme-dark,浅色主题theme-light - */ - sideTheme: 'theme-dark', - /** - * 是否系统布局配置 - */ - showSettings: false, - - /** - * 是否显示顶部导航 - */ - topNav: false, - - /** - * 是否显示 tagsView - */ - tagsView: false, - - /** - * 是否固定头部 - */ - fixedHeader: false, - - /** - * 是否显示logo - */ - sidebarLogo: true, - - /** - * 是否显示动态标题 - */ - dynamicTitle: false, - - /** - * @type {string | array} 'production' | ['production', 'development'] - * @description Need show err logs component. - * The default is only used in the production env - * If you want to also use it in dev, you can pass ['production', 'development'] - */ - errorLog: 'production', +export default { /** - * 默认语言 先從cookies拿,沒有從瀏覽器語言拿,最後用'zh-CN' - */ - language: Cookies.get('language') || navigator.language || navigator.browserLanguage || 'zh-CN', -} + * 侧边栏主题 深色主题theme-dark,浅色主题theme-light + */ + sideTheme: 'theme-dark', + + /** + * 是否系统布局配置 + */ + showSettings: false, + + /** + * 是否显示顶部导航 + */ + topNav: false, + + /** + * 是否显示 tagsView + */ + tagsView: false, + + /** + * 是否固定头部 + */ + fixedHeader: false, + + /** + * 是否显示logo + */ + sidebarLogo: true, + + /** + * 是否显示动态标题 + */ + dynamicTitle: false, + + /** + * @type {string | array} 'production' | ['production', 'development'] + * @description Need show err logs component. + * The default is only used in the production env + * If you want to also use it in dev, you can pass ['production', 'development'] + */ + errorLog: 'production', + /** + * 默认语言 先從cookies拿,沒有從 + */ + language: Cookies.get('language') || navigator.language || navigator.browserLanguage || 'zh-CN', +}; diff --git a/vue/src/views/index.vue b/vue/src/views/index.vue index 8cf94fe6..d4046f67 100644 --- a/vue/src/views/index.vue +++ b/vue/src/views/index.vue @@ -220,7 +220,7 @@ - Copyright © 2021-2022 + Copyright © 2021-2026 FastBee | {{ $t('home.fengxinIoT') }} diff --git a/vue/src/views/iot/group/device-list.vue b/vue/src/views/iot/group/device-list.vue index 3caae9f5..b63a3a65 100644 --- a/vue/src/views/iot/group/device-list.vue +++ b/vue/src/views/iot/group/device-list.vue @@ -1,57 +1,52 @@ - - - - - - - {{ $t('iot.group.device-list.849593-3') }} - - + + + + + + + {{ $t('iot.group.device-list.849593-3') }} + + - - - - - - - - {{ $t('iot.group.device-list.849593-8') }} - {{ $t('iot.group.device-list.849593-9') }} - - - - - - - - - + + + + + + + + {{ $t('iot.group.device-list.849593-8') }} + {{ $t('iot.group.device-list.849593-9') }} + + + + + + + + + - - + + diff --git a/vue/src/views/system/user/index.vue b/vue/src/views/system/user/index.vue index af1aee21..b19a3780 100644 --- a/vue/src/views/system/user/index.vue +++ b/vue/src/views/system/user/index.vue @@ -109,9 +109,9 @@ - - - + + + @@ -586,7 +586,7 @@ export default { .dept-card { margin-bottom: 15px; border-radius: 8px; - height: 810px; + height: 700px; ::v-deep .el-card__body { padding: 18px; @@ -604,6 +604,7 @@ export default { .table-card { border-radius: 8px; + height: 620px; ::v-deep .el-card__body { padding: 18px; @@ -637,8 +638,6 @@ export default { .pagination-container { line-height: 40px; margin-bottom: 30px; - margin-top: 0; - padding: 0; } ::v-deep .el-pagination { @@ -658,13 +657,6 @@ export default { } } -.pagination-container { - line-height: 40px; - margin-bottom: 30px; - margin-top: 0; - padding: 0; -} - ::v-deep .el-pagination { padding: 20px 0 0 0; text-align: right;