menchuang 1 year ago
parent
commit
479bb27e59
2 changed files with 19 additions and 22 deletions
  1. 2 2
      config.js
  2. 17 20
      pages.json

+ 2 - 2
config.js

@@ -1,10 +1,10 @@
 // 应用全局配置
 module.exports = {
-	baseUrl: 'https://www.xcx.cczdsz.cn/prod-api',
+	// baseUrl: 'https://www.xcx.cczdsz.cn/prod-api',
 	// baseUrl: 'http://192.168.4.6:8080',
 	// baseUrl: 'http://192.168.4.20:8080',
 	// baseUrl: 'http://192.168.4.11:8080',
-	// baseUrl: 'http://192.168.4.23:8080',
+	baseUrl: 'http://192.168.4.23:8080',
 	// baseUrl: 'http://192.168.4.14:8089',
 	baseIconUrl: 'https://www.xcx.cczdsz.cn/app/images/',
 	// 应用信息

+ 17 - 20
pages.json

@@ -44,7 +44,7 @@
 				"navigationBarTitleText": "架空"
 			}
 		},
-{
+		{
 			"path": "pages/oldrenovation/overhead/newoverhead",
 			"style": {
 				"navigationBarTitleText": "架空"
@@ -101,25 +101,22 @@
 			}
 		},
 		{
-			"path" : "pages/bottom_leg/bottom_leg",
-			"style" : 
-			{
-				"navigationBarTitleText" : "底腿"
+			"path": "pages/bottom_leg/bottom_leg",
+			"style": {
+				"navigationBarTitleText": "底腿"
 			}
 		},
 		{
-			"path" : "pages/piping_record/piping_record",
-			"style" : 
-			{
-				"navigationBarTitleText" : "管道施工记录"
+			"path": "pages/piping_record/piping_record",
+			"style": {
+				"navigationBarTitleText": "管道施工记录"
 			}
 		},
 		{
-			"path" : "pages/open_bolt/open_bolt",
-			"style" : 
-			{
-				"navigationBarTitleText" : "",
-				"enablePullDownRefresh" : false
+			"path": "pages/open_bolt/open_bolt",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
 			}
 		}
 
@@ -129,17 +126,17 @@
 		"selectedColor": "#2a95f1",
 		"borderStyle": "white",
 		"backgroundColor": "#ffffff",
-		"list": [ {
-			"pagePath": "pages/work/index",
-			"iconPath": "static/images/tabbar/home.png",
-			"selectedIconPath": "static/images/tabbar/home_.png",
-			"text": "首页"
-		},{
+		"list": [{
 			"pagePath": "pages/index",
 			"iconPath": "static/images/tabbar/gg.png",
 			"selectedIconPath": "static/images/tabbar/gg_.png",
 			"text": "公告"
 		}, {
+			"pagePath": "pages/work/index",
+			"iconPath": "static/images/tabbar/home.png",
+			"selectedIconPath": "static/images/tabbar/home_.png",
+			"text": "首页"
+		}, {
 			"pagePath": "pages/statistics/statistics",
 			"iconPath": "static/images/tabbar/tj.png",
 			"selectedIconPath": "static/images/tabbar/tj_.png",