|
@@ -1,6 +1,7 @@
|
|
|
<template>
|
|
|
<view id="videoPlayer">
|
|
|
- <web-view src="http://10.111.224.196:8080/?type=4&id=1793100035379396609"></web-view>
|
|
|
+ <!-- <web-view src="http://10.111.224.196:8080/?type=4&id=1793100035379396609"></web-view> -->
|
|
|
+ <web-view :src="webViewUrl" v-if="pageType"></web-view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -8,14 +9,21 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
-
|
|
|
+ pageType:false,
|
|
|
+ webViewUrl:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
-
|
|
|
+ let obj = JSON.parse(decodeURIComponent(option.item))
|
|
|
+ let url = uni.getStorageSync('cameraExtranetAgent')+'?type=4&id='+obj.subId
|
|
|
+ this.$set(this,'webViewUrl',url);
|
|
|
+ this.$set(this,'pageType',true);
|
|
|
},
|
|
|
+ onShow(){
|
|
|
+
|
|
|
+ },
|
|
|
methods: {
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</script>
|