From a8d40bbf7c5fae704a2998ba4ff4dc8880eb162f Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 16 Jan 2020 17:30:15 +0800 Subject: [PATCH] update Former-commit-id: e3b3bd29bc0038d40466a11895bb7435f5bee481 --- projects/ApiGateway/Program.cs | 2 +- projects/WebApp/Startup.cs | 5 - projects/WebApp/wwwroot/css/app.css | 16 +++- projects/WebApp/wwwroot/pages/home.html | 32 +++---- projects/WebApp/wwwroot/pages/iot/node.html | 91 ++++++++++++++++++- projects/WebApp/wwwroot/pages/iot/node.js | 3 + projects/WebApp/wwwroot/pages/iot/nodes.html | 2 +- .../WebApp/wwwroot/pages/iot/products.html | 2 +- projects/WebApp/wwwroot/pages/login.html | 4 +- .../src/main/resources/application.yml | 2 +- 10 files changed, 121 insertions(+), 38 deletions(-) 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 @@
设备
-智慧教室
-设备
+智慧教室
+