diff --git a/ruoyi-ui/src/assets/styles/JiHeExpressway.scss b/ruoyi-ui/src/assets/styles/JiHeExpressway.scss index 529f453f..b07d258c 100644 --- a/ruoyi-ui/src/assets/styles/JiHeExpressway.scss +++ b/ruoyi-ui/src/assets/styles/JiHeExpressway.scss @@ -1,5 +1,5 @@ .theme-jihe { - $textColor: #F4F4F4; + $textColor: #f4f4f4; $inputHeight: 26px; color: $textColor; @@ -17,7 +17,7 @@ line-height: 32px; height: $inputHeight; overflow: hidden; - color: #3DE8FF; + color: #3de8ff; } .el-form-item__content { @@ -30,8 +30,8 @@ } .el-input__inner { - padding: 0 8px; - background-color: #0D5F79; + // padding: 0 8px; + background-color: #0d5f79; color: $textColor; border-radius: 2px; line-height: $inputHeight; @@ -42,8 +42,8 @@ &::placeholder { color: $textColor; } - &[disabled]{ - color:#667 !important; + &[disabled] { + color: #667 !important; } } @@ -56,8 +56,8 @@ .el-checkbox__inner { width: 20px; height: 20px; - border: 1px solid #00B3CC; - background-color: #0D5F79; + border: 1px solid #00b3cc; + background-color: #0d5f79; } ::after { @@ -70,8 +70,8 @@ .el-checkbox.is-checked { .el-checkbox__inner { - border: 1px solid #00B3CC; - background-color: #00B3CC; + border: 1px solid #00b3cc; + background-color: #00b3cc; } } } @@ -87,12 +87,12 @@ .el-input-number__increase { width: 22px; height: $inputHeight; - background-color: #004A69; + background-color: #004a69; border: none; - color: #FFF; + color: #fff; &.is-disabled { - color: #006A99; + color: #006a99; } } @@ -105,8 +105,8 @@ margin-right: 10px; .el-radio-button__inner { - background-color: #0D5F79; - border: 1px solid #00B3CC; + background-color: #0d5f79; + border: 1px solid #00b3cc; color: $textColor; height: 26px; padding: 0 10px; @@ -118,9 +118,8 @@ } &.is-active { - .el-radio-button__inner { - background-image: linear-gradient(180deg, #37E7FF 0%, #009BCC 100%); + background-image: linear-gradient(180deg, #37e7ff 0%, #009bcc 100%); color: $textColor; border: none; height: 26px; @@ -128,45 +127,65 @@ } } } - + // 导航菜单 .el-menu--popup { border-radius: 0; background: linear-gradient(180deg, rgba(6, 66, 88, 0.5) 0%, #064258 93%); border: 1px solid; - border-image: linear-gradient(0deg, rgba(55, 231, 255, 0.5), rgba(55, 231, 255, 0)) 10 10; - .el-submenu__title {} + border-image: linear-gradient( + 0deg, + rgba(55, 231, 255, 0.5), + rgba(55, 231, 255, 0) + ) + 10 10; + .el-submenu__title { + } - .el-submenu__icon-arrow {} + .el-submenu__icon-arrow { + } - .el-menu-item, .el-submenu__title{ + .el-menu-item, + .el-submenu__title { text-align: center; - background: none; - font-size: 16px; - font-weight: bold; - color: #00D1FF; - border: 1px solid transparent; - transition: none; - - .el-submenu__icon-arrow{ - color: #00D1FF; - } - - &:hover { - color: #fff; - background: linear-gradient(90deg, rgba(164, 255, 250, 0) 0%, rgba(164, 255, 250, 0.42) 50%, rgba(164, 255, 250, 0) 100%); - border: 1px solid; - border-image: linear-gradient(90deg, rgba(190, 255, 246, 0.03) 0%, rgba(190, 255, 246, 1) 50%, rgba(190, 255, 246, 0.03) 100%) 1 1; - } - p{ - color: #FFF; - } + background: none; + font-size: 16px; + font-weight: bold; + color: #00d1ff; + border: 1px solid transparent; + transition: none; + + .el-submenu__icon-arrow { + color: #00d1ff; + } + + &:hover { + color: #fff; + background: linear-gradient( + 90deg, + rgba(164, 255, 250, 0) 0%, + rgba(164, 255, 250, 0.42) 50%, + rgba(164, 255, 250, 0) 100% + ); + border: 1px solid; + border-image: linear-gradient( + 90deg, + rgba(190, 255, 246, 0.03) 0%, + rgba(190, 255, 246, 1) 50%, + rgba(190, 255, 246, 0.03) 100% + ) + 1 1; + } + p { + color: #fff; + } } - .el-menu-item.is-active, .el-submenu__title.is-active{ - color: #FFF; + .el-menu-item.is-active, + .el-submenu__title.is-active { + color: #fff; } } .el-menu--popup-bottom-start { margin-top: 16px; } -} \ No newline at end of file +} diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Adaptation.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Adaptation.vue index 08de14d1..e35c600c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Adaptation.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Adaptation.vue @@ -70,13 +70,13 @@ export default { ]; if (scaleX > scaleY) { - // cssGlobalVariable[0][1] = `scaleX(${1 / scaleX * scaleY})`; - cssGlobalVariable[0][1] = `scaleX(${1 - (scaleX - scaleY)})`; + cssGlobalVariable[0][1] = `scaleX(${1 / scaleX * scaleY})`; + // cssGlobalVariable[0][1] = `scaleX(${1 - (scaleX - scaleY)})`; cssGlobalVariable[1][1] = `scaleY(${1 / scaleX})`; cssGlobalVariable[2][1] = `scaleX(${1 - (scaleX - scaleY) / 2})`; } else { - // cssGlobalVariable[0][1] = `scaleY(${1 / scaleY * scaleX})`; - cssGlobalVariable[0][1] = `scaleX(${1 - (scaleY - scaleX)})`; + cssGlobalVariable[0][1] = `scaleY(${1 / scaleY * scaleX})`; + // cssGlobalVariable[0][1] = `scaleX(${1 - (scaleY - scaleX)})`; cssGlobalVariable[1][1] = `scaleX(${1 / scaleY})`; cssGlobalVariable[2][1] = `scaleX(${1 - (scaleY - scaleX) / 2})`; } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/ElSelect.vue b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/ElSelect.vue index b3797fbc..9e37c290 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/ElSelect.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/ElSelect.vue @@ -1,6 +1,8 @@