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

This commit is contained in:
zhanjunhao
2026-11-04 19:59:06 +08:00
parent 472e534fe1
commit e6c41e7587
576 changed files with 18075 additions and 18912 deletions
@@ -36,7 +36,7 @@ import {
Badge,
Progress,
Card,
} from '@douyinfe/semi-ui';
} from '@/components/ui';
import {
IllustrationNoResult,
IllustrationNoResultDark,
@@ -478,16 +478,16 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
<div
className='rounded-xl p-4 mb-3'
style={{
background: 'var(--semi-color-bg-1)',
border: '1px solid var(--semi-color-border)',
background: 'var(--ui-color-bg-1)',
border: '1px solid var(--ui-color-border)',
}}
>
<Row gutter={16} align='middle'>
<Col span={8}>
<div
style={{
background: 'var(--semi-color-bg-0)',
border: '1px solid var(--semi-color-border)',
background: 'var(--ui-color-bg-0)',
border: '1px solid var(--ui-color-border)',
borderRadius: 12,
padding: 12,
}}
@@ -503,7 +503,7 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
{enabledCount}
</Text>
<Text
style={{ fontSize: 18, color: 'var(--semi-color-text-2)' }}
style={{ fontSize: 18, color: 'var(--ui-color-text-2)' }}
>
/ {total}
</Text>
@@ -520,8 +520,8 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
<Col span={8}>
<div
style={{
background: 'var(--semi-color-bg-0)',
border: '1px solid var(--semi-color-border)',
background: 'var(--ui-color-bg-0)',
border: '1px solid var(--ui-color-border)',
borderRadius: 12,
padding: 12,
}}
@@ -537,7 +537,7 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
{manualDisabledCount}
</Text>
<Text
style={{ fontSize: 18, color: 'var(--semi-color-text-2)' }}
style={{ fontSize: 18, color: 'var(--ui-color-text-2)' }}
>
/ {total}
</Text>
@@ -554,8 +554,8 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
<Col span={8}>
<div
style={{
background: 'var(--semi-color-bg-0)',
border: '1px solid var(--semi-color-border)',
background: 'var(--ui-color-bg-0)',
border: '1px solid var(--ui-color-border)',
borderRadius: 12,
padding: 12,
}}
@@ -571,7 +571,7 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
{autoDisabledCount}
</Text>
<Text
style={{ fontSize: 18, color: 'var(--semi-color-text-2)' }}
style={{ fontSize: 18, color: 'var(--ui-color-text-2)' }}
>
/ {total}
</Text>
@@ -596,7 +596,7 @@ const MultiKeyManageModal = ({ visible, onCancel, channel, onRefresh }) => {
title={() => (
// xs 断点下两栏各占满一行:原来固定 14/10 分栏,在 358px 的弹窗体里
// 右栏只有 ~124px,却要放约 330px 的四个按钮,「删除自动禁用密钥」
// 会溢出到 .semi-modal-body{overflow-x:hidden} 之外被裁掉
// 会溢出到 .ant-modal-body{overflow-x:hidden} 之外被裁掉
<Row gutter={12} style={{ width: '100%' }}>
<Col xs={24} sm={14}>
<Row gutter={12} style={{ alignItems: 'center' }}>