<template>
  <div class="SkyScrapperMain">
    <div id="adfox_163238704807435857"></div>
  </div>
</template>

<script>
export default {
  watch:{
    $route (to, from){
        Ya.adfoxCode.reload('adfox_163238704807435857')
    }
  },
  mounted() {
    window.yaContextCb.push(() => {
      Ya.adfoxCode.create({
        ownerId: 279920,
        containerId: "adfox_163238704807435857",
        params: {
          pp: "g",
          ps: "dbpj",
          p2: "hijw",
        },
      });
    });
  },
};
</script>

<style lang='less'>
.SkyScrapperMain {
  width: 100%;
  text-align: center;
  background: yellow;
}
</style>
