Footer.vue 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <div class="footer-banner">
  3. <div class="footer-banner_desktop">
  4. <div id="adfox_164213942556789036"></div>
  5. </div>
  6. </div>
  7. </template>
  8. <script>
  9. export default {
  10. watch:{
  11. $route (to, from){
  12. Ya.adfoxCode.reload('adfox_164213942556789036')
  13. }
  14. },
  15. mounted() {
  16. window.yaContextCb.push(() => {
  17. Ya.adfoxCode.create({
  18. ownerId: 279920,
  19. containerId: "adfox_164213942556789036",
  20. params: {
  21. pp: "g",
  22. ps: "dbpj",
  23. p2: "hikd",
  24. },
  25. });
  26. });
  27. },
  28. };
  29. </script>
  30. <style lang="less" scoped>
  31. .footer-banner {
  32. width: 100%;
  33. min-height: auto;
  34. text-align: center;
  35. position: relative;
  36. // background-color: blue;
  37. // &::after {
  38. // content: "Футер";
  39. // position: absolute;
  40. // }
  41. }
  42. .footer-banner_desktop {
  43. display: block;
  44. }
  45. .header-banner_mobile {
  46. display: none;
  47. }
  48. @media all and (max-width: 576px) {
  49. .footer-banner_desktop {
  50. display: none;
  51. }
  52. .footer-banner_mobile {
  53. display: block;
  54. }
  55. }
  56. </style>