<template>
  <view class="vr-page">
    <web-view :src="src"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      src: ""
    };
  },
  onLoad(options) {
    this.src = decodeURIComponent(options.url);
  }
};
</script>

<style>
.vr-page,
.vr-page web-view {
  width: 100%;
  height: 100%;
}
</style>
