W1254H100.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <section class="banner-W1254H100">
  3. <div class="section-wrapper">
  4. <div id="adfox_163238657891053387"></div>
  5. <div id="adfox_167049493686799536"></div>
  6. </div>
  7. </section>
  8. </template>
  9. <script>
  10. export default {
  11. watch: {
  12. $route (to, from) {
  13. // eslint-disable-next-line no-undef
  14. Ya.adfoxCode.reload('adfox_167049493686799536')
  15. }
  16. },
  17. mounted () {
  18. window.yaContextCb.push(() => {
  19. // eslint-disable-next-line no-undef
  20. Ya.adfoxCode.create({
  21. ownerId: 720777,
  22. containerId: 'adfox_167049493686799536',
  23. params: {
  24. p1: 'cwojg',
  25. p2: 'hyrh'
  26. }
  27. })
  28. // eslint-disable-next-line no-undef
  29. Ya.adfoxCode.create({
  30. ownerId: 279920,
  31. containerId: 'adfox_163238657891053387',
  32. params: {
  33. pp: 'g',
  34. ps: 'dbpj',
  35. p2: 'hiyy'
  36. }
  37. })
  38. })
  39. }
  40. }
  41. </script>
  42. <style lang='less'>
  43. .banner-W1254H100 {
  44. width: 100%;
  45. @media (max-width: 576px) {
  46. display: none;
  47. }
  48. .section-wrapper {
  49. min-height: auto;
  50. text-align: center;
  51. position: relative;
  52. // background-color: darkblue;
  53. // &::after {
  54. // content: "Растяжка 2";
  55. // position: absolute;
  56. // }
  57. }
  58. }
  59. </style>