feat(电子公文): 修复标引布局与资源扫描
build.yaml / build (push) Successful in 50s

This commit is contained in:
xiaoqidun committed 2026-10-13 08:40:56 +08:00
1 parent 91e5b57e24
commit e91c30ca3c
5 files changed
+77 -36

No files matched your search

+37 -7
View File
@@ -1215,6 +1215,7 @@ button:not(:disabled):hover {
.info-custom-row input,
.gradient-stop-row input,
.structure-attribute > input,
.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="number"],
@@ -3049,26 +3050,55 @@ audio.page-media {
text-align-last: justify;
}
.structure-dialog .panel-row {
margin-bottom: 0;
}
.structure-dialog .panel-row > span {
width: 4em;
text-align-last: justify;
}
.structure-dialog .form-actions {
margin-top: 12px;
}
.structure-edit-list {
display: grid;
gap: 8px;
gap: 12px;
margin-top: 8px;
}
.structure-edit-list:empty {
display: none;
}
.structure-attribute {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px;
gap: 6px;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) var(--control-height);
gap: 8px;
}
.structure-attribute .structure-attribute-value {
grid-column: 1 / 3;
grid-column: 1 / -1;
}
.structure-attribute > button {
grid-column: 3;
grid-row: 1 / 3;
align-self: center;
grid-column: -2;
grid-row: 1;
width: var(--control-height);
height: var(--control-height);
padding: 0;
}
@media (max-width: 480px) {
.structure-attribute {
grid-template-columns: minmax(0, 1fr) var(--control-height);
}
.structure-attribute > input[name="namespace"] {
grid-column: 1 / -1;
}
}
.structure-reference + .structure-reference {
+2
View File
@@ -8342,6 +8342,7 @@ function addStructureAttribute(attribute = {}) {
row.className = "structure-attribute";
for (const [name, label] of [["name", "属性名称"], ["namespace", "命名空间"], ["value", "属性内容"]]) {
const input = document.createElement("input");
input.type = "text";
input.name = name;
input.value = attribute[name] || "";
input.placeholder = label;
@@ -8365,6 +8366,7 @@ function addStructureReference(reference = {}) {
const row = document.createElement("div");
row.className = "structure-reference";
const page = document.createElement("select"), object = document.createElement("select"), ids = document.createElement("input");
ids.type = "text";
page.name = "page";
ids.name = "ids";
ids.value = (reference.objectIds || []).join(",");