From 8a5804aa045ff48abe3a0a73650e96418b3e148e Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Mon, 10 Aug 2026 13:59:23 +0800 Subject: [PATCH] chore(mobile-h5): configure Vant easycom and demo page routes Co-authored-by: Cursor --- mobile-h5/pages.json | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 mobile-h5/pages.json diff --git a/mobile-h5/pages.json b/mobile-h5/pages.json new file mode 100644 index 00000000..f76722ec --- /dev/null +++ b/mobile-h5/pages.json @@ -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": {} +}