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
@@ -25,8 +25,8 @@ import {
Typography,
Popover,
Dropdown,
} from '@douyinfe/semi-ui';
import { IconMore } from '@douyinfe/semi-icons';
} from '@/components/ui';
import { IconMore } from '@/components/ui/icons';
import {
renderGroup,
renderQuota,
@@ -62,7 +62,7 @@ const renderUserCell = (text, record, t) => {
<Text strong className='!text-sm'>
{displayName}
</Text>
<div className='flex items-center gap-1 text-xs text-[var(--semi-color-text-2)]'>
<div className='flex items-center gap-1 text-xs text-[var(--ui-color-text-2)]'>
<span>#{record.user_id}</span>
{record.username && record.username !== displayName && (
<span className='truncate max-w-[120px]'>@{record.username}</span>
@@ -75,7 +75,7 @@ const renderUserCell = (text, record, t) => {
const renderKey = (text, record) => {
// 后端已脱敏,前端再加 sk- 前缀
return (
<code className='text-xs bg-[var(--semi-color-fill-0)] px-2 py-0.5 rounded font-mono'>
<code className='text-xs bg-[var(--ui-color-fill-0)] px-2 py-0.5 rounded font-mono'>
sk-{text}
</code>
);
@@ -112,7 +112,7 @@ const renderQuotaCell = (text, record, t) => {
const renderTime = (ts, t) => {
if (!ts || ts === 0)
return <span className='text-[var(--semi-color-text-2)]'>—</span>;
return <span className='text-[var(--ui-color-text-2)]'>—</span>;
if (ts === -1)
return (
<Tag color='blue' shape='circle' size='small'>