You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
589 B
36 lines
589 B
<template>
|
|
<view class="content">
|
|
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed title="监控直播"></uni-nav-bar>
|
|
<video :src="url" autoplay class="video"></video>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { go2, back } from '@/utils/hook.js'
|
|
export default {
|
|
data() {
|
|
return {
|
|
url: null
|
|
}
|
|
},
|
|
onLoad(options) {
|
|
if (options.url) {
|
|
this.url = options.url
|
|
}
|
|
},
|
|
methods: {
|
|
go2,
|
|
back
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.content {
|
|
width: 750rpx;
|
|
.video {
|
|
width: 750rpx;
|
|
height: 440rpx;
|
|
}
|
|
}
|
|
</style>
|