Browse Source

统计页面初版

menchuang 1 year ago
parent
commit
74ffc34c1e
2 changed files with 21 additions and 2 deletions
  1. 1 1
      config.js
  2. 20 1
      pages.json

+ 1 - 1
config.js

@@ -1,7 +1,7 @@
 // 应用全局配置
 module.exports = {
   
-   baseUrl: 'http://localhost:8080',
+   baseUrl: 'http://192.168.4.20:8080',
   // 应用信息
   appInfo: {
     // 应用名称

+ 20 - 1
pages.json

@@ -70,6 +70,20 @@
     "style": {
       "navigationBarTitleText": "浏览文本"
     }
+  },
+  {
+  	"path" : "pages/statistics/index",
+  	"style" : 
+  	{
+  		"navigationBarTitleText" : ""
+  	}
+  },
+  {
+  	"path" : "pages/statistics/sss",
+  	"style" : 
+  	{
+  		"navigationBarTitleText" : "sticky-list"
+  	}
   }],
   "tabBar": {
     "color": "#000000",
@@ -87,11 +101,16 @@
         "selectedIconPath": "static/images/tabbar/work_.png",
         "text": "工作台"
       }, {
+        "pagePath": "pages/statistics/index",
+        "iconPath": "static/images/tabbar/mine.png",
+        "selectedIconPath": "static/images/tabbar/mine_.png",
+        "text": "统计"
+      }/* , {
         "pagePath": "pages/mine/index",
         "iconPath": "static/images/tabbar/mine.png",
         "selectedIconPath": "static/images/tabbar/mine_.png",
         "text": "我的"
-      }
+      } */
     ]
   },
   "globalStyle": {