소스 검색

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

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu 2 달 전
부모
커밋
8a5804aa04
1개의 변경된 파일과 52개의 추가작업 그리고 0개의 파일을 삭제
  1. 52 0
      mobile-h5/pages.json

+ 52 - 0
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": {}
+}