diff --git a/aidocs/project_context.md b/aidocs/project_context.md index 3d344f5..8a977b8 100644 --- a/aidocs/project_context.md +++ b/aidocs/project_context.md @@ -101,6 +101,7 @@ - 后台最小工作区尺寸(2026-07-04):为避免浏览器窗口过小时后台页面被压缩到表格不可见,`MainLayout.vue` 与全局 `styles.css` 新增 `--admin-min-width: 1120px`、`--admin-min-height: 680px` 和 `--admin-content-height`。管理后台根布局设置最小宽高,小于该尺寸时由浏览器外层滚动承载;正常尺寸下列表页仍保持“工具栏/表格内部滚动/底部分页”的固定布局。 - 后台列表横向滚动(2026-07-04):主数据表(艺术品档案、模板、内容审核、查询日志、用户、追溯码面板)统一给 `n-data-table` 设置 `scroll-x`,并为弹性文本列补明确宽度与必要的 `ellipsis`,避免浏览器宽度不足或字段过多时列被强行压缩、操作列消失;横向滚动发生在列表内部,纵向仍保持表体内滚动与底部分页固定。 - 后台操作列约定(2026-07-04):主列表的操作列统一 `fixed: 'right'` 且 `align: 'center'`,表头和内容居中;全局 `.table-fill` 为 Naive UI 右固定列补不透明表头/单元格背景与左侧阴影分隔,避免横向滚动时固定操作列透明叠在其他字段上。 +- 上链录入弱化区块高度(2026-07-04):原版 PRD 要求 C 端可展示区块高度,但后台运营手工录入时不应把它作为重点字段。追溯码管理的“登记出库/上链”弹窗和 `Outbound.vue` 单条录入页默认只展示交易/存证哈希与上链时间,区块高度收进“更多上链信息”折叠项,仍作为可选字段保存到 `BlockchainProof.blockHeight`。 ## 当前代码基准与注意事项 diff --git a/apps/admin/src/components/TraceCodePanel.vue b/apps/admin/src/components/TraceCodePanel.vue index f628a31..6ef49c2 100644 --- a/apps/admin/src/components/TraceCodePanel.vue +++ b/apps/admin/src/components/TraceCodePanel.vue @@ -188,8 +188,14 @@ - - + + + + + + + + diff --git a/apps/admin/src/locales/en-US.json b/apps/admin/src/locales/en-US.json index 41bfee1..2016c2f 100644 --- a/apps/admin/src/locales/en-US.json +++ b/apps/admin/src/locales/en-US.json @@ -290,6 +290,7 @@ "selectCodePlaceholder": "Search by short code / trace code / archive no.", "onchainSection": "On-chain info (optional; filling a hash records the result)", "txHashTip": "Paste the on-chain transaction/attestation hash", + "moreOnchainInfo": "More On-chain Info", "saveRecord": "Save Record", "saveAndTriggerOnchain": "Save & Trigger On-chain", "selectFile": "Select File", diff --git a/apps/admin/src/locales/zh-CN.json b/apps/admin/src/locales/zh-CN.json index 3b8e2c7..8220925 100644 --- a/apps/admin/src/locales/zh-CN.json +++ b/apps/admin/src/locales/zh-CN.json @@ -290,6 +290,7 @@ "selectCodePlaceholder": "输入短码 / 追溯码 / 档案号搜索", "onchainSection": "上链信息(选填,填写哈希即登记上链结果)", "txHashTip": "粘贴链上交易/存证哈希", + "moreOnchainInfo": "更多上链信息", "saveRecord": "保存登记", "saveAndTriggerOnchain": "保存并触发上链", "selectFile": "选择文件", diff --git a/apps/admin/src/views/Outbound.vue b/apps/admin/src/views/Outbound.vue index 3af5072..2ff0ec9 100644 --- a/apps/admin/src/views/Outbound.vue +++ b/apps/admin/src/views/Outbound.vue @@ -38,8 +38,14 @@ - - + + + + + + + +