<template>
  <div class="main">
    <web-view :src="webViewSrc"></web-view>
  </div>
</template>
  <script>
import { mapGetters } from "vuex";
export default {
  data() {
    return {
      webViewSrc: "",
    };
  },
  computed: {
    ...mapGetters({
      user: "user",
    }),
  },
  onLoad(query) {
    console.log("user", this.user);
    // this.webViewSrc = `https://eshangtech.com/minLoad/search2.html`;
    this.webViewSrc = query.url;
    console.log("this.webViewSrc", this.webViewSrc);
    this.$utils.addUserBehaviorNew();
  },
};
</script>
  <style scoped lang="less">
.main {
  width: 100vw;
  height: 100vh;
}
</style>
  
  