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

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

<style lang="scss" scoped>
.webview-page {
  height: 100vh;
}
</style>

