From 40ef60eae2c112135f16c8a3d064ca363cca7dd7 Mon Sep 17 00:00:00 2001 From: liangxu Date: Thu, 30 Apr 2026 21:06:12 +0800 Subject: [PATCH] style(desktop-client): tighten media/AI/publish view copy and table chrome MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the media-platforms nav entry to "媒体账号", switch the Accounts hero eyebrow to MEDIA ACCOUNTS, drop the redundant AI platforms intro paragraph, and trim the publish list to use a generic external-link tooltip plus a slightly wider table to fit the renamed columns. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../src/renderer/components/DesktopShell.vue | 4 +-- .../src/renderer/views/AccountsView.vue | 2 +- .../src/renderer/views/AiPlatformsView.vue | 3 -- .../renderer/views/PublishManagementView.vue | 34 ++++--------------- 4 files changed, 10 insertions(+), 33 deletions(-) diff --git a/apps/desktop-client/src/renderer/components/DesktopShell.vue b/apps/desktop-client/src/renderer/components/DesktopShell.vue index e631f0c..445518c 100644 --- a/apps/desktop-client/src/renderer/components/DesktopShell.vue +++ b/apps/desktop-client/src/renderer/components/DesktopShell.vue @@ -49,8 +49,8 @@ const navItems = computed(() => { }, { to: "/media-platforms", - title: "媒体平台", - description: "发布媒体授权、多个账号绑定与表格化管理", + title: "媒体账号", + description: "发布媒体授权、多个账号绑定管理", count: accounts.filter((item) => publishIDs.has(item.platform)).length, icon: LinkOutlined, }, diff --git a/apps/desktop-client/src/renderer/views/AccountsView.vue b/apps/desktop-client/src/renderer/views/AccountsView.vue index d8dd2dd..d3df23e 100644 --- a/apps/desktop-client/src/renderer/views/AccountsView.vue +++ b/apps/desktop-client/src/renderer/views/AccountsView.vue @@ -330,7 +330,7 @@ const tableColumns = [
-

媒体授权中心

+

MEDIA ACCOUNTS

媒体账号管理

diff --git a/apps/desktop-client/src/renderer/views/AiPlatformsView.vue b/apps/desktop-client/src/renderer/views/AiPlatformsView.vue index 9199dc5..fb65565 100644 --- a/apps/desktop-client/src/renderer/views/AiPlatformsView.vue +++ b/apps/desktop-client/src/renderer/views/AiPlatformsView.vue @@ -233,9 +233,6 @@ async function unbindPlatform(account: AccountRow) {

AI PLATFORMS

AI 平台管理

-

- 首次点击“授权”会打开前台登录窗口,登录完成后绑定到当前 partition。后续数据抓取与巡检一律走隐藏窗口,用户看不见采集过程。 -

diff --git a/apps/desktop-client/src/renderer/views/PublishManagementView.vue b/apps/desktop-client/src/renderer/views/PublishManagementView.vue index 9fa32c5..edec577 100644 --- a/apps/desktop-client/src/renderer/views/PublishManagementView.vue +++ b/apps/desktop-client/src/renderer/views/PublishManagementView.vue @@ -40,7 +40,6 @@ interface PublishTaskItem { createdAt: number; updatedAt: number; externalArticleUrl: string | null; - externalManageUrl: string | null; publishType: string | null; fallbackReason: string | null; errorMessage: string | null; @@ -439,7 +438,6 @@ const publishTasks = computed(() => externalArticleUrl: publishType === "draft" ? null : extractString(result.external_article_url) ?? buildWangyihaoArticleUrl(task, result) ?? buildSohuArticleUrl(task, result), - externalManageUrl: extractString(result.external_manage_url), publishType, fallbackReason, errorMessage: normalizeTaskErrorMessage( @@ -464,7 +462,7 @@ const tableColumns = [ { title: "操作", key: "actions", align: "right" as const, width: 132, fixed: "right" as const }, ]; -const tableScroll = { x: 1000 } as const; +const tableScroll = { x: 1080 } as const; - + @@ -991,22 +992,6 @@ const tableScroll = { x: 1000 } as const; color: #cbd5e1; } -.external-task-link { - display: inline-flex; - align-items: center; - gap: 4px; - color: #2563eb; - font-size: 12px; - font-weight: 500; - line-height: 1.4; - text-decoration: none; -} - -.external-task-link:hover { - color: #1d4ed8; - text-decoration: underline; -} - .error-message-row { display: block; width: 100%; @@ -1091,11 +1076,6 @@ const tableScroll = { x: 1000 } as const; background: #fef2f2; } -:global(.external-url-tooltip .ant-tooltip-inner) { - max-width: min(520px, 80vw); - overflow-wrap: anywhere; -} - :global(.publish-error-popover .ant-popover-inner) { max-width: min(720px, 82vw); border: 1px solid #fecaca;