<template>
  <view class="container">
    <web-view :src="externalUrl"></web-view>
  </view>
</template>
 
<script>
export default {
  data() {
    return {
      externalUrl: ''
    };
  },
  onShow() {
	const pages = getCurrentPages()
	const { options } = pages[pages.length - 1]
    this.externalUrl = options.url
  }
};
</script>
 
<style scoped>
.container {
  width: 100%;
  height: 100vh;
}
</style>