From 9e9d12683f3b4bcce2f58bc49c17f10c683a2b64 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 17 Jun 2021 14:23:42 +0800
Subject: [PATCH] 聊天功能完善

---
 pages.json |   41 ++++++++++++++++++++++++++++++++++-------
 1 files changed, 34 insertions(+), 7 deletions(-)

diff --git a/pages.json b/pages.json
index ccdf632..390288a 100644
--- a/pages.json
+++ b/pages.json
@@ -99,6 +99,28 @@
 			}
 		},
 		{
+			"path": "pages/groupChat/groupChat",
+			"name": "groupChat",
+			"style": {
+				"navigationBarTitleText": "聊天室"
+			}
+		},
+		{
+		    "path" : "components/submit/submit",
+		    "style" : {}
+		},
+		{
+			"path": "pages/groupChat/chating",
+			"name": "chating",
+			"style": {
+				"navigationBarTitleText": "聊天室2",
+				"navigationStyle":"custom",
+				"app-plus":{
+					"titleNView":false
+				}
+			}
+		},
+		{
 			"path": "pages/infoRegistration/infoRegistration",
 			"name": "infoRegistration",
 			"style": {
@@ -240,7 +262,7 @@
 				"selectedIconPath": "static/tabbar/businessH.png"
 			}, {
 
-				"pagePath": "pages/investigation/investigation",
+				"pagePath": "pages/groupChat/groupChat",
 				"text": "我要说",
 				"iconPath": "static/tabbar/investigation.png",
 				"selectedIconPath": "static/tabbar/investigationH.png"
@@ -253,10 +275,15 @@
 
 		]
 	},
-	"globalStyle": {
-		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "uni-app",
-		"navigationBarBackgroundColor": "#F8F8F8",
-		"backgroundColor": "#F8F8F8"
-	}
+	"globalStyle": { // 不能在globalStyle中设置隐藏头部导航栏,否则聊天页面的头部栏会不显示,在pages中设置titleNView为false就可以隐藏头部导航栏了
+	        "navigationBarTextStyle": "black",
+	        "navigationBarTitleText": "hello",
+	        "navigationBarBackgroundColor": "#fff",
+	        "backgroundColor": "#f7f7f7",
+	        "backgroundTextStyle":"light",
+	        "pageOrientation":"portrait", //横屏配置,屏幕旋转设置
+	        "app-plus": {
+	            "bounce": "none"
+	        }
+	    }
 }

--
Gitblit v1.9.3