<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>
