feat(StockQuoteCard): 新增每股收益(EPS)显示
- Mock 数据添加 eps、pb、主力动态等指标 - StockQuoteCard 显示 EPS 数据 - useStockQuote 支持 eps 字段转换 - StockInfoHeader 移除重复的 EPS 显示
This commit is contained in:
@@ -276,6 +276,12 @@ const StockQuoteCard: React.FC<StockQuoteCardProps> = ({
|
||||
{data.pe.toFixed(2)}
|
||||
</Text>
|
||||
</HStack>
|
||||
<HStack justify="space-between">
|
||||
<Text color={labelColor}>每股收益(EPS):</Text>
|
||||
<Text color={valueColor} fontWeight="bold" fontSize="16px">
|
||||
{data.eps?.toFixed(3) || '-'}
|
||||
</Text>
|
||||
</HStack>
|
||||
<HStack justify="space-between">
|
||||
<Text color={labelColor}>市净率(PB):</Text>
|
||||
<Text color={valueColor} fontWeight="bold" fontSize="16px">
|
||||
|
||||
Reference in New Issue
Block a user