Files
persionalBrand/packages/template-acheng-campus-food/template.json
T

76 lines
2.1 KiB
JSON

{
"packageKey": "acheng-campus-food",
"version": "1.0.0",
"displayName": "阿成校园餐",
"defaultBrandSlug": "default-brand",
"runtimeContract": "1.0",
"supportedIndustryTemplates": ["food"],
"entrypoints": {
"home": "pages/index/index",
"offerings": "pages/services/index",
"service": "pages/stall-service/index",
"detail": "pages/offering/detail",
"inquiry": "pages/inquiry/index",
"success": "pages/inquiry-success/index",
"records": "pages/records/index",
"profile": "pages/bookings/index"
},
"navigation": [
{
"key": "home",
"label": "首页/摊位",
"page": "home",
"iconPath": "assets/tab/home.png",
"selectedIconPath": "assets/tab/home-selected.png"
},
{
"key": "dishes",
"label": "套餐餐品",
"page": "offerings",
"iconPath": "assets/tab/dishes.png",
"selectedIconPath": "assets/tab/dishes-selected.png"
},
{
"key": "service",
"label": "出摊服务",
"page": "service",
"iconPath": "assets/tab/service.png",
"selectedIconPath": "assets/tab/service-selected.png"
},
{
"key": "owner",
"label": "主理人",
"page": "profile",
"iconPath": "assets/tab/owner.png",
"selectedIconPath": "assets/tab/owner-selected.png"
},
{
"key": "booking",
"label": "定制/咨询",
"page": "inquiry",
"iconPath": "assets/tab/booking.png",
"selectedIconPath": "assets/tab/booking-selected.png"
}
],
"requiredCapabilities": ["offerings", "inquiry", "booking"],
"renderers": {
"home": "acheng-home",
"offerings": "acheng-offerings",
"profile": "acheng-profile"
},
"runtimeOwnedPages": ["detail", "inquiry", "success", "records"],
"ownedPaths": [
"components/templates/acheng-home",
"components/templates/acheng-offerings",
"components/templates/acheng-profile",
"pages/index",
"pages/services",
"pages/bookings",
"pages/inquiry",
"pages/stall-service",
"pages/offering",
"pages/inquiry-success",
"pages/records"
]
}