update pay promo
This commit is contained in:
@@ -26,13 +26,13 @@ const EventDescriptionSection = ({ description }) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<Box bg={sectionBg} p={3} borderRadius="md">
|
||||
<Box bg={sectionBg} p={4} borderRadius="md">
|
||||
{/* 事件描述 */}
|
||||
<Box>
|
||||
<Heading size="md" color={headingColor} mb={2}>
|
||||
<Heading size="md" color={headingColor} mb={3}>
|
||||
事件描述
|
||||
</Heading>
|
||||
<Text fontSize="md" color={textColor} lineHeight="tall">
|
||||
<Text fontSize="lg" color={textColor} lineHeight="1.8">
|
||||
{description}
|
||||
</Text>
|
||||
</Box>
|
||||
|
||||
@@ -146,8 +146,8 @@ const StockListItem = ({
|
||||
<VStack
|
||||
align="stretch"
|
||||
spacing={1}
|
||||
minW="110px"
|
||||
maxW="130px"
|
||||
minW="120px"
|
||||
maxW="145px"
|
||||
justify="center"
|
||||
flexShrink={0}
|
||||
>
|
||||
@@ -161,7 +161,7 @@ const StockListItem = ({
|
||||
>
|
||||
<VStack spacing={0} align="stretch">
|
||||
<Text
|
||||
fontSize="sm"
|
||||
fontSize="md"
|
||||
color={codeColor}
|
||||
noOfLines={1}
|
||||
cursor="pointer"
|
||||
@@ -171,7 +171,7 @@ const StockListItem = ({
|
||||
{stock.stock_code}
|
||||
</Text>
|
||||
<Text
|
||||
fontSize="sm"
|
||||
fontSize="md"
|
||||
fontWeight="bold"
|
||||
color={nameColor}
|
||||
noOfLines={1}
|
||||
@@ -322,13 +322,13 @@ const StockListItem = ({
|
||||
transition="background 0.2s"
|
||||
position="relative"
|
||||
>
|
||||
<Collapse in={isDescExpanded} startingHeight={60}>
|
||||
<Collapse in={isDescExpanded} startingHeight={72}>
|
||||
{/* 渲染 query_part,每句带来源悬停提示 */}
|
||||
<Text
|
||||
as="span"
|
||||
fontSize="sm"
|
||||
fontSize="md"
|
||||
color={nameColor}
|
||||
lineHeight="1.6"
|
||||
lineHeight="1.7"
|
||||
>
|
||||
{Array.isArray(stock.relation_desc?.data) && stock.relation_desc.data.filter(item => item.query_part).map((item, index) => (
|
||||
<Tooltip
|
||||
@@ -380,7 +380,7 @@ const StockListItem = ({
|
||||
{/* 引用来源 - 浅色显示在最后 */}
|
||||
{isDescExpanded && (
|
||||
<Text
|
||||
fontSize="xs"
|
||||
fontSize="sm"
|
||||
color="gray.500"
|
||||
mt={2}
|
||||
lineHeight="1.5"
|
||||
@@ -421,11 +421,11 @@ const StockListItem = ({
|
||||
position="relative"
|
||||
>
|
||||
{/* 去掉"关联描述"标题 */}
|
||||
<Collapse in={isDescExpanded} startingHeight={60}>
|
||||
<Collapse in={isDescExpanded} startingHeight={72}>
|
||||
<Text
|
||||
fontSize="sm"
|
||||
fontSize="md"
|
||||
color={nameColor}
|
||||
lineHeight="1.6"
|
||||
lineHeight="1.7"
|
||||
>
|
||||
{relationText}
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user