feat: 作品页支持模块化编排与自定义内容模块

This commit is contained in:
Nixevol
2026-07-20 17:03:14 +08:00
parent 467c5a1de5
commit 733829eca0
37 changed files with 3714 additions and 1362 deletions
+38 -1
View File
@@ -280,7 +280,8 @@
"disableConfirmContent": "Disable \"{name}\"? It will no longer be available when creating new artwork files.",
"namePlaceholder": "Enter template name",
"fieldKeyTip": "Unique English key",
"sortHint": "Field order = display order on consumer page; use arrows to reorder",
"sortHint": "Field order = display order inside the artwork introduction module; use arrows to reorder",
"defaultTraceLayout": "Default Consumer Page Layout",
"defaultFields": {
"craft": "Craft",
"year": "Creation Era / Release Time",
@@ -290,6 +291,42 @@
"dataOwner": "Data Ownership"
}
},
"traceModules": {
"title": "Page Modules",
"clientLayout": "Consumer Page Composer",
"hint": "Module order matches the consumer page. Configure visibility and titles, or add custom content modules.",
"add": "Add Module",
"drag": "Drag to reorder modules",
"expand": "Expand module content",
"collapse": "Collapse module content",
"visible": "Visible",
"defaultTitle": "Leave empty for default: {title}",
"imagePosition": "Image Position",
"innerHeading": "Content Heading",
"body": "Body",
"image": "Image",
"templateContentHint": "Templates only save module structure and presentation. Add artwork-specific content after creating the artwork.",
"systemDataHint": "This module reads existing artwork data. The template only controls order, visibility and title.",
"authenticityHint": "Authenticity status is generated from each consumer query. These options only control presentation and never disable activation, counting or query logs.",
"blockchainHint": "This module reads each trace code's on-chain status and transaction details. These options only control presentation.",
"types": {
"HERO_CAROUSEL": "Hero Carousel",
"AUTHENTICITY_STATUS": "Authenticity Status",
"PRODUCT_INTRO": "Artwork Introduction",
"SHOWCASE": "Artwork Showcase",
"CERTIFICATES": "Copyright Certificates",
"TIMELINE": "Trace Timeline",
"BLOCKCHAIN": "Digital Identity & Blockchain",
"IMAGE_TEXT": "Image & Text",
"HORIZONTAL_GALLERY": "Horizontal Gallery"
},
"positions": {
"TOP": "Image above",
"BOTTOM": "Image below",
"LEFT": "Image left (stacked on mobile)",
"RIGHT": "Image right (stacked on mobile)"
}
},
"audit": {
"status": "Audit Status",
"approve": "Approve",
+38 -1
View File
@@ -280,7 +280,8 @@
"disableConfirmContent": "确认停用“{name}”?停用后新建档案时将不能选择该模板。",
"namePlaceholder": "请输入模板名称",
"fieldKeyTip": "英文唯一标识",
"sortHint": "字段顺序即客户端展示顺序,可用上下箭头调整",
"sortHint": "字段顺序即作品介绍模块内的展示顺序,可用上下箭头调整",
"defaultTraceLayout": "客户端默认页面布局",
"defaultFields": {
"craft": "工艺",
"year": "创作年代 / 出品时间",
@@ -290,6 +291,42 @@
"dataOwner": "数据权属"
}
},
"traceModules": {
"title": "页面模块",
"clientLayout": "客户端页面编排",
"hint": "模块顺序即客户端展示顺序;可调整显隐、标题并添加自定义内容模块。",
"add": "添加模块",
"drag": "拖拽调整模块顺序",
"expand": "展开模块内容",
"collapse": "收起模块内容",
"visible": "显示",
"defaultTitle": "留空使用默认标题:{title}",
"imagePosition": "图文位置",
"innerHeading": "内容标题",
"body": "正文",
"image": "图片",
"templateContentHint": "模板仅保存模块结构和展示方式,具体作品内容请在建档后填写。",
"systemDataHint": "该模块读取作品现有业务数据,模板只设置顺序、显隐和标题。",
"authenticityHint": "防伪状态由消费者每次查询结果自动生成;此处只调整显示位置、显隐和标题,不影响激活、计数与查询日志。",
"blockchainHint": "区块链模块自动读取每个追溯码的上链状态和交易信息;此处只调整显示位置、显隐和标题。",
"types": {
"HERO_CAROUSEL": "顶部作品轮播",
"AUTHENTICITY_STATUS": "防伪状态",
"PRODUCT_INTRO": "作品介绍",
"SHOWCASE": "作品展示",
"CERTIFICATES": "版权证书",
"TIMELINE": "溯源时间轴",
"BLOCKCHAIN": "数字身份与区块链存证",
"IMAGE_TEXT": "图文模块",
"HORIZONTAL_GALLERY": "横向滚动图区"
},
"positions": {
"TOP": "图片在上",
"BOTTOM": "图片在下",
"LEFT": "图片在左(移动端转为纵向)",
"RIGHT": "图片在右(移动端转为纵向)"
}
},
"audit": {
"status": "审核状态",
"approve": "通过",