feat(admin): 分区增删、资料设置、操作条与交互收尾
- POST/DELETE /api/categories(需登录,级联,local 保护) - profile 设置(头像/名称/角色/简介/位置)应用到资料卡 - 详情操作条:浏览 +1、点赞切换、分享复制、跳转外链 - 编辑按钮垂直居中且留 12px;设置页按钮上间距、保存 Toast、Tabs 去滚动条 - 登录密码可见切换 - 测试 48 passed
This commit is contained in:
+60
-1
@@ -464,8 +464,10 @@
|
||||
}
|
||||
|
||||
.item-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
gap: var(--su-space-3);
|
||||
font-size: var(--su-font-size-xl);
|
||||
font-weight: var(--su-font-weight-semibold);
|
||||
line-height: 1.5;
|
||||
@@ -904,3 +906,60 @@
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- 登录密码框 / 条目操作条 / 设置页细节 ---------- */
|
||||
|
||||
.password-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--su-space-2);
|
||||
}
|
||||
|
||||
.password-field > :first-child {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.item-stat {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--su-space-1);
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--su-text-sub);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.item-stat.is-liked,
|
||||
.item-stat.is-liked svg {
|
||||
color: var(--su-color-primary);
|
||||
}
|
||||
|
||||
.item-title .item-edit {
|
||||
margin-left: 0;
|
||||
align-self: center;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.admin-actions {
|
||||
margin-top: var(--su-space-6);
|
||||
}
|
||||
|
||||
.admin-tabs {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.admin-create {
|
||||
margin-top: var(--su-space-4);
|
||||
padding-top: var(--su-space-4);
|
||||
border-top: 1px dashed var(--su-border-strong);
|
||||
}
|
||||
|
||||
.admin-create-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px auto;
|
||||
gap: var(--su-space-2);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user