diff --git a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/organisms/ValueChainNodeCard/index.tsx b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/organisms/ValueChainNodeCard/index.tsx index 461b6d7c..0dfc7c55 100644 --- a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/organisms/ValueChainNodeCard/index.tsx +++ b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/organisms/ValueChainNodeCard/index.tsx @@ -29,7 +29,6 @@ import { Settings, Network, FlaskConical, - Star, } from 'lucide-react'; import { logger } from '@utils/logger'; import axios from '@utils/axiosConfig'; @@ -178,27 +177,17 @@ const ValueChainNodeCard: React.FC = memo(({ > - - - - {isCompany && ( - - 核心企业 - - )} - - {node.importance_score !== undefined && - node.importance_score >= 70 && ( - - - - - - )} + + + {isCompany && ( + + 核心企业 + + )} diff --git a/src/views/Company/components/MarketDataView/utils/chartOptions.ts b/src/views/Company/components/MarketDataView/utils/chartOptions.ts index 8a7c2c8a..4801920e 100644 --- a/src/views/Company/components/MarketDataView/utils/chartOptions.ts +++ b/src/views/Company/components/MarketDataView/utils/chartOptions.ts @@ -1157,9 +1157,12 @@ export const getKLineDarkGoldOption = ( lineStyle: { color: red, type: 'dashed', width: 1.5 }, label: { formatter: `阻力 ${formatPrice(supportResistance.resistance)}`, - position: 'end', + position: 'insideEndTop', color: red, fontSize: 10, + backgroundColor: 'rgba(26, 26, 46, 0.85)', + padding: [2, 6], + borderRadius: 2, }, }); } @@ -1170,9 +1173,12 @@ export const getKLineDarkGoldOption = ( lineStyle: { color: green, type: 'dashed', width: 1.5 }, label: { formatter: `支撑 ${formatPrice(supportResistance.support)}`, - position: 'end', + position: 'insideEndBottom', color: green, fontSize: 10, + backgroundColor: 'rgba(26, 26, 46, 0.85)', + padding: [2, 6], + borderRadius: 2, }, }); }