更新Company页面的UI为FUI风格

This commit is contained in:
2025-12-17 23:48:37 +08:00
parent a2f224d118
commit c589e629b0
2 changed files with 2 additions and 22 deletions

View File

@@ -386,6 +386,7 @@ const KLineModule: React.FC<KLineModuleProps> = ({
option={getKLineDarkGoldOption(tradeData, analysisMap, subIndicator, mainIndicator, showAnalysis, drawingType)}
style={{ height: '100%', width: '100%' }}
theme="dark"
notMerge={true}
onEvents={{ click: onChartClick }}
opts={{ renderer: 'canvas' }}
/>
@@ -416,6 +417,7 @@ const KLineModule: React.FC<KLineModuleProps> = ({
option={getMinuteKLineDarkGoldOption(minuteData)}
style={{ height: '100%', width: '100%' }}
theme="dark"
notMerge={true}
opts={{ renderer: 'canvas' }}
/>
</Box>

View File

@@ -1517,28 +1517,6 @@ export const getKLineDarkGoldOption = (
start: 50,
end: 100,
},
{
show: true,
type: 'slider',
xAxisIndex: hasSubIndicator ? [0, 1, 2] : [0, 1],
bottom: 5,
height: 20,
start: 50,
end: 100,
borderColor: borderColor,
backgroundColor: 'rgba(26, 26, 46, 0.5)',
dataBackground: {
lineStyle: { color: gold, opacity: 0.5 },
areaStyle: { color: gold, opacity: 0.1 },
},
selectedDataBackground: {
lineStyle: { color: gold },
areaStyle: { color: gold, opacity: 0.2 },
},
fillerColor: 'rgba(212, 175, 55, 0.2)',
handleStyle: { color: gold, borderColor: goldLight },
textStyle: { color: textMuted, fontSize: 10 },
},
],
xAxis: xAxes,
yAxis: yAxes,