diff --git a/projects/IoTCenter/wwwroot/index.html b/projects/IoTCenter/wwwroot/index.html index cb550980..10c607fe 100644 --- a/projects/IoTCenter/wwwroot/index.html +++ b/projects/IoTCenter/wwwroot/index.html @@ -15,7 +15,7 @@ body{ height:100%; } .Center-Container { - background-color: #07c160; + background-color: #35A9FE; position: relative; } @@ -35,6 +35,22 @@ body{ diff --git a/projects/IoTCenter/wwwroot/redirect.js b/projects/IoTCenter/wwwroot/redirect.js index b7b3d3d1..2aef3341 100644 --- a/projects/IoTCenter/wwwroot/redirect.js +++ b/projects/IoTCenter/wwwroot/redirect.js @@ -1,29 +1,12 @@ -/** - * [通过参数名获取url中的参数值] - * 示例URL:http://iot.edusoa.com/IoTCenter/index.html?organ=测试学校 - * @param {[string]} queryName [参数名] - * @return {[string]} [参数值] - */ -function GetQueryValue(queryName) { - var reg = new RegExp("(^|&)" + queryName + "=([^&]*)(&|$)", "i"); - var r = window.location.search.substr(1).match(reg); - if ( r != null ){ - return decodeURI(r[2]); - }else{ - return null; - } -} + var url = ''; -var school = GetQueryValue('organ').replace(/\'/g, ''); +var school = (GetQueryValue('organname') || '').replace(/\'/g, ''); switch(school) { - case '东师理想': - url = 'http://iot.edusoa.com' - break; case '唐山市税东中学': - url = 'http://tsssdzx.iot.edusoa.com' + url = 'http://221.194.113.154:8100' break; default: - url = 'http://iot.edusoa.com' + url = 'http://221.194.113.154:8100' } window.location.href = url; \ No newline at end of file diff --git a/projects/WebSPA/wwwroot/400.html b/projects/WebSPA/wwwroot/400.html new file mode 100644 index 00000000..e05b548b --- /dev/null +++ b/projects/WebSPA/wwwroot/400.html @@ -0,0 +1,22 @@ + + + + + + + +
+
+
+ +

+
+
+ + +
+
+ + \ No newline at end of file diff --git a/projects/WebSPA/wwwroot/400.svg b/projects/WebSPA/wwwroot/400.svg new file mode 100644 index 00000000..335955d0 --- /dev/null +++ b/projects/WebSPA/wwwroot/400.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/projects/WebSPA/wwwroot/pages/iot/node.html b/projects/WebSPA/wwwroot/pages/iot/node.html index b954a6e9..61bb8804 100644 --- a/projects/WebSPA/wwwroot/pages/iot/node.html +++ b/projects/WebSPA/wwwroot/pages/iot/node.html @@ -131,8 +131,8 @@
- - + +
@@ -166,8 +166,8 @@
- - + +
diff --git a/projects/WebSPA/wwwroot/pages/iot/product.html b/projects/WebSPA/wwwroot/pages/iot/product.html index b84007f8..a61453a7 100644 --- a/projects/WebSPA/wwwroot/pages/iot/product.html +++ b/projects/WebSPA/wwwroot/pages/iot/product.html @@ -7,13 +7,17 @@
- -
- - +
+
+ +
+ + +
+

{{device.displayName}}

+
-

{{device.displayName}}

- +
\ No newline at end of file