@@ -236,15 +596,16 @@ const AlertCard = ({ alert, isExpanded, onToggle, stocks, loadingStocks }) => {
cursor="pointer"
_hover={{ bg: hoverBg }}
onClick={(e) => handleStockClick(e, stockCode)}
+ transition="background 0.15s"
>
- |
+ |
{stockName}
@@ -255,11 +616,13 @@ const AlertCard = ({ alert, isExpanded, onToggle, stocks, loadingStocks }) => {
h="80px"
bg={popoverBg}
borderColor={borderColor}
- boxShadow="lg"
+ boxShadow="xl"
onClick={(e) => e.stopPropagation()}
>
- {stockName} 分时
+
+ {stockName} 分时
+
@@ -268,13 +631,13 @@ const AlertCard = ({ alert, isExpanded, onToggle, stocks, loadingStocks }) => {
|
-
+ |
0 ? 'red.400' :
- hasChange && changePct < 0 ? 'green.400' : 'gray.400'
+ hasChange && changePct > 0 ? '#ff4d4f' :
+ hasChange && changePct < 0 ? '#52c41a' : subTextColor
}
>
{hasChange
@@ -283,8 +646,8 @@ const AlertCard = ({ alert, isExpanded, onToggle, stocks, loadingStocks }) => {
}
|
-
-
+ |
+
{stock.reason || '-'}
|
@@ -293,15 +656,16 @@ const AlertCard = ({ alert, isExpanded, onToggle, stocks, loadingStocks }) => {
})}
|