Browse Source

mpvue version 1.1.1以上 use app.json create config

charblus 5 years ago
parent
commit
7a8385892b
1 changed files with 36 additions and 0 deletions
  1. 36 0
      src/app.json

+ 36 - 0
src/app.json

@@ -0,0 +1,36 @@
+{
+  "pages": [
+    "pages/books/main",
+    "pages/comments/main",
+    "pages/me/main"
+  ],
+  "window": {
+    "backgroundTextStyle": "light",
+    "navigationBarBackgroundColor": "#EA5149",
+    "navigationBarTitleText": "蜗牛图书",
+    "navigationBarTextStyle": "black"
+  },
+  "tabBar": {
+    "list": [
+      {
+        "pagePath": "pages/books/main",
+        "text": "图书",
+        "iconPath": "static/img/book.png",
+        "selectedIconPath": "static/img/book-active.png"
+      },
+      {
+        "pagePath": "pages/comments/main",
+        "text": "评论",
+        "iconPath": "static/img/todo.png",
+        "selectedIconPath": "static/img/todo-active.png"
+      },
+      {
+        "pagePath": "pages/me/main",
+        "text": "我",
+        "iconPath": "static/img/me.png",
+        "selectedIconPath": "static/img/me-active.png"
+      }
+
+    ]
+  }
+}