
<template>
  <view class="container">
    <!-- 使用uni-app的web-view组件展示网页 -->
    <web-view :src="url"></web-view>
  </view>
</template>


<script >
export default {
  data() {
    return {
      url:""
    }
  },
  onLoad(opt) {
    console.log(opt.url)
    this.url = decodeURIComponent(opt.url)
  },
  methods: {}
}
</script>


<style scoped lang="scss">
.container {
  width: 100%;
  height: 100vh;
}
</style>
