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