update pay function

This commit is contained in:
2025-12-01 14:16:11 +08:00
parent 21eb1783e9
commit 7fa3d26470

View File

@@ -276,7 +276,7 @@ const CompactIndexCard = ({ indexCode, indexName }) => {
if (loading) { if (loading) {
return ( return (
<Center h="140px"> <Center h="210px">
<VStack spacing={2}> <VStack spacing={2}>
<Spinner size="sm" color="gold" thickness="2px" /> <Spinner size="sm" color="gold" thickness="2px" />
<Text fontSize="10px" color="whiteAlpha.500">加载{indexName}...</Text> <Text fontSize="10px" color="whiteAlpha.500">加载{indexName}...</Text>
@@ -286,7 +286,7 @@ const CompactIndexCard = ({ indexCode, indexName }) => {
} }
return ( return (
<Flex direction="column" h="140px"> <Flex direction="column" h="210px">
{/* 顶部:指数名称和数据 */} {/* 顶部:指数名称和数据 */}
<Flex justify="space-between" align="center" mb={1}> <Flex justify="space-between" align="center" mb={1}>
<HStack spacing={2}> <HStack spacing={2}>
@@ -792,7 +792,7 @@ const HeroPanel = () => {
<Box <Box
flex="1" flex="1"
p={4} p={4}
minH="160px" minH="240px"
bg="rgba(255,255,255,0.03)" bg="rgba(255,255,255,0.03)"
borderRadius="xl" borderRadius="xl"
border="1px solid rgba(255,255,255,0.08)" border="1px solid rgba(255,255,255,0.08)"
@@ -810,7 +810,7 @@ const HeroPanel = () => {
<Box <Box
flex="1" flex="1"
p={4} p={4}
minH="160px" minH="240px"
bg="rgba(255,255,255,0.03)" bg="rgba(255,255,255,0.03)"
borderRadius="xl" borderRadius="xl"
border="1px solid rgba(255,255,255,0.08)" border="1px solid rgba(255,255,255,0.08)"
@@ -828,7 +828,7 @@ const HeroPanel = () => {
{/* 右侧:热门概念 - 流动式设计 */} {/* 右侧:热门概念 - 流动式设计 */}
<Box <Box
flex={{ lg: '1' }} flex={{ lg: '1' }}
minH={{ base: '180px', lg: '160px' }} minH={{ base: '270px', lg: '240px' }}
bg="linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(20,20,40,0.3) 50%, rgba(0,0,0,0.4) 100%)" bg="linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(20,20,40,0.3) 50%, rgba(0,0,0,0.4) 100%)"
borderRadius="2xl" borderRadius="2xl"
border="1px solid" border="1px solid"