From c2a2602ed5610b6b3858000e2844b2361a648cb9 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Sun, 2 Feb 2020 22:58:49 +0800 Subject: [PATCH] update Former-commit-id: 58fad84103c6cdbfec85c6f143a4c4bb440d97de --- projects/WebApp/wwwroot/css/app.css | 11 +++-- projects/WebApp/wwwroot/index.html | 2 + projects/WebApp/wwwroot/js/iot.js | 5 ++ .../lib/{player => WXInlinePlayer}/index.html | 0 .../lib/{player => WXInlinePlayer}/index.js | 0 .../prod.all.asm.combine.js | 0 .../prod.all.wasm.combine.js | 0 .../prod.baseline.asm.combine.js | 0 .../prod.baseline.wasm.combine.js | 0 .../prod.h265.asm.combine.js | 0 .../prod.h265.wasm.combine.js | 0 projects/WebApp/wwwroot/pages/iot/device.html | 3 +- .../wwwroot/pages/iot/device/camera.html | 47 +++++++++++++++++++ .../WebApp/wwwroot/pages/iot/device/ir.html | 6 +-- projects/WebApp/wwwroot/pages/iot/node.html | 17 +++++-- .../WebApp/wwwroot/pages/iot/product.html | 4 +- 16 files changed, 78 insertions(+), 17 deletions(-) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/index.html (100%) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/index.js (100%) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/prod.all.asm.combine.js (100%) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/prod.all.wasm.combine.js (100%) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/prod.baseline.asm.combine.js (100%) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/prod.baseline.wasm.combine.js (100%) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/prod.h265.asm.combine.js (100%) rename projects/WebApp/wwwroot/lib/{player => WXInlinePlayer}/prod.h265.wasm.combine.js (100%) create mode 100644 projects/WebApp/wwwroot/pages/iot/device/camera.html diff --git a/projects/WebApp/wwwroot/css/app.css b/projects/WebApp/wwwroot/css/app.css index 5e74fcbf..30e967b2 100644 --- a/projects/WebApp/wwwroot/css/app.css +++ b/projects/WebApp/wwwroot/css/app.css @@ -765,7 +765,7 @@ img { width: 100%; } -.ir table,.ir .table { +.ir table { border-collapse: separate; margin: 5px auto; padding: 5px; @@ -777,11 +777,12 @@ img { padding: 2px; text-align: center; } - .ir .table button{ - margin:2px; - } + .weui-grid__icon { width: 48px; height: 48px; - margin: 0 auto; + margin: 5px auto; +} +.card .weui-bar__item_on{ + background-color:#eee; } \ No newline at end of file diff --git a/projects/WebApp/wwwroot/index.html b/projects/WebApp/wwwroot/index.html index 357d8abf..166f34df 100644 --- a/projects/WebApp/wwwroot/index.html +++ b/projects/WebApp/wwwroot/index.html @@ -32,6 +32,8 @@ + + diff --git a/projects/WebApp/wwwroot/js/iot.js b/projects/WebApp/wwwroot/js/iot.js index 72608416..b63f4b8e 100644 --- a/projects/WebApp/wwwroot/js/iot.js +++ b/projects/WebApp/wwwroot/js/iot.js @@ -82,4 +82,9 @@ Vue.component('iot-ir', function (resolve, reject) { axios.get("/pages/iot/device/ir.html").then(function (response) { resolve(parseModel(response)); }); +}); +Vue.component('iot-camera', function (resolve, reject) { + axios.get("/pages/iot/device/camera.html").then(function (response) { + resolve(parseModel(response)); + }); }); \ No newline at end of file diff --git a/projects/WebApp/wwwroot/lib/player/index.html b/projects/WebApp/wwwroot/lib/WXInlinePlayer/index.html similarity index 100% rename from projects/WebApp/wwwroot/lib/player/index.html rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/index.html diff --git a/projects/WebApp/wwwroot/lib/player/index.js b/projects/WebApp/wwwroot/lib/WXInlinePlayer/index.js similarity index 100% rename from projects/WebApp/wwwroot/lib/player/index.js rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/index.js diff --git a/projects/WebApp/wwwroot/lib/player/prod.all.asm.combine.js b/projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.all.asm.combine.js similarity index 100% rename from projects/WebApp/wwwroot/lib/player/prod.all.asm.combine.js rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.all.asm.combine.js diff --git a/projects/WebApp/wwwroot/lib/player/prod.all.wasm.combine.js b/projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.all.wasm.combine.js similarity index 100% rename from projects/WebApp/wwwroot/lib/player/prod.all.wasm.combine.js rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.all.wasm.combine.js diff --git a/projects/WebApp/wwwroot/lib/player/prod.baseline.asm.combine.js b/projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.baseline.asm.combine.js similarity index 100% rename from projects/WebApp/wwwroot/lib/player/prod.baseline.asm.combine.js rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.baseline.asm.combine.js diff --git a/projects/WebApp/wwwroot/lib/player/prod.baseline.wasm.combine.js b/projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.baseline.wasm.combine.js similarity index 100% rename from projects/WebApp/wwwroot/lib/player/prod.baseline.wasm.combine.js rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.baseline.wasm.combine.js diff --git a/projects/WebApp/wwwroot/lib/player/prod.h265.asm.combine.js b/projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.h265.asm.combine.js similarity index 100% rename from projects/WebApp/wwwroot/lib/player/prod.h265.asm.combine.js rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.h265.asm.combine.js diff --git a/projects/WebApp/wwwroot/lib/player/prod.h265.wasm.combine.js b/projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.h265.wasm.combine.js similarity index 100% rename from projects/WebApp/wwwroot/lib/player/prod.h265.wasm.combine.js rename to projects/WebApp/wwwroot/lib/WXInlinePlayer/prod.h265.wasm.combine.js diff --git a/projects/WebApp/wwwroot/pages/iot/device.html b/projects/WebApp/wwwroot/pages/iot/device.html index 9c84b0c5..e30f0553 100644 --- a/projects/WebApp/wwwroot/pages/iot/device.html +++ b/projects/WebApp/wwwroot/pages/iot/device.html @@ -5,7 +5,7 @@