update 调整样式·

This commit is contained in:
zk
2024-06-17 11:56:02 +08:00
parent de77657b64
commit 778e350959
3 changed files with 14 additions and 6 deletions
+3 -3
View File
@@ -127,9 +127,9 @@ html, body, #app {
//框背景色
.ant-select:not(.ant-select-customize-input) .ant-select-selector {
color: #1b7ef2 !important;
color: var(--antSelectFontColor) !important;
background-color: transparent !important;
border: 1px solid #1b7ef2 !important;
border: 1px solid var(--antSelectDropdownBorderColor) !important;
}
.ant-select-item-option-selected {
@@ -151,7 +151,7 @@ html, body, #app {
// 箭头颜色
.ant-select-arrow {
color: #1b7ef2 !important;
color: var(--antSelectDropdownBorderColor) !important;
}
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
+1 -1
View File
@@ -24,7 +24,7 @@ export const themeList = {
},
light: {
antSelectDropdownBg: '#fff',
antSelectDropdownBorderColor: '#1b7ef2',
antSelectDropdownBorderColor: '#607DDB',
antSelectItemActive: '#ced7f6',
antSelectFontColor: '#5876DB',
antSelectBg: '#ced7f6',
+10 -2
View File
@@ -375,6 +375,7 @@ export function barOption(xData, ydata, theme) {
},
tooltip: {
show: true,
trigger: 'axis', // 触发类型为坐标轴
textStyle: {
color: '#fff',
},
@@ -391,7 +392,13 @@ export function barOption(xData, ydata, theme) {
...xAxisLabel,
},
axisLine: {
color: '#bac9e1',
lineStyle: {
type: 'solid',
color: '#8798d1',
},
},
axisTick: {
show: false,
},
},
yAxis: {
@@ -411,7 +418,7 @@ export function barOption(xData, ydata, theme) {
show: true,
lineStyle: {
type: 'dashed',
color: 'rgba(217, 231, 255, 0.2)',
color: '#a2add2',
},
},
min: 0,
@@ -424,6 +431,7 @@ export function barOption(xData, ydata, theme) {
barWidth: '20%',
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, itemStyle),
borderRadius: 12,
},
barMaxWidth: '10',
label: {