<template>
  <section class="banner-W1254H100">
    <div class="section-wrapper">
      <div id="adfox_163238657891053387"></div>
      <div id="adfox_167049493686799536"></div>
    </div>
  </section>
</template>

<script>
export default {
  watch: {
    $route (to, from) {
      // eslint-disable-next-line no-undef
      Ya.adfoxCode.reload('adfox_167049493686799536')
    }
  },
  mounted () {
    window.yaContextCb.push(() => {
      // eslint-disable-next-line no-undef
      Ya.adfoxCode.create({
        ownerId: 720777,
        containerId: 'adfox_167049493686799536',
        params: {
          p1: 'cwojg',
          p2: 'hyrh'
        }
      })
      // eslint-disable-next-line no-undef
      Ya.adfoxCode.create({
        ownerId: 279920,
        containerId: 'adfox_163238657891053387',
        params: {
          pp: 'g',
          ps: 'dbpj',
          p2: 'hiyy'
        }
      })
    })
  }
}
</script>

<style lang='less'>
.banner-W1254H100 {
  width: 100%;
  @media (max-width: 576px) {
    display: none;
  }

  .section-wrapper {
    min-height: auto;
    text-align: center;
    position: relative;

    // background-color: darkblue;
    // &::after {
    //   content: "Растяжка 2";
    //   position: absolute;
    // }
  }
}
</style>
