diff --git a/ruoyi-ui/.env.development b/ruoyi-ui/.env.development index 18b2a3ed..9d890263 100644 --- a/ruoyi-ui/.env.development +++ b/ruoyi-ui/.env.development @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 科伦普冷轧双机架控制平台 # 开发环境配置 ENV = 'development' -# 若依管理系统/开发环境 +# 科伦普冷轧双机架控制平台/开发环境 VUE_APP_BASE_API = '/dev-api' # 路由懒加载 diff --git a/ruoyi-ui/.env.production b/ruoyi-ui/.env.production index cb064ec8..0b558e88 100644 --- a/ruoyi-ui/.env.production +++ b/ruoyi-ui/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 科伦普冷轧双机架控制平台 # 生产环境配置 ENV = 'production' -# 若依管理系统/生产环境 +# 科伦普冷轧双机架控制平台/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/ruoyi-ui/.env.staging b/ruoyi-ui/.env.staging index 730af342..6804076f 100644 --- a/ruoyi-ui/.env.staging +++ b/ruoyi-ui/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = 科伦普冷轧双机架控制平台 BABEL_ENV = production @@ -8,5 +8,5 @@ NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 若依管理系统/测试环境 +# 科伦普冷轧双机架控制平台/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/ruoyi-ui/src/assets/styles/element-variables.scss b/ruoyi-ui/src/assets/styles/element-variables.scss index 2ac856fa..0c1c639b 100644 --- a/ruoyi-ui/src/assets/styles/element-variables.scss +++ b/ruoyi-ui/src/assets/styles/element-variables.scss @@ -37,9 +37,14 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts'; font-size: 12px !important; padding: 0 8px !important; } +// 有前缀图标时恢复左侧 padding,避免图标与文字重叠 +.el-input--prefix .el-input__inner { padding-left: 28px !important; } +.el-input__prefix { height: 28px !important; line-height: 28px !important; display: flex; align-items: center; } .el-input--medium .el-input__inner { height: 28px !important; line-height: 28px !important; } .el-input--small .el-input__inner { height: 24px !important; line-height: 24px !important; } .el-input--mini .el-input__inner { height: 22px !important; line-height: 22px !important; } +.el-input--mini.el-input--prefix .el-input__inner { padding-left: 26px !important; } +.el-input--small.el-input--prefix .el-input__inner { padding-left: 26px !important; } // textarea .el-textarea__inner { font-size: 12px !important; padding: 4px 8px !important; } diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue index 14db4d34..d5d780c4 100644 --- a/ruoyi-ui/src/layout/components/Navbar.vue +++ b/ruoyi-ui/src/layout/components/Navbar.vue @@ -27,16 +27,14 @@
- + + {{ name }}
个人中心 - - 布局设置 - 退出登录 @@ -71,7 +69,7 @@ export default { computed: { ...mapGetters([ 'sidebar', - 'avatar', + 'name', 'device' ]), setting: { @@ -173,25 +171,33 @@ export default { } .avatar-container { - margin-right: 30px; + margin-right: 16px; .avatar-wrapper { - margin-top: 5px; - position: relative; + display: flex; + align-items: center; + gap: 6px; + cursor: pointer; + color: #5a6f85; + font-size: 12px; - .user-avatar { - cursor: pointer; - width: 40px; - height: 40px; - border-radius: 10px; + .user-icon { + font-size: 16px; + color: #1d4e89; + } + + .user-name { + font-size: 12px; + color: #2c3e50; + max-width: 80px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .el-icon-caret-bottom { - cursor: pointer; - position: absolute; - right: -20px; - top: 25px; - font-size: 12px; + font-size: 11px; + color: #909399; } } } diff --git a/ruoyi-ui/src/settings.js b/ruoyi-ui/src/settings.js index ac0358ab..a687e32d 100644 --- a/ruoyi-ui/src/settings.js +++ b/ruoyi-ui/src/settings.js @@ -2,7 +2,7 @@ module.exports = { /** * 网站标题 */ - title: '冷轧双机架二级控制系统', + title: '科伦普冷轧双机架控制平台', /** * 侧边栏主题:固定使用工业深色主题 diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 108e82a6..074ebb44 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -56,7 +56,7 @@ @@ -178,14 +178,23 @@ export default { padding: 25px 25px 5px 25px; .el-input { height: 38px; - input { - height: 38px; + .el-input__inner { + height: 38px !important; + line-height: 38px !important; + } + &.el-input--prefix .el-input__inner { + padding-left: 34px !important; + } + .el-input__prefix { + height: 38px !important; + line-height: 38px !important; } } .input-icon { - height: 39px; - width: 14px; + height: 38px; + width: 16px; margin-left: 2px; + vertical-align: middle; } } .login-tip { diff --git a/ruoyi-ui/src/views/mill/plan.vue b/ruoyi-ui/src/views/mill/plan.vue index fe26b2a2..e5448bed 100644 --- a/ruoyi-ui/src/views/mill/plan.vue +++ b/ruoyi-ui/src/views/mill/plan.vue @@ -1,208 +1,190 @@