条件单页改为默认看历史,点新建才展开下发表单。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-05 19:34:00 +08:00
parent 747ec62e34
commit e2a61a202e
4 changed files with 33 additions and 9 deletions
+17 -3
View File
@@ -1419,8 +1419,25 @@ input.readonly {
}
.cond-head { justify-content: space-between; align-items: flex-start; }
.cond-head-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.cond-lead { margin: 6px 0 0; max-width: 720px; line-height: 1.5; }
.cond-add-check {
position: absolute;
opacity: 0;
pointer-events: none;
width: 0;
height: 0;
}
.cond-layout { display: grid; gap: 16px; }
.cond-add-panel { display: none; }
#cond-add-toggle:checked ~ .cond-layout .cond-add-panel {
display: block;
}
.cond-card { padding: 18px 18px 16px; }
.cond-card-head {
display: flex;
@@ -1987,9 +2004,6 @@ html.hub-phone-html body.page-cond-orders .cond-layout {
flex-direction: column;
gap: 14px;
}
html.hub-phone-html body.page-cond-orders .cond-layout > .cond-card:last-child {
order: -1;
}
html.hub-phone-html body.page-cond-orders .cond-card {
padding: 14px;
border-radius: 14px;