<template>
  <div class="">
    <iframe :src="URL" class="iframe" frameborder="no"/>
  </div>
</template>

<script>
import Cookies from 'js-cookie'
export default {
  data () {
    return {
      URL: ''
    }
  },
  created () {
    this.URL = `${window.SITE_CONFIG['iframeBaseUrl']}/communityService-measure-index?token=${Cookies.get('token')}`
  },
  methods: {
  }
}
</script>
<style lang="scss" scoped>
.iframe {
  width: 100%;
  min-height: calc(100vh - 123px);
  // min-height: calc(calc(100vh - 50px - 38px - 30px) - 2px - 45px);
}
</style>
