fix: 修复模板页面跳转并移除无入口的下单页
新增运行时 openPage/takePageQuery,tabBar 页自动使用 switchTab 并传递参数 - 编译器写入 tabPages,并拒绝 navigateTo/redirectTo 到 tabBar 页或 switchTab 带参数 - 阿成首页、套餐、出摊、主理人、详情、记录、成功页跳转统一改用 openPage - 套餐筛选改用后台业务提供项分类;详情跳咨询时携带业务提供项 - 移除 capability-booking:小程序无入口且依赖已删除的 /public/brand,需求由咨询表单覆盖"
This commit is contained in:
1 parent
a97cc860cf
commit
55989a5dfe
29 files changed
+353
-119
No files matched your search
@@ -58,8 +58,7 @@ export const generatedTemplatePackageRegistry = [
|
||||
],
|
||||
"requiredCapabilities": [
|
||||
"offerings",
|
||||
"inquiry",
|
||||
"booking"
|
||||
"inquiry"
|
||||
],
|
||||
"dataSlots": [
|
||||
{
|
||||
@@ -319,6 +318,33 @@ export const generatedTemplatePackageRegistry = [
|
||||
}
|
||||
],
|
||||
"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": "用餐日期",
|
||||
@@ -326,14 +352,37 @@ export const generatedTemplatePackageRegistry = [
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"key": "number",
|
||||
"label": "用餐人数",
|
||||
"type": "number",
|
||||
"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": "联系方式",
|
||||
"label": "联系手机",
|
||||
"type": "phone",
|
||||
"required": true
|
||||
}
|
||||
@@ -863,4 +912,4 @@ export const generatedTemplatePackageRegistry = [
|
||||
}
|
||||
];
|
||||
export const generatedTemplatePackageRegistryHash =
|
||||
"254f31edcf4073091691fc5f88fced2b5857c60aec3d1175a5f1e44b9e45acd0";
|
||||
"a2e3390bbd1557c4ae8836266c83cb13a265a693ac05927e3cacc3d73cdb1741";
|
||||
Reference in new issue
Block a user