From 6a210b9667e9c87335739cee280e7ea57bca636f Mon Sep 17 00:00:00 2001 From: wxj Date: Wed, 1 Jul 2026 15:18:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80=EF=BC=9A=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=20mt-[60px]=20px-2=20=E4=B8=BA=E7=BB=9F=E4=B8=80=20min-h-full?= =?UTF-8?q?=20pb-16=20pt-20=20+=20max-w-[1400px]=20=E5=B1=85=E4=B8=AD?= =?UTF-8?q?=E5=AE=B9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 涉及页面:Channel、Token、Redemption、Log、Task、Midjourney、Model、ModelHeat、ModelDeployment、Subscription、User、Setting、Supplier Dashboard/Apply/Channel/PricingSettings、SupplierAdmin list/application、About、DistributorAdmin/Center/Apply、DeploymentAccessGuard、PersonalSetting、Dashboard 等全部控制台页面 --- .../DeploymentAccessGuard.jsx | 50 +++++++++++-------- .../components/settings/PersonalSetting.jsx | 4 +- web/src/index.css | 2 +- web/src/pages/About/index.jsx | 4 +- web/src/pages/Channel/index.jsx | 6 ++- web/src/pages/Dashboard/index.jsx | 2 +- web/src/pages/DistributorAdmin.jsx | 4 +- web/src/pages/DistributorApply.jsx | 2 +- web/src/pages/DistributorCenter.jsx | 4 +- web/src/pages/Log/index.jsx | 6 ++- web/src/pages/Midjourney/index.jsx | 6 ++- web/src/pages/Model/index.jsx | 6 ++- web/src/pages/ModelDeployment/index.jsx | 6 ++- web/src/pages/ModelHeat/index.jsx | 6 ++- web/src/pages/Redemption/index.jsx | 6 ++- web/src/pages/Setting/index.jsx | 4 +- web/src/pages/Subscription/index.jsx | 6 ++- web/src/pages/Supplier/Apply/index.jsx | 8 +-- web/src/pages/Supplier/Channel/index.jsx | 8 ++- web/src/pages/Supplier/Dashboard/index.jsx | 8 ++- .../pages/Supplier/PricingSettings/index.jsx | 8 ++- .../pages/SupplierAdmin/application/index.jsx | 6 ++- web/src/pages/SupplierAdmin/list/index.jsx | 6 ++- web/src/pages/Task/index.jsx | 6 ++- web/src/pages/Token/index.jsx | 6 ++- web/src/pages/User/index.jsx | 6 ++- 26 files changed, 123 insertions(+), 63 deletions(-) diff --git a/web/src/components/model-deployments/DeploymentAccessGuard.jsx b/web/src/components/model-deployments/DeploymentAccessGuard.jsx index eef17b3..0b0c266 100644 --- a/web/src/components/model-deployments/DeploymentAccessGuard.jsx +++ b/web/src/components/model-deployments/DeploymentAccessGuard.jsx @@ -43,27 +43,30 @@ const DeploymentAccessGuard = ({ if (loading) { return ( -
+
+
{t('加载设置中...')}
+
); } if (!isEnabled) { return ( -
+
+
+
+
+
); } if (connectionLoading || (connectionOk === null && !connectionError)) { return ( -
+
+
{t('正在检查 io.net 连接...')}
+
); } @@ -301,15 +308,16 @@ const DeploymentAccessGuard = ({ const detail = connectionError?.message || ''; return ( -
+
+
+
+
+
); } diff --git a/web/src/components/settings/PersonalSetting.jsx b/web/src/components/settings/PersonalSetting.jsx index ff6021a..c0d8e39 100644 --- a/web/src/components/settings/PersonalSetting.jsx +++ b/web/src/components/settings/PersonalSetting.jsx @@ -555,7 +555,8 @@ const PersonalSetting = () => { return ( -
+
+
{/* 顶部用户信息区域 */} @@ -676,6 +677,7 @@ const PersonalSetting = () => { turnstileSiteKey={turnstileSiteKey} setTurnstileToken={setTurnstileToken} /> +
); }; diff --git a/web/src/index.css b/web/src/index.css index 9321b53..9961db7 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -1187,7 +1187,7 @@ html.dark .home-distributor-cta-btn { .distributor-apply-page-root { position: fixed; z-index: 1; - top: 64px; + top: 80px; right: 0; bottom: 0; left: 0; diff --git a/web/src/pages/About/index.jsx b/web/src/pages/About/index.jsx index 654c32f..6533e72 100644 --- a/web/src/pages/About/index.jsx +++ b/web/src/pages/About/index.jsx @@ -133,7 +133,8 @@ const About = () => { ); return ( -
+
+
{aboutLoaded && about === '' ? (
{ )} )} +
); }; diff --git a/web/src/pages/Channel/index.jsx b/web/src/pages/Channel/index.jsx index 168d1ae..f93c545 100644 --- a/web/src/pages/Channel/index.jsx +++ b/web/src/pages/Channel/index.jsx @@ -38,8 +38,10 @@ const File = () => { }, [editId]); return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/Dashboard/index.jsx b/web/src/pages/Dashboard/index.jsx index d5ffef2..75faf59 100644 --- a/web/src/pages/Dashboard/index.jsx +++ b/web/src/pages/Dashboard/index.jsx @@ -22,7 +22,7 @@ import Dashboard from '../../components/dashboard'; const Detail = () => (
-
+
diff --git a/web/src/pages/DistributorAdmin.jsx b/web/src/pages/DistributorAdmin.jsx index 5eab562..34171f7 100644 --- a/web/src/pages/DistributorAdmin.jsx +++ b/web/src/pages/DistributorAdmin.jsx @@ -1128,7 +1128,8 @@ export default function DistributorAdmin() { ); return ( -
+
+
{t('代理管理中心')} +
); } diff --git a/web/src/pages/DistributorApply.jsx b/web/src/pages/DistributorApply.jsx index 1406edb..1dd2380 100644 --- a/web/src/pages/DistributorApply.jsx +++ b/web/src/pages/DistributorApply.jsx @@ -268,7 +268,7 @@ export default function DistributorApply() { if (isDist) { return ( -
+
{t('您已是代理,无需再次申请')} diff --git a/web/src/pages/DistributorCenter.jsx b/web/src/pages/DistributorCenter.jsx index b6c59af..d97752d 100644 --- a/web/src/pages/DistributorCenter.jsx +++ b/web/src/pages/DistributorCenter.jsx @@ -668,7 +668,8 @@ export default function DistributorCenter() { } return ( -
+
+
{t('代理分销')} @@ -1196,6 +1197,7 @@ export default function DistributorCenter() {
) : null} +
); } diff --git a/web/src/pages/Log/index.jsx b/web/src/pages/Log/index.jsx index d2f41f2..bcc915f 100644 --- a/web/src/pages/Log/index.jsx +++ b/web/src/pages/Log/index.jsx @@ -21,8 +21,10 @@ import React from 'react'; import UsageLogsTable from '../../components/table/usage-logs'; const Token = () => ( -
- +
+
+ +
); diff --git a/web/src/pages/Midjourney/index.jsx b/web/src/pages/Midjourney/index.jsx index 7585e21..5ae7ac0 100644 --- a/web/src/pages/Midjourney/index.jsx +++ b/web/src/pages/Midjourney/index.jsx @@ -21,8 +21,10 @@ import React from 'react'; import MjLogsTable from '../../components/table/mj-logs'; const Midjourney = () => ( -
- +
+
+ +
); diff --git a/web/src/pages/Model/index.jsx b/web/src/pages/Model/index.jsx index f370046..715d1b9 100644 --- a/web/src/pages/Model/index.jsx +++ b/web/src/pages/Model/index.jsx @@ -36,8 +36,10 @@ const ModelPage = () => { }, [editId, modelName]); return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/ModelDeployment/index.jsx b/web/src/pages/ModelDeployment/index.jsx index 05bef41..17e1612 100644 --- a/web/src/pages/ModelDeployment/index.jsx +++ b/web/src/pages/ModelDeployment/index.jsx @@ -41,8 +41,10 @@ const ModelDeploymentPage = () => { connectionError={connectionError} onRetry={() => testConnection()} > -
- +
+
+ +
); diff --git a/web/src/pages/ModelHeat/index.jsx b/web/src/pages/ModelHeat/index.jsx index 9c87e5b..cfd7d62 100644 --- a/web/src/pages/ModelHeat/index.jsx +++ b/web/src/pages/ModelHeat/index.jsx @@ -22,8 +22,10 @@ import CombinedHeatConfig from './CombinedHeatConfig'; const ModelHeat = () => { return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/Redemption/index.jsx b/web/src/pages/Redemption/index.jsx index 79741cc..0dc6529 100644 --- a/web/src/pages/Redemption/index.jsx +++ b/web/src/pages/Redemption/index.jsx @@ -22,8 +22,10 @@ import RedemptionsTable from '../../components/table/redemptions'; const Redemption = () => { return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/Setting/index.jsx b/web/src/pages/Setting/index.jsx index f91f5fc..5694e08 100644 --- a/web/src/pages/Setting/index.jsx +++ b/web/src/pages/Setting/index.jsx @@ -217,7 +217,8 @@ const Setting = () => { } }, [location.search]); return ( -
+
+
{ +
); }; diff --git a/web/src/pages/Subscription/index.jsx b/web/src/pages/Subscription/index.jsx index 623c293..4918311 100644 --- a/web/src/pages/Subscription/index.jsx +++ b/web/src/pages/Subscription/index.jsx @@ -22,8 +22,10 @@ import SubscriptionsPage from '../../components/table/subscriptions'; const Subscription = () => { return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/Supplier/Apply/index.jsx b/web/src/pages/Supplier/Apply/index.jsx index a6e0844..30c6893 100644 --- a/web/src/pages/Supplier/Apply/index.jsx +++ b/web/src/pages/Supplier/Apply/index.jsx @@ -112,8 +112,8 @@ const SupplierApplyPage = () => { if (loading) { return (
@@ -121,7 +121,8 @@ const SupplierApplyPage = () => { } return ( -
+
+
{
)} +
); }; diff --git a/web/src/pages/Supplier/Channel/index.jsx b/web/src/pages/Supplier/Channel/index.jsx index ab03462..cfd8518 100644 --- a/web/src/pages/Supplier/Channel/index.jsx +++ b/web/src/pages/Supplier/Channel/index.jsx @@ -48,7 +48,8 @@ const SupplierChannelContent = () => { const { t } = useTranslation(); return ( -
+
+
{/* Modals */} { > +
); }; @@ -126,7 +128,8 @@ const SupplierChannelPage = () => { if (!isSupplier()) { return ( -
+
+
{
+
); } diff --git a/web/src/pages/Supplier/Dashboard/index.jsx b/web/src/pages/Supplier/Dashboard/index.jsx index d034425..6f0ed64 100644 --- a/web/src/pages/Supplier/Dashboard/index.jsx +++ b/web/src/pages/Supplier/Dashboard/index.jsx @@ -282,7 +282,8 @@ export default function SupplierDashboardPage() { if (!canAccess) { return ( -
+
+
+
); } return ( -
+
+
@@ -450,6 +453,7 @@ export default function SupplierDashboardPage() { /> +
); } diff --git a/web/src/pages/Supplier/PricingSettings/index.jsx b/web/src/pages/Supplier/PricingSettings/index.jsx index 29ed49e..a2888fc 100644 --- a/web/src/pages/Supplier/PricingSettings/index.jsx +++ b/web/src/pages/Supplier/PricingSettings/index.jsx @@ -157,7 +157,8 @@ const SupplierPricingSettingsContent = () => { }, []); return ( -
+
+
@@ -177,6 +178,7 @@ const SupplierPricingSettingsContent = () => { +
); }; @@ -190,7 +192,8 @@ const PricingSettingsPage = () => { if (!isSupplier()) { return ( -
+
+
{
+
); } diff --git a/web/src/pages/SupplierAdmin/application/index.jsx b/web/src/pages/SupplierAdmin/application/index.jsx index 559c266..d6d868c 100644 --- a/web/src/pages/SupplierAdmin/application/index.jsx +++ b/web/src/pages/SupplierAdmin/application/index.jsx @@ -22,8 +22,10 @@ import SupplierApplicationsPage from '../../../components/table/supplier-applica const SupplierApplication = () => { return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/SupplierAdmin/list/index.jsx b/web/src/pages/SupplierAdmin/list/index.jsx index 15cbfa6..719c2c3 100644 --- a/web/src/pages/SupplierAdmin/list/index.jsx +++ b/web/src/pages/SupplierAdmin/list/index.jsx @@ -22,8 +22,10 @@ import SuppliersPage from '../../../components/table/suppliers'; const Suppliers = () => { return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/Task/index.jsx b/web/src/pages/Task/index.jsx index ba7a40e..64e9f6d 100644 --- a/web/src/pages/Task/index.jsx +++ b/web/src/pages/Task/index.jsx @@ -21,8 +21,10 @@ import React from 'react'; import TaskLogsTable from '../../components/table/task-logs'; const Task = () => ( -
- +
+
+ +
); diff --git a/web/src/pages/Token/index.jsx b/web/src/pages/Token/index.jsx index 6f07b42..cbabab0 100644 --- a/web/src/pages/Token/index.jsx +++ b/web/src/pages/Token/index.jsx @@ -22,8 +22,10 @@ import TokensTable from '../../components/table/tokens'; const Token = () => { return ( -
- +
+
+ +
); }; diff --git a/web/src/pages/User/index.jsx b/web/src/pages/User/index.jsx index 666a155..a4d05dc 100644 --- a/web/src/pages/User/index.jsx +++ b/web/src/pages/User/index.jsx @@ -22,8 +22,10 @@ import UsersTable from '../../components/table/users'; const User = () => { return ( -
- +
+
+ +
); };