W1254H100Or90.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <template>
  2. <section class="banner-W1254H100Or90">
  3. <div class="section-wrapper">
  4. <div class="banner-desktop">
  5. <div id="adfox_167049468415926104" />
  6. <div id="adfox_163290332500362611" />
  7. </div>
  8. <div class="banner-mobile">
  9. <div id="adfox_167048915771772664" />
  10. <div id="adfox_16323873072892801"></div>
  11. </div>
  12. </div>
  13. </section>
  14. </template>
  15. <script>
  16. export default {
  17. watch: {
  18. $route (to, from) {
  19. // eslint-disable-next-line no-undef
  20. Ya.adfoxCode.reload('adfox_167049468415926104')
  21. // eslint-disable-next-line no-undef
  22. Ya.adfoxCode.reload('adfox_16323873072892801')
  23. // eslint-disable-next-line no-undef
  24. Ya.adfoxCode.reload('adfox_163290332500362611')
  25. // eslint-disable-next-line no-undef
  26. Ya.adfoxCode.reload('adfox_16323873072892801')
  27. }
  28. },
  29. mounted () {
  30. window.yaContextCb.push(() => {
  31. // eslint-disable-next-line no-undef
  32. Ya.adfoxCode.create({
  33. ownerId: 720777,
  34. containerId: 'adfox_167049468415926104',
  35. params: {
  36. p1: 'cwoji',
  37. p2: 'hyrh'
  38. }
  39. })
  40. // eslint-disable-next-line no-undef
  41. Ya.adfoxCode.create({
  42. ownerId: 279920,
  43. containerId: 'adfox_163290332500362611',
  44. params: {
  45. pp: 'g',
  46. ps: 'dbpj',
  47. p2: 'hekb'
  48. }
  49. })
  50. // eslint-disable-next-line no-undef
  51. Ya.adfoxCode.create({
  52. ownerId: 720777,
  53. containerId: 'adfox_167048915771772664',
  54. params: {
  55. p1: 'cwoih',
  56. p2: 'hyrh'
  57. }
  58. })
  59. // eslint-disable-next-line no-undef
  60. Ya.adfoxCode.create({
  61. ownerId: 279920,
  62. containerId: 'adfox_16323873072892801',
  63. params: {
  64. pp: 'g',
  65. ps: 'dbpj',
  66. p2: 'hduj'
  67. }
  68. })
  69. })
  70. }
  71. }
  72. </script>
  73. <style lang='less'>
  74. .banner-desktop {
  75. display: block;
  76. }
  77. .banner-mobile {
  78. display: none;
  79. }
  80. @media all and (max-width: 576px) {
  81. .banner-desktop {
  82. display: none;
  83. }
  84. .banner-mobile {
  85. display: block;
  86. }
  87. }
  88. .banner-W1254H100Or90 {
  89. width: 100%;
  90. margin-bottom: 30px;
  91. .section-wrapper {
  92. min-height: auto;
  93. text-align: center;
  94. position: relative;
  95. // background-color: darkred;
  96. // &::after {
  97. // content: "Растяжка 4";
  98. // position: absolute;
  99. // }
  100. }
  101. }
  102. </style>