Shan9312 hai 2 meses
pai
achega
e51f876644
Modificáronse 2 ficheiros con 8 adicións e 8 borrados
  1. 6 6
      src/pages.json
  2. 2 2
      src/types/uni-pages.d.ts

+ 6 - 6
src/pages.json

@@ -39,19 +39,19 @@
   },
   "pages": [
     {
-      "path": "pages/my/my",
+      "path": "pages/index/index",
       "type": "home",
       "style": {
-        "navigationBarTitleText": "我的",
-        "navigationBarBackgroundColor": "#c08e10"
+        "navigationBarBackgroundColor": "#c08e10",
+        "navigationBarTitleText": "首页"
       }
     },
     {
-      "path": "pages/index/index",
+      "path": "pages/my/my",
       "type": "home",
       "style": {
-        "navigationBarBackgroundColor": "#c08e10",
-        "navigationBarTitleText": "首页"
+        "navigationBarTitleText": "我的",
+        "navigationBarBackgroundColor": "#c08e10"
       }
     },
     {

+ 2 - 2
src/types/uni-pages.d.ts

@@ -4,8 +4,8 @@
 // Generated by vite-plugin-uni-pages
 
 interface NavigateToOptions {
-  url: "/pages/my/my" |
-       "/pages/index/index" |
+  url: "/pages/index/index" |
+       "/pages/my/my" |
        "/pages/about/about" |
        "/pages/approach/approach" |
        "/pages/battleForm/battleForm" |