fix(视频): 更换webview在线地址
This commit is contained in:
parent
8383f214d9
commit
e3fde71b2d
|
@ -2,8 +2,8 @@
|
||||||
"name" : "物联网可视化",
|
"name" : "物联网可视化",
|
||||||
"appid" : "__UNI__604B8F1",
|
"appid" : "__UNI__604B8F1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.26",
|
"versionName" : "1.0.27",
|
||||||
"versionCode" : 1026,
|
"versionCode" : 1027,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|
12
pages.json
12
pages.json
|
@ -310,6 +310,13 @@
|
||||||
// "navigationStyle":"custom"
|
// "navigationStyle":"custom"
|
||||||
// // #endif
|
// // #endif
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "video-webview",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "视频监控详情"
|
||||||
|
// "navigationStyle":"custom"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -395,6 +402,11 @@
|
||||||
"path": "pages/video/video-list", //启动页面,必选
|
"path": "pages/video/video-list", //启动页面,必选
|
||||||
"query": "" //启动参数,在页面的onLoad函数里面得到
|
"query": "" //启动参数,在页面的onLoad函数里面得到
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "视频监控webview", //模式名称
|
||||||
|
"path": "pages/video/video-webview", //启动页面,必选
|
||||||
|
"query": "" //启动参数,在页面的onLoad函数里面得到
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "消息", //模式名称
|
"name": "消息", //模式名称
|
||||||
"path": "pages/tabbar/new", //启动页面,必选
|
"path": "pages/tabbar/new", //启动页面,必选
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
isWebview:false,
|
isWebview:false,
|
||||||
deviceObj:null,
|
deviceObj:null,
|
||||||
channeList:[],
|
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) {
|
onLoad(option) {
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
// })
|
// })
|
||||||
this.$nextTick(()=>{
|
this.$nextTick(()=>{
|
||||||
this.$set(this,'channeList',res.data.list);
|
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.$set(this,'webviewUrl',url);
|
||||||
this.isWebview = true;
|
this.isWebview = true;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue