feat(electron-shell): 1.11.2 运行台页头标签下移、SDK 状态页去掉重复版本列

页头拆两行:标题/描述 + 右上操作一行,平台/SDK/超时标签整行排在描述下方,标签再多也只换行,不再挤压左侧标题与描述(PageHead 新增 #meta 插槽,其它页面不受影响)。

SDK 状态页:「当前版本」与「已装版本」本是同一份数据(前者=已装列表第一项),删掉「已装版本」列,旧版改为悬停当前版本号提示;名称列 150→220、弹窗 660→720,中文名不再挤。

1.11.1 / 1.11.2 已发版到内网控制面(file_source 59 / 60)。
This commit is contained in:
2026-11-16 19:01:09 +08:00
parent 006087b98b
commit df6811552d
6 changed files with 99 additions and 35 deletions
+22 -4
View File
@@ -363,12 +363,13 @@ select.input { padding-right: 30px; appearance: none; cursor: pointer;
.fade-leave-to { opacity: 0; }
/* 页头(对齐设计稿 .page-head 组):所有一级视图共用 PageHead 组件 */
/* 统一页头:白底一体化(不画卡片),页头下方一条分隔线,右侧操作对齐基线 */
/* 统一页头:白底一体化(不画卡片),页头下方一条分隔线,右侧操作对齐基线。
两行结构:第一行「标题/描述 + 操作」,第二行「状态标签」——
标签(SDK / 平台 / 超时等)数量不定,放在描述下方整行排布,只换行不挤压左侧文字。 */
.page-head {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: var(--space-4);
flex-direction: column;
gap: var(--space-2-5);
flex: 0 0 auto;
padding: 20px 24px;
background: transparent;
@@ -377,6 +378,13 @@ select.input { padding-right: 30px; appearance: none; cursor: pointer;
border-radius: 0;
box-shadow: none;
}
.page-head-main {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: var(--space-4);
min-width: 0;
}
.page-title-group {
flex: 1;
min-width: 0;
@@ -427,10 +435,20 @@ select.input { padding-right: 30px; appearance: none; cursor: pointer;
}
.page-head .actions {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: var(--space-2);
flex-shrink: 0;
}
/* 状态标签行:平台 / SDK / 超时等,占满整行、按需换行;与描述左基线对齐 */
.page-head .page-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-2);
min-width: 0;
}
.empty-note {
color: var(--t4);
text-align: center;