<template>
  <div class="main">
    <web-view
      ref="myWebView"
      :src="webViewSrc"
    ></web-view>
  </div>
</template>
<script>
export default {
  data() {
    return {
      webViewSrc: "",
    };
  },
  onLoad(query) {
    console.log("query", query);
    this.webViewSrc = query.url;
    uni.setNavigationBarTitle({
      title: query.title,
    });
    this.$utils.addUserBehaviorNew();
  },
};
</script>
<style scoped lang="less">
.main {
  width: 100vw;
  height: 100vh;
}
</style>

