更新Company页面的UI为FUI风格

This commit is contained in:
2025-12-23 09:50:04 +08:00
parent 97ff42786a
commit 311a74a7ec
6 changed files with 175 additions and 21 deletions

View File

@@ -5,10 +5,8 @@ import React, { useState } from 'react';
import {
Box,
Collapse,
useColorModeValue,
} from '@chakra-ui/react';
import CollapsibleHeader from './CollapsibleHeader';
import { PROFESSIONAL_COLORS } from '@constants/professionalTheme';
/**
* 通用可折叠区块组件
@@ -38,7 +36,8 @@ const CollapsibleSection = ({
showModeToggle = false,
defaultMode = 'detailed'
}) => {
const sectionBg = PROFESSIONAL_COLORS.background.secondary;
// 使用半透明深色背景
const sectionBg = 'rgba(21, 25, 34, 0.6)';
// 模式状态:'detailed' | 'simple'
const [displayMode, setDisplayMode] = useState(defaultMode);