update ui
This commit is contained in:
@@ -32,6 +32,7 @@ import {
|
||||
import { stockService } from '../../../services/eventService';
|
||||
import { logger } from '../../../utils/logger';
|
||||
import CitedContent from '../../../components/Citation/CitedContent';
|
||||
import { PROFESSIONAL_COLORS } from '../../../constants/professionalTheme';
|
||||
|
||||
const HistoricalEvents = ({
|
||||
events = [],
|
||||
@@ -48,10 +49,10 @@ const HistoricalEvents = ({
|
||||
const [loadingStocks, setLoadingStocks] = useState({});
|
||||
|
||||
// 颜色主题
|
||||
const cardBg = useColorModeValue('white', 'gray.800');
|
||||
const borderColor = useColorModeValue('gray.200', 'gray.600');
|
||||
const textSecondary = useColorModeValue('gray.600', 'gray.400');
|
||||
const nameColor = useColorModeValue('gray.700', 'gray.300');
|
||||
const cardBg = PROFESSIONAL_COLORS.background.card;
|
||||
const borderColor = PROFESSIONAL_COLORS.border.default;
|
||||
const textSecondary = PROFESSIONAL_COLORS.text.secondary;
|
||||
const nameColor = PROFESSIONAL_COLORS.text.primary;
|
||||
|
||||
// 字段兼容函数
|
||||
const getEventDate = (event) => {
|
||||
|
||||
Reference in New Issue
Block a user