// pages/web-view/index.vue
<template>
  <view class="web-view-container">
    <web-view :src="webUrl"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      webUrl: ''
    }
  },
  onLoad(options) {
    // 解码URL参数
    this.webUrl = decodeURIComponent(options.url);
  }
}
</script>

<style>
.web-view-container {
  width: 100%;
  height: 100vh;
}
</style>