fix: 修复模板页面跳转并移除无入口的下单页

新增运行时 openPage/takePageQuery,tabBar 页自动使用 switchTab 并传递参数
- 编译器写入 tabPages,并拒绝 navigateTo/redirectTo 到 tabBar 页或 switchTab 带参数
- 阿成首页、套餐、出摊、主理人、详情、记录、成功页跳转统一改用 openPage
- 套餐筛选改用后台业务提供项分类;详情跳咨询时携带业务提供项
- 移除 capability-booking:小程序无入口且依赖已删除的 /public/brand,需求由咨询表单覆盖"
This commit is contained in:
que01 committed 2026-09-27 10:10:23 +08:00
1 parent a97cc860cf
commit 55989a5dfe
29 files changed
+353 -119

No files matched your search

@@ -52,7 +52,7 @@
"selectedIconPath": "assets/tab/booking-selected.png"
}
],
"requiredCapabilities": ["offerings", "inquiry", "booking"],
"requiredCapabilities": ["offerings", "inquiry"],
"dataSlots": [
{
"key": "brand.identity",
@@ -303,9 +303,64 @@
{ "type": "process", "title": "从预订到取餐", "content": "示例内容,待品牌主理人完善。" }
],
"fields": [
{
"key": "type",
"label": "咨询类型",
"type": "select",
"required": true,
"options": [
"日常留餐",
"宿舍开黑餐",
"社团 / 班级活动",
"生日聚会",
"考试周加餐",
"其他需求"
]
},
{
"key": "people",
"label": "用餐人数",
"type": "select",
"required": true,
"options": [
"1 人(单点)",
"2-4 人(寝室小聚)",
"5-10 人(部门小聚)",
"10-30 人(社团活动)",
"30 人以上(大型活动)"
]
},
{ "key": "date", "label": "用餐日期", "type": "date", "required": true },
{ "key": "number", "label": "用餐人数", "type": "number", "required": true },
{ "key": "phone", "label": "联系方式", "type": "phone", "required": true }
{
"key": "budget",
"label": "人均预算",
"type": "select",
"required": false,
"options": [
"15 元左右 / 人(实惠)",
"18-22 元 / 人(荤素双拼)",
"25 元以上 / 人(高规格定制)"
]
},
{
"key": "delivery",
"label": "取餐 / 配送方式",
"type": "select",
"required": false,
"options": [
"摊位自取(报手机尾号即拿)",
"送至宿舍楼下(满 3 份)",
"送至指定教室 / 场地"
]
},
{
"key": "remark",
"label": "餐品 / 口味 / 忌口备注",
"type": "textarea",
"required": false,
"placeholder": "例:现炒牛肉饭 1 份,微辣多浇卤汁,不要香菜"
},
{ "key": "phone", "label": "联系手机", "type": "phone", "required": true }
],
"capabilityKey": "booking"
}