diff --git a/src/views/Settings/SettingsPage.js b/src/views/Settings/SettingsPage.js index aa5de8b6..a869ccc6 100644 --- a/src/views/Settings/SettingsPage.js +++ b/src/views/Settings/SettingsPage.js @@ -67,12 +67,12 @@ export default function SettingsPage() { const { colorMode, toggleColorMode } = useColorMode(); const toast = useToast(); - // 深色模式适配颜色 - const headingColor = useColorModeValue('gray.800', 'white'); - const textColor = useColorModeValue('gray.800', 'gray.100'); - const subTextColor = useColorModeValue('gray.600', 'gray.400'); - const cardBg = useColorModeValue('white', 'gray.800'); - const borderColor = useColorModeValue('gray.200', 'gray.600'); + // 深色模式固定颜色(Settings 页面始终使用深色主题) + const headingColor = 'white'; + const textColor = 'gray.100'; + const subTextColor = 'gray.400'; + const cardBg = 'gray.800'; + const borderColor = 'gray.600'; // 🎯 初始化设置页面埋点Hook const profileEvents = useProfileEvents({ pageType: 'settings' }); diff --git a/src/views/ValueForum/PredictionTopicDetail.js b/src/views/ValueForum/PredictionTopicDetail.js index 54c1dd7d..277a9e7e 100644 --- a/src/views/ValueForum/PredictionTopicDetail.js +++ b/src/views/ValueForum/PredictionTopicDetail.js @@ -28,7 +28,7 @@ import { Crown, Users, Clock, - DollarSign, + Coins, ShoppingCart, ArrowLeftRight, CheckCircle2, @@ -499,7 +499,7 @@ const PredictionTopicDetail = () => { > - + 当前奖池 diff --git a/src/views/ValueForum/components/PredictionTopicCard.js b/src/views/ValueForum/components/PredictionTopicCard.js index 96ec18e4..561e186a 100644 --- a/src/views/ValueForum/components/PredictionTopicCard.js +++ b/src/views/ValueForum/components/PredictionTopicCard.js @@ -23,7 +23,7 @@ import { Crown, Users, Clock, - DollarSign, + Coins, Zap, } from 'lucide-react'; import { useNavigate } from 'react-router-dom'; @@ -272,7 +272,7 @@ const PredictionTopicCard = ({ topic }) => { {/* 奖池和数据 */} - + {formatNumber(topic.total_pool)} diff --git a/src/views/ValueForum/components/TradeModal.js b/src/views/ValueForum/components/TradeModal.js index 6c77d67f..bea6ac6d 100644 --- a/src/views/ValueForum/components/TradeModal.js +++ b/src/views/ValueForum/components/TradeModal.js @@ -29,7 +29,7 @@ import { useToast, Badge, } from '@chakra-ui/react'; -import { TrendingUp, TrendingDown, DollarSign, AlertCircle, Zap } from 'lucide-react'; +import { TrendingUp, TrendingDown, Coins, AlertCircle, Zap } from 'lucide-react'; import { motion } from 'framer-motion'; import { forumColors } from '@theme/forumTheme'; import { @@ -231,7 +231,7 @@ const TradeModal = ({ isOpen, onClose, topic, mode = 'buy', onTradeSuccess }) => > @@ -384,7 +384,7 @@ const TradeModal = ({ isOpen, onClose, topic, mode = 'buy', onTradeSuccess }) => - +