feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 6ad95e2baa
commit 5713d541b0
242 changed files with 9242 additions and 5043 deletions
+14 -15
View File
@@ -23,6 +23,7 @@ import { API, showError, showSuccess, timestamp2string } from '../../helpers';
import { useTranslation } from 'react-i18next';
import { StatusContext } from '../../context/Status';
import { Text } from '@/components/ui';
import './other-setting.css';
const LEGAL_USER_AGREEMENT_KEY = 'legal.user_agreement';
const LEGAL_PRIVACY_POLICY_KEY = 'legal.privacy_policy';
@@ -370,22 +371,14 @@ const OtherSetting = () => {
return (
<Row>
<Col
span={24}
style={{
marginTop: '10px',
display: 'flex',
flexDirection: 'column',
gap: '10px',
}}
>
<Col span={24} className='settings-other-sections'>
{/* 版本信息 */}
<Form>
<Card>
<Form.Section text={t('系统信息')}>
<Form.Section text={t('系统信息')} className='settings-other-info'>
<Row>
<Col span={16}>
<Space>
<Col span={24}>
<Space wrap>
<Text>
{t('当前版本')}:
{statusState?.status?.version || t('未知')}
@@ -401,7 +394,7 @@ const OtherSetting = () => {
</Col>
</Row>
<Row>
<Col span={16}>
<Col span={24}>
<Text>
{t('启动时间')}:{getStartTimeString()}
</Text>
@@ -416,7 +409,10 @@ const OtherSetting = () => {
getFormApi={(formAPI) => (formAPISettingGeneral.current = formAPI)}
>
<Card>
<Form.Section text={t('通用设置')}>
<Form.Section
text={t('通用设置')}
className='settings-other-fields'
>
<Form.TextArea
label={t('公告')}
placeholder={t(
@@ -477,7 +473,10 @@ const OtherSetting = () => {
getFormApi={(formAPI) => (formAPIPersonalization.current = formAPI)}
>
<Card>
<Form.Section text={t('个性化设置')}>
<Form.Section
text={t('个性化设置')}
className='settings-other-fields'
>
<Form.Input
label={t('系统名称')}
placeholder={t('在此输入系统名称')}