chore(mobile-h5): configure Vant easycom and demo page routes
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
e5bc54516f
commit
8a5804aa04
1 file changed
+52
@@ -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": {}
|
||||
}
|
||||
Reference in new issue
Block a user