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
@@ -18,7 +18,7 @@ For commercial licensing, please contact support@quantumnous.com
*/
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@douyinfe/semi-ui';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
import {
compareObjects,
API,
@@ -28,7 +28,7 @@ import {
verifyJSON,
} from '../../../helpers';
import { useTranslation } from 'react-i18next';
import Text from '@douyinfe/semi-ui/lib/es/typography/text';
import { Text } from '@/components/ui';
const CLAUDE_HEADER = {
'claude-3-7-sonnet-20250219-thinking': {
@@ -18,7 +18,7 @@ For commercial licensing, please contact support@quantumnous.com
*/
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin } from '@douyinfe/semi-ui';
import { Button, Col, Form, Row, Spin } from '@/components/ui';
import {
compareObjects,
API,
@@ -28,7 +28,7 @@ import {
verifyJSON,
} from '../../../helpers';
import { useTranslation } from 'react-i18next';
import Text from '@douyinfe/semi-ui/lib/es/typography/text';
import { Text } from '@/components/ui';
const GEMINI_SETTING_EXAMPLE = {
default: 'OFF',
@@ -18,7 +18,7 @@ For commercial licensing, please contact support@quantumnous.com
*/
import React, { useEffect, useState, useRef } from 'react';
import { Button, Col, Form, Row, Spin, Banner } from '@douyinfe/semi-ui';
import { Button, Col, Form, Row, Spin, Banner } from '@/components/ui';
import {
compareObjects,
API,
@@ -33,8 +33,8 @@ import {
Table,
Tag,
Typography,
} from '@douyinfe/semi-ui';
import { IconDelete, IconEdit, IconPlus } from '@douyinfe/semi-icons';
} from '@/components/ui';
import { IconDelete, IconEdit, IconPlus } from '@/components/ui/icons';
import { useTranslation } from 'react-i18next';
import { API, showError, showSuccess } from '../../../helpers';
@@ -474,8 +474,8 @@ export default function SettingImagePricing({ options, refresh }) {
marginTop: 8,
padding: '8px 12px',
borderRadius: 6,
background: 'var(--semi-color-fill-0)',
color: 'var(--semi-color-text-2)',
background: 'var(--ui-color-fill-0)',
color: 'var(--ui-color-text-2)',
fontSize: 12,
lineHeight: 1.6,
}}
@@ -31,8 +31,8 @@ import {
Select,
Empty,
Spin,
} from '@douyinfe/semi-ui';
import { IconPlus } from '@douyinfe/semi-icons';
} from '@/components/ui';
import { IconPlus } from '@/components/ui/icons';
import { API, showError, showSuccess } from '../../../helpers';
import { useTranslation } from 'react-i18next';
+10 -10
View File
@@ -33,8 +33,8 @@ import {
InputNumber,
Switch,
Typography,
} from '@douyinfe/semi-ui';
import { IconPlus, IconDelete, IconEdit } from '@douyinfe/semi-icons';
} from '@/components/ui';
import { IconPlus, IconDelete, IconEdit } from '@/components/ui/icons';
import {
API,
showError,
@@ -544,7 +544,7 @@ export default function SettingVideoModel(props) {
<Row style={{ marginBottom: 16 }}>
<Col span={24}>
<div
style={{ color: 'var(--semi-color-text-2)', marginBottom: 8 }}
style={{ color: 'var(--ui-color-text-2)', marginBottom: 8 }}
>
{t(
'在此配置自定义视频生成模型,这些模型将与内置模型一起可用于视频生成功能。',
@@ -573,7 +573,7 @@ export default function SettingVideoModel(props) {
<Row style={{ marginBottom: 8 }}>
<Col span={24}>
<div
style={{ color: 'var(--semi-color-text-2)', marginBottom: 8 }}
style={{ color: 'var(--ui-color-text-2)', marginBottom: 8 }}
>
{t(
'真人人像需要 TokenPony 素材权限、公网 HTTPS 服务地址、稳定的 CRYPTO_SECRET 和私有 COS。',
@@ -600,7 +600,7 @@ export default function SettingVideoModel(props) {
<Row style={{ marginBottom: 16 }}>
<Col span={24}>
<div
style={{ color: 'var(--semi-color-text-2)', marginBottom: 8 }}
style={{ color: 'var(--ui-color-text-2)', marginBottom: 8 }}
>
{t(
'为视频模型配置「按秒分档」计费:每个档位设置每秒单价(官方原价),实际计费 = 单价 × 视频时长 × 分组倍率(分组折扣无需在此重复配置)。配置后该模型计费类型变为「按秒计费」。',
@@ -632,7 +632,7 @@ export default function SettingVideoModel(props) {
<Row style={{ marginBottom: 8 }}>
<Col span={24}>
<div
style={{ color: 'var(--semi-color-text-2)', marginBottom: 8 }}
style={{ color: 'var(--ui-color-text-2)', marginBottom: 8 }}
>
{t(
'每用户素材数量上限(审核中与已通过的素材计入,审核失败不计入)。保存后约 1 分钟内生效,无需重启。',
@@ -794,8 +794,8 @@ export default function SettingVideoModel(props) {
marginTop: 8,
padding: '8px 12px',
borderRadius: 6,
background: 'var(--semi-color-fill-0)',
color: 'var(--semi-color-text-2)',
background: 'var(--ui-color-fill-0)',
color: 'var(--ui-color-text-2)',
fontSize: 12,
lineHeight: 1.6,
}}
@@ -818,7 +818,7 @@ export default function SettingVideoModel(props) {
margin: '4px 0 0',
padding: '6px 8px',
borderRadius: 4,
background: 'var(--semi-color-fill-1)',
background: 'var(--ui-color-fill-1)',
whiteSpace: 'pre-wrap',
fontSize: 12,
}}
@@ -834,7 +834,7 @@ export default function SettingVideoModel(props) {
<Typography.Text strong>{t('档位列表')}</Typography.Text>
<div
style={{
color: 'var(--semi-color-text-2)',
color: 'var(--ui-color-text-2)',
fontSize: 12,
margin: '4px 0 8px',
}}