feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等

This commit is contained in:
zhanjunhao
2026-11-10 17:27:36 +08:00
parent 43e7fbc20e
commit 6ea8a0f7c2
195 changed files with 3546 additions and 1984 deletions
+13 -10
View File
@@ -23,15 +23,18 @@ For commercial licensing, please contact support@quantumnous.com
// 结构:hero(版本/动作)→ 为你推荐 → 客户端能做什么 → 全部安装包 → 三步开始。
// 加载失败 / 未开放 / 暂无安装包三种状态都保留 hero 与说明区,只替换安装包区域。
import {
Download as ActionDownload,
RefreshCw as ActionRefreshCw,
Globe as ActionGlobe,
ExternalLink as ActionExternalLink,
} from '@/components/common/icons/ActionIcons';
import React, { useContext, useEffect, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Button, Skeleton, Tag } from '@/components/ui';
import {
AlertTriangle,
Cpu,
Download,
ExternalLink,
Globe,
Laptop,
LogIn,
Monitor,
@@ -283,7 +286,7 @@ const WeyAiDownload = ({ embedded = false }) => {
</span>
</div>
<Button
icon={<Download size={14} />}
icon={<ActionDownload size={14} />}
theme={isReco ? 'solid' : 'light'}
type='primary'
aria-label={`${t('下载')} ${file.name}`}
@@ -341,7 +344,7 @@ const WeyAiDownload = ({ embedded = false }) => {
size='large'
theme='solid'
type='primary'
icon={<Download size={16} />}
icon={<ActionDownload size={16} />}
onClick={() => download(recommended.url)}
>
{t('下载 WeyAi')}
@@ -386,7 +389,7 @@ const WeyAiDownload = ({ embedded = false }) => {
size='large'
theme='solid'
type='primary'
icon={<Download size={16} />}
icon={<ActionDownload size={16} />}
onClick={() => download(androidApk.url)}
>
{t('下载 Android 版')}
@@ -475,7 +478,7 @@ const WeyAiDownload = ({ embedded = false }) => {
<Button
theme='solid'
type='primary'
icon={<RefreshCw size={14} />}
icon={<ActionRefreshCw size={14} />}
onClick={load}
>
{t('重试')}
@@ -545,7 +548,7 @@ const WeyAiDownload = ({ embedded = false }) => {
</span>
</div>
<Button
icon={<Download size={14} />}
icon={<ActionDownload size={14} />}
theme='light'
type='primary'
aria-label={`${t('下载')} ${androidApk.name}`}
@@ -616,7 +619,7 @@ const WeyAiDownload = ({ embedded = false }) => {
/sso/start 再被弹回登录,不如顶栏那样先引导登录 */}
{isLoggedIn && webVisible && webUrl && (
<Button
icon={<Globe size={14} />}
icon={<ActionGlobe size={14} />}
theme='light'
type='primary'
onClick={() => window.open(webUrl, '_blank', 'noopener')}
@@ -625,7 +628,7 @@ const WeyAiDownload = ({ embedded = false }) => {
</Button>
)}
<Button
icon={<ExternalLink size={14} />}
icon={<ActionExternalLink size={14} />}
onClick={() => {
window.location.href = OPEN_APP_URL;
}}