diff --git a/src/assets/css/index.scss b/src/assets/css/index.scss index 3857a88..2b467d5 100644 --- a/src/assets/css/index.scss +++ b/src/assets/css/index.scss @@ -96,17 +96,17 @@ .yh-big-input { width: 253px; height: 14px; - background: transparent; - border: 1px solid rgba(255, 255, 255, .53); + background: #ffffff; + border: 1px solid #d9d9d9; border-radius: 4px; - color: #fff; + color: #000000; padding: 6px 10px; font-size: 14px; transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); &:focus { outline: none; - border-color: #31abe3; + border-color: #1890ff; } } @@ -116,17 +116,17 @@ .el-input__inner { padding: 6px 10px; - border: 1px solid rgba(255, 255, 255, .53); - background-color: transparent; + border: 1px solid #d9d9d9; + background-color: #000000; font-size: 14px; line-height: 1; - color: #fff; + color: #000000; &:hover{ - border-color: rgba(255, 255, 255, .8); + border-color: #40a9ff; } &:focus { outline: none; - border-color: #31abe3; + border-color: #1890ff; } } @@ -136,19 +136,19 @@ .yh-big-button { width: 53px; height: 26px; - background: #00b1d6; + background: #1890ff; border-radius: 4px; - // border-color: #00b1d6; + // border-color: #1890ff; border-width: 1px; border: none; cursor: pointer; - color: #fff; + color: #000000; font-size: 15px; &:hover, &:focus { - // border-color: #0597b4; - background: #0597b4; + // border-color: #40a9ff; + background: #40a9ff; } } @@ -177,8 +177,8 @@ //表格样式重置 .ve-table { - $border-color: #525371; - // $border-color: rgba(255, 255, 255, .43); + $border-color: #e8e8e8; + // $border-color: rgba(0, 0, 0, .15); box-sizing: border-box; .ve-table-container { @@ -229,8 +229,8 @@ box-sizing: border-box; th.ve-table-header-th { - background: #04004E; - color: #FFF; + background: #fafafa; + color: #000000; border-color: $border-color; box-sizing: border-box; line-height: 1; @@ -244,7 +244,7 @@ tr.ve-table-body-tr td.ve-table-expand-td, tr.ve-table-expand-tr td.ve-table-expand-td { background: transparent; - color: #FFA500; + color: #000000; border-color: $border-color; box-sizing: border-box; } @@ -256,7 +256,7 @@ } &.ve-table-row-hover tr.ve-table-body-tr:hover td { - background-color: rgba(0, 0, 0, .22); + background-color: rgba(24, 144, 255, .1); box-sizing: border-box; } } diff --git a/src/assets/css/modules/variables.scss b/src/assets/css/modules/variables.scss index e36162c..c420871 100644 --- a/src/assets/css/modules/variables.scss +++ b/src/assets/css/modules/variables.scss @@ -1,17 +1,17 @@ -// 颜色 +// 颜色 - 浅色主题 $colors: ( - "primary": #1A5CD7, - "info-1": #4394e4, - "info": #4b67af, + "primary": #1890ff, + "info-1": #40a9ff, + "info": #1890ff, "white": #ffffff, - "light": #f9f9f9, + "light": #f5f7fa, "grey-1": #999999, "grey": #666666, - "dark-1": #5f5f5f, + "dark-1": #333333, "dark": #222222, - "black-1": #171823, + "black-1": #000000, "black": #000000, - "icon": #5cd9e8 + "icon": #1890ff ); // 字体大小 diff --git a/src/assets/css/variable.scss b/src/assets/css/variable.scss index 6541052..22c9c93 100644 --- a/src/assets/css/variable.scss +++ b/src/assets/css/variable.scss @@ -1,12 +1,12 @@ -// 颜色 +// 颜色 - 浅色主题 $primary-color: #1890ff; -$primary-color-hl: rgb(41, 52, 67); -$default-color: #006569; +$primary-color-hl: #40a9ff; +$default-color: #1890ff; $link: #1890ff; -$active-color: rgb(0, 101, 105); -$del-color: #ff1839; -$content-background: #f3f5fa; -$table-header-background: #d8eaff; +$active-color: #096dd9; +$del-color: #ff4d4f; +$content-background: #ffffff; +$table-header-background: #f0f7ff; $primary-color-rgba: rgba($color: $primary-color, $alpha: 0.1, diff --git a/src/components/item-wrap/item-wrap.vue b/src/components/item-wrap/item-wrap.vue index a349e15..1813c91 100644 --- a/src/components/item-wrap/item-wrap.vue +++ b/src/components/item-wrap/item-wrap.vue @@ -53,9 +53,9 @@ $item_title_content-height: calc(100% - 38px); height: $item-title-height; line-height: $item-title-height; width: 100%; - color: #31abe3; + color: #1890ff; text-align: center; - // background: linear-gradient(to right, transparent, #0f0756, transparent); + // background: linear-gradient(to right, transparent, #f0f7ff, transparent); position: relative; display: flex; align-items: center; @@ -76,9 +76,9 @@ $item_title_content-height: calc(100% - 38px); letter-spacing: 2px; background: linear-gradient( 92deg, - #acb1b7 0%, - #00eaff 48.8525390625%, - #01aaff 100% + #666666 0%, + #1890ff 48.8525390625%, + #096dd9 100% ); -webkit-background-clip: text; -webkit-text-fill-color: transparent; diff --git a/src/views/dishboard.vue b/src/views/dishboard.vue index cb62e64..ec681f3 100644 --- a/src/views/dishboard.vue +++ b/src/views/dishboard.vue @@ -146,7 +146,7 @@ \ No newline at end of file diff --git a/src/views/indexs/right-center.vue b/src/views/indexs/right-center.vue index 986dca4..f47e970 100644 --- a/src/views/indexs/right-center.vue +++ b/src/views/indexs/right-center.vue @@ -105,12 +105,12 @@ export default { xAxis: { type: 'category', data: xData, - axisLabel: { color: 'white' } + axisLabel: { color: '#000000' } }, yAxis: { type: 'value', axisLabel: { - color: 'white' + color: '#000000' }, splitLine: { lineStyle: { @@ -153,7 +153,7 @@ export default { button { background: rgba(25, 61, 112, 0.8); border: 1px solid #2f6ed4; - color: #fff; + color: #000000; padding: 5px 15px; margin-right: 10px; cursor: pointer; diff --git a/src/views/indexs/right-top-day.vue b/src/views/indexs/right-top-day.vue index 8884f79..551c9fa 100644 --- a/src/views/indexs/right-top-day.vue +++ b/src/views/indexs/right-top-day.vue @@ -139,7 +139,7 @@ table { th { padding: 10px 12px; - color:white; + color: #000000; font-size: 14px; width: 20%; text-align: center; /* 确保单元格内容居中 */ @@ -218,7 +218,7 @@ thead { } */ /* .dialog-table th { background-color: #011946 !important; - color: white; + color: #000000; } .dialog-table td { background-color: rgba(255,255,255,0.8); diff --git a/src/views/indexs/right-top-new.vue b/src/views/indexs/right-top-new.vue index 8b2301e..ef5be64 100644 --- a/src/views/indexs/right-top-new.vue +++ b/src/views/indexs/right-top-new.vue @@ -77,7 +77,7 @@ table { th { padding: 12px; - color:white; + color: #000000; font-size: 14px; width: 20%; text-align: center; /* 确保单元格内容居中 */ diff --git a/src/views/indexs/right-top.vue b/src/views/indexs/right-top.vue index c0081c0..20c341b 100644 --- a/src/views/indexs/right-top.vue +++ b/src/views/indexs/right-top.vue @@ -133,7 +133,7 @@ export default { itemHeight: .0, itemGap: 10, textStyle: { - color: 'white', + color: '#000000', fontSize: 16, fontWeight: 'normal', fontFamily: 'Arial, sans-serif' @@ -153,7 +153,7 @@ export default { data: this.XAxisData, axisLine: { lineStyle: { - color: 'white', + color: '#000000', width: 1 } }, @@ -165,7 +165,7 @@ export default { } }, axisLabel: { - color: 'white', + color: '#000000', fontSize: 12, interval: 1, rotate: 45 @@ -220,7 +220,7 @@ export default { label: { show: true, position: 'top', - color: '#fff', + color: '#000000', fontSize: 12, formatter: (params) => { return params.value === 0 ? '' : params.value;