diff --git a/projects/ApiGateway/Program.cs b/projects/ApiGateway/Program.cs index f22bd839..86ea8e61 100644 --- a/projects/ApiGateway/Program.cs +++ b/projects/ApiGateway/Program.cs @@ -14,7 +14,7 @@ namespace ApiGateway { o.Port = 80; o.LogToConsole = true; - o.LogLevel = BeetleX.EventArgs.LogType.Error; + o.LogLevel = BeetleX.EventArgs.LogType.All; }); Console.WriteLine("http://localhost/__system/bumblebee/routes.html"); gateway.Open(); diff --git a/projects/WebApp/Startup.cs b/projects/WebApp/Startup.cs index 716f24f0..4c254ff4 100644 --- a/projects/WebApp/Startup.cs +++ b/projects/WebApp/Startup.cs @@ -1,10 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; diff --git a/projects/WebApp/wwwroot/css/app.css b/projects/WebApp/wwwroot/css/app.css index 909ab424..97f0fb52 100644 --- a/projects/WebApp/wwwroot/css/app.css +++ b/projects/WebApp/wwwroot/css/app.css @@ -719,8 +719,16 @@ ul { right: 0; border-radius: unset; } -/*bootstrap4+mintuui*/ -label,h1{ - margin-top:auto; - margin-bottom:auto; +/*bootstrap4+weui*/ +[class^="weui"]{ + box-sizing:initial; +} +p[class^="weui"]{ + margin-bottom: 0; } +a:hover{ + text-decoration:none; +} +label,h1{ + margin-bottom:initial; +} \ No newline at end of file diff --git a/projects/WebApp/wwwroot/pages/home.html b/projects/WebApp/wwwroot/pages/home.html index 6bc6b305..959c5f49 100644 --- a/projects/WebApp/wwwroot/pages/home.html +++ b/projects/WebApp/wwwroot/pages/home.html @@ -4,23 +4,21 @@

消息

-
物联网
-
-
-
- -
- -
-

设备

-
- -
- -
-

智慧教室

-
-
+
物联网
+
+
+ +
+ +
+

设备

+
+ +
+ +
+

智慧教室

+
diff --git a/projects/WebApp/wwwroot/pages/iot/node.html b/projects/WebApp/wwwroot/pages/iot/node.html index 80ad506b..0c0d9f38 100644 --- a/projects/WebApp/wwwroot/pages/iot/node.html +++ b/projects/WebApp/wwwroot/pages/iot/node.html @@ -15,11 +15,11 @@
-
环境
+
环境
-
+
{{device.displayName}} @@ -50,7 +50,7 @@
-
+
{{device.displayName}} @@ -93,7 +93,7 @@
-
+
{{device.displayName}} @@ -123,7 +123,7 @@
-
+
{{device.displayName}} @@ -153,6 +153,87 @@
+ +
用电
+
+ +
+
+
+ {{device.displayName}} + + +
+
+
+
+ +
+
+
+ + + +
+
+
+
+
+
+ +
+
+
+ {{device.displayName}} + + +
+
+
+
+ +
+
+
+ + + + + + +
+
+
+
+
+
+ +
+
+
+ {{device.displayName}} + + +
+
+
+
+ +
+
+
+ + +
+
+
+
+
+
+
+ + +