feat(admin): 内容页列表化,主分组汇总子分组条目

- 内容页改为列表:标题 / 跳转链接 / 所属分组 / 操作
- 选中主分组时递归列出全部子分组条目;选子分组只列该子树
- 编辑弹窗始终显示「标识」(编辑时只读)
- 图文条目接口补齐 href,列表统一显示跳转链接
- 测试 59 passed;Playwright 验证 20 条汇总、子分组 4 条、标识只读
This commit is contained in:
2026-10-31 10:46:02 +08:00
parent c249fbd826
commit b04842978c
7 changed files with 163 additions and 49 deletions
+39
View File
@@ -1228,6 +1228,45 @@
gap: var(--su-space-3);
}
/* 内容页:与分组管理一致的列表 */
.entry-table .entry-col-href {
width: 40%;
}
.entry-table .entry-col-group {
width: 180px;
}
.entry-title {
color: var(--su-text-main);
font-weight: 500;
}
.entry-href {
display: inline-block;
max-width: 100%;
overflow: hidden;
color: var(--su-color-primary);
font-size: var(--su-font-size-sm);
text-overflow: ellipsis;
text-decoration: none;
vertical-align: bottom;
white-space: nowrap;
}
a.entry-href:hover {
text-decoration: underline;
}
.entry-href-empty {
color: var(--su-text-placeholder);
}
.entry-group {
color: var(--su-text-sub);
font-size: var(--su-font-size-sm);
}
.admin-category-row > * {
min-width: 0;
}