feat: 补齐模板编译扩展性门禁与演练模板
- 新增第二行业演练模板 drill-consultant,验证新增行业无需修改编译器和运行��� - 补充 override 冲突与显式覆盖测试,产物校验覆盖 wxss - 修复 --template-dir 模板被误判引用其他模板组件的问题 - 修复运行时排除规则误删 TDesign 深层 src 目录,增加 miniprogram_npm 完整性回归 - 模板目录校验统一复用 template-contract,新增 template:check 并接入 pnpm check - tabBar 配色归属模板包,清理编译器过期排除项和旧 fixture - ADR 0015 明确对 0005/0008/0009 的替换范围 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
e2e2340bfe
commit
a97cc860cf
31 files changed
+418
-158
No files matched your search
+58
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"packageKey": "drill-consultant",
|
||||
"version": "0.1.0",
|
||||
"displayName": "咨询师演练模板",
|
||||
"defaultBrandSlug": "drill-consultant",
|
||||
"runtimeContract": "1.0",
|
||||
"supportedIndustryTemplates": ["consulting"],
|
||||
"entrypoints": {
|
||||
"home": "pages/index/index",
|
||||
"offerings": "pages/services/index",
|
||||
"detail": "pages/offering/detail",
|
||||
"inquiry": "pages/inquiry/index",
|
||||
"success": "pages/inquiry-success/index",
|
||||
"records": "pages/records/index",
|
||||
"profile": "pages/profile/index"
|
||||
},
|
||||
"navigation": [
|
||||
{ "key": "home", "label": "首页", "page": "home" },
|
||||
{ "key": "offerings", "label": "服务", "page": "offerings" },
|
||||
{ "key": "profile", "label": "关于我", "page": "profile" }
|
||||
],
|
||||
"requiredCapabilities": ["offerings", "inquiry"],
|
||||
"pages": ["pages/index/index", "pages/services/index", "pages/profile/index"],
|
||||
"dataSlots": [
|
||||
{
|
||||
"key": "brand.identity",
|
||||
"source": "brand",
|
||||
"required": true,
|
||||
"description": "顾问姓名、定位和联系方式"
|
||||
},
|
||||
{
|
||||
"key": "offering.list",
|
||||
"source": "offering",
|
||||
"required": true,
|
||||
"description": "咨询服务项目"
|
||||
}
|
||||
],
|
||||
"assetSlots": [],
|
||||
"admin": {
|
||||
"sections": [
|
||||
{
|
||||
"key": "identity",
|
||||
"title": "顾问介绍",
|
||||
"description": "客户在首页看到的姓名和定位",
|
||||
"target": "brand",
|
||||
"fields": [
|
||||
{
|
||||
"key": "name",
|
||||
"binding": "brand.name",
|
||||
"label": "姓名",
|
||||
"input": "text",
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user