<template>
  <div style="height: 100vh">
    <yx-navbar :isBack="true" :title="title"></yx-navbar>
    <iframe v-if="url" :src="url" style="width: 100vw;height: 100vh;" frameborder="0"></iframe>
  </div>
</template>
<script>
import Cookies from 'js-cookie'
export default {
  data() {
    return {
      title: '详情',
      url: '',
      token: Cookies.get('congress')
    }
  },
  onLoad(options) {
    this.title = options.title
    this.url = `${window._CONFIG.APP_READY}?token=${this.token}#/newbi/fullscreen/${options.id}`
  }
}
</script>
<style>
</style>