更新Company页面的UI为FUI风格

This commit is contained in:
2025-12-24 12:55:47 +08:00
parent 9b969eb97e
commit 272a6002bb

View File

@@ -935,36 +935,38 @@ const MainlineTimelineViewComponent = forwardRef(
</HStack> </HStack>
</Flex> </Flex>
{/* 主线卡片横向滚动容器 */} {/* 主线卡片横向滚动容器 - 使用 column-reverse 让滚动条在顶部 */}
<Box <Box
overflowX="auto"
overflowY="hidden"
h="calc(100% - 44px)" h="calc(100% - 44px)"
pb={3} display="flex"
css={{ flexDirection="column-reverse"
"&::-webkit-scrollbar": {
height: "14px",
background: COLORS.scrollbarTrackBg,
},
"&::-webkit-scrollbar-track": {
background: COLORS.scrollbarTrackBg,
borderRadius: "7px",
margin: "0 8px",
},
"&::-webkit-scrollbar-thumb": {
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbBg}, #8a9bb0)`,
borderRadius: "7px",
border: `3px solid ${COLORS.scrollbarTrackBg}`,
},
"&::-webkit-scrollbar-thumb:hover": {
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbHoverBg}, #b8c5d4)`,
},
}}
> >
<Box
flex="1"
overflowX="auto"
overflowY="hidden"
css={{
"&::-webkit-scrollbar": {
height: "12px",
background: COLORS.scrollbarTrackBg,
},
"&::-webkit-scrollbar-track": {
background: COLORS.scrollbarTrackBg,
borderRadius: "6px",
},
"&::-webkit-scrollbar-thumb": {
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbBg}, #8a9bb0)`,
borderRadius: "6px",
border: `2px solid ${COLORS.scrollbarTrackBg}`,
},
"&::-webkit-scrollbar-thumb:hover": {
background: `linear-gradient(90deg, ${COLORS.scrollbarThumbHoverBg}, #b8c5d4)`,
},
}}
>
<HStack <HStack
spacing={3} spacing={3}
p={3} p={3}
pb={0}
align="stretch" align="stretch"
h="100%" h="100%"
minW="max-content" minW="max-content"
@@ -993,6 +995,7 @@ const MainlineTimelineViewComponent = forwardRef(
); );
})} })}
</HStack> </HStack>
</Box>
</Box> </Box>
</Box> </Box>
); );