feat: 参考原型图 ui优化提交 个人端-用户中心 相关的页面

This commit is contained in:
zhanjunhao
2026-11-04 19:59:06 +08:00
parent 1fd4e084b6
commit 15192c433b
576 changed files with 18075 additions and 18912 deletions
@@ -26,10 +26,10 @@ import {
Spin,
Progress,
Typography,
} from '@douyinfe/semi-ui';
} from '@/components/ui';
import OrgPanel from './OrgPanel';
import { VChart } from '@visactor/react-vchart';
import { initVChartSemiTheme } from '@visactor/vchart-semi-theme';
import { initVChartTheme } from '@/components/ui/chartTheme';
import {
RefreshCw,
PieChart,
@@ -107,7 +107,7 @@ const DeltaBadge = ({ cur, prev, t }) => {
<span
className='text-xs font-medium'
style={{
color: up ? 'var(--semi-color-success)' : 'var(--semi-color-danger)',
color: up ? 'var(--ui-color-success)' : 'var(--ui-color-danger)',
}}
>
{up ? '▲' : '▼'} {Math.abs(pct).toFixed(1)}%
@@ -117,7 +117,7 @@ const DeltaBadge = ({ cur, prev, t }) => {
};
const KpiCard = ({ label, value, sub }) => (
<div className='px-4 py-3 rounded-xl bg-[var(--semi-color-fill-0)]'>
<div className='px-4 py-3 rounded-xl bg-[var(--ui-color-fill-0)]'>
<div className='text-xs text-gray-500 mb-1'>{label}</div>
<div className='text-lg font-semibold text-gray-900 dark:text-white truncate'>
{value}
@@ -191,7 +191,7 @@ const OrgAnalyticsPanel = ({ orgId }) => {
const [loading, setLoading] = useState(false);
useEffect(() => {
initVChartSemiTheme({ isWatchingThemeSwitch: true });
initVChartTheme({ isWatchingThemeSwitch: true });
}, []);
const dimensions = useMemo(