chore(mobile-h5): configure Vant easycom and demo page routes

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-10 13:59:23 +08:00
1 parent e5bc54516f
commit 8a5804aa04
1 file changed
+52
+52
View File
@@ -0,0 +1,52 @@
{
"easycom": {
"autoscan": true,
"custom": {
"^van-(.*)": "@vant/weapp/dist/$1/index"
}
},
"pages": [
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "工作台"
}
},
{
"path": "pages/demo/list",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "业务列表"
}
},
{
"path": "pages/demo/detail",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "业务详情"
}
},
{
"path": "pages/demo/form",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "编辑业务"
}
},
{
"path": "pages/demo/comps",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "组件风格"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "中科兴皖",
"navigationBarBackgroundColor": "#0a9f6d",
"backgroundColor": "#f5f8f7"
},
"uniIdRouter": {}
}