From e3fde71b2d772b854e5575e11fb70b0158504568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E8=8A=B1=E4=B8=80=E4=B8=96=E6=9C=88?= <1149505133@qq.com> Date: Sun, 14 Jul 2024 22:49:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E9=A2=91):=20=E6=9B=B4=E6=8D=A2we?= =?UTF-8?q?bview=E5=9C=A8=E7=BA=BF=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages.json | 12 ++++++++++++ pages/video/video-webview.vue | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index a203e42..e11dff6 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "物联网可视化", "appid" : "__UNI__604B8F1", "description" : "", - "versionName" : "1.0.26", - "versionCode" : 1026, + "versionName" : "1.0.27", + "versionCode" : 1027, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages.json b/pages.json index c3bcee0..cf199e8 100644 --- a/pages.json +++ b/pages.json @@ -310,6 +310,13 @@ // "navigationStyle":"custom" // // #endif } + }, + { + "path": "video-webview", + "style": { + "navigationBarTitleText": "视频监控详情" + // "navigationStyle":"custom" + } } ] } @@ -395,6 +402,11 @@ "path": "pages/video/video-list", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }, + { + "name": "视频监控webview", //模式名称 + "path": "pages/video/video-webview", //启动页面,必选 + "query": "" //启动参数,在页面的onLoad函数里面得到 + }, { "name": "消息", //模式名称 "path": "pages/tabbar/new", //启动页面,必选 diff --git a/pages/video/video-webview.vue b/pages/video/video-webview.vue index ba4561a..17d8b17 100644 --- a/pages/video/video-webview.vue +++ b/pages/video/video-webview.vue @@ -15,7 +15,7 @@ isWebview:false, deviceObj:null, channeList:[], - webviewUrl:'https://static-mp-e1ad9848-99ba-4f1e-84ca-72802ff6ff6e.next.bspapp.com/video-html/index.html' + webviewUrl:'https://v2-test.gkiiot.com/video/web/h5/index.html' } }, onLoad(option) { @@ -40,7 +40,7 @@ // }) this.$nextTick(()=>{ this.$set(this,'channeList',res.data.list); - let url = 'https://static-mp-e1ad9848-99ba-4f1e-84ca-72802ff6ff6e.next.bspapp.com/video-html/index.html?deviceObj=' + encodeURIComponent(JSON.stringify(this.deviceObj)) + '&channeList='+encodeURIComponent(JSON.stringify(channeList)) + let url = 'https://v2-test.gkiiot.com/video/web/h5/index.html?deviceObj=' + encodeURIComponent(JSON.stringify(this.deviceObj)) + '&channeList='+encodeURIComponent(JSON.stringify(channeList)) this.$set(this,'webviewUrl',url); this.isWebview = true; })