浏览代码

移动login位置

ming 7 月之前
父节点
当前提交
5a73492d03
共有 2 个文件被更改,包括 11 次插入10 次删除
  1. 10 9
      src/pages.json
  2. 1 1
      src/pages/login.vue

+ 10 - 9
src/pages.json

@@ -33,7 +33,15 @@
                     "titleNView": false
                 }
             }
-        }
+        },
+        {
+            "path": "pages/login",
+            "style": {
+                "navigationBarTitleText": "登录",
+                "navigationStyle": "custom",
+                "navigationBarTextStyle": "black"
+            }
+        },
         
     ],
     "subPackages": [
@@ -41,14 +49,7 @@
             "name": "主要模块",
             "root": "pages/main",
             "pages": [
-                {
-                    "path": "login",
-                    "style": {
-                        "navigationBarTitleText": "登录",
-                        "navigationStyle": "custom",
-                        "navigationBarTextStyle": "black"
-                    }
-                },
+                
                 {
                     "path": "register",
                     "style": {

+ 1 - 1
src/pages/main/login.vue → src/pages/login.vue

@@ -505,4 +505,4 @@ onLoad((options) => {});
     margin-top: auto !important;
   }
 }
-</style>
+</style>