From cc6b4432756e2f850acba151016768d3c5ef0a17 Mon Sep 17 00:00:00 2001 From: Teng <461587751@qq.com> Date: Tue, 30 Dec 2025 11:23:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 20 + pages/controlroom/component/changemenu.vue | 157 +++++ pages/controlroom/component/history.vue | 85 +++ pages/controlroom/index.vue | 696 +++++++++++++++++++ pages/fullcamera.nvue | 4 +- pages/login/animationpage.vue | 10 +- pages/watch/full.vue | 54 -- unpackage/dist/dev/.nvue/app.js | 3 + unpackage/dist/dev/.nvue/pages/camera.js | 2 +- unpackage/dist/dev/.nvue/pages/fullcamera.js | 6 +- 10 files changed, 972 insertions(+), 65 deletions(-) create mode 100644 pages/controlroom/component/changemenu.vue create mode 100644 pages/controlroom/component/history.vue create mode 100644 pages/controlroom/index.vue diff --git a/pages.json b/pages.json index 0e6dd99..8100f32 100644 --- a/pages.json +++ b/pages.json @@ -66,6 +66,26 @@ } } }, + { + "path": "pages/controlroom/index", + "style": { + "navigationStyle": "custom", + "app-plus": { + "subNVues": [{ + "id": "monitorSub", + "path": "pages/fullcamera", + "style": { + "position": "absolute", + "left": "20px", + "top": "40px", + "width": "800px", + "height": "450px", + "background": "transparent" + } + }] + } + } + }, // 设置 { "path": "pages/watch/settings/settings", diff --git a/pages/controlroom/component/changemenu.vue b/pages/controlroom/component/changemenu.vue new file mode 100644 index 0000000..8f91293 --- /dev/null +++ b/pages/controlroom/component/changemenu.vue @@ -0,0 +1,157 @@ + + + + + \ No newline at end of file diff --git a/pages/controlroom/component/history.vue b/pages/controlroom/component/history.vue new file mode 100644 index 0000000..2806d59 --- /dev/null +++ b/pages/controlroom/component/history.vue @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git a/pages/controlroom/index.vue b/pages/controlroom/index.vue new file mode 100644 index 0000000..879ea7b --- /dev/null +++ b/pages/controlroom/index.vue @@ -0,0 +1,696 @@ + + + + + \ No newline at end of file diff --git a/pages/fullcamera.nvue b/pages/fullcamera.nvue index 45b33f3..c035262 100644 --- a/pages/fullcamera.nvue +++ b/pages/fullcamera.nvue @@ -1,7 +1,7 @@ diff --git a/pages/login/animationpage.vue b/pages/login/animationpage.vue index 0ff1e2f..080c13a 100644 --- a/pages/login/animationpage.vue +++ b/pages/login/animationpage.vue @@ -303,11 +303,11 @@ // }) // } - // if (index === 3) { - // uni.navigateTo({ - // url: "/pages/watch/full" - // }) - // } + if (index === 3) { + uni.navigateTo({ + url: "/pages/controlroom/index" + }) + } if (index == 4) { let data = filteredMenu(2)[0] uni.setStorageSync('nuId', data.nuId); diff --git a/pages/watch/full.vue b/pages/watch/full.vue index 4e661bd..f7df785 100644 --- a/pages/watch/full.vue +++ b/pages/watch/full.vue @@ -25,22 +25,6 @@ - { Promise.resolve("./pages/fullcamera.js").then((res) => { res(); }); +Promise.resolve("./pages/fullcamera.js").then((res) => { + res(); +}); Promise.resolve("./app.css.js").then(() => { }); diff --git a/unpackage/dist/dev/.nvue/pages/camera.js b/unpackage/dist/dev/.nvue/pages/camera.js index 04100f2..12310ff 100644 --- a/unpackage/dist/dev/.nvue/pages/camera.js +++ b/unpackage/dist/dev/.nvue/pages/camera.js @@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]); +const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]); export { camera as default }; diff --git a/unpackage/dist/dev/.nvue/pages/fullcamera.js b/unpackage/dist/dev/.nvue/pages/fullcamera.js index aab70ef..a0a8c0f 100644 --- a/unpackage/dist/dev/.nvue/pages/fullcamera.js +++ b/unpackage/dist/dev/.nvue/pages/fullcamera.js @@ -559,14 +559,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { "div", { class: "center-column", - style: normalizeStyle({ height: $data.isshow ? "500px" : "0px" }) + style: normalizeStyle({ height: $data.isshow ? "449px" : "0px" }) }, [ createCommentVNode(" 视频播放组件 "), createVNode(_component_MonitorView, { ref: "monitor", init: "5", - style: { "width": "800px", "height": "500px" }, + style: { "width": "800px", "height": "450px" }, onOnTel: $options.handleTelEvent, onOnSnapShot: $options.handleSnapShotEvent, onOnRecord: $options.handleRecordEvent, @@ -578,7 +578,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]); +const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]); export { fullcamera as default };