LentMobile.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <div class="">
  3. <div id="lent_adfox_163238723987728973"></div><!--old dashboard-->
  4. <div id="lent_adfox_167048924706448374"></div>
  5. </div>
  6. </template>
  7. <script>
  8. export default {
  9. watch: {
  10. $route (to, from) {
  11. window.yaContextCb.push(() => {
  12. // eslint-disable-next-line no-undef
  13. Ya.adfoxCode.reload('lent_adfox_163238723987728973')
  14. // eslint-disable-next-line no-undef
  15. Ya.adfoxCode.reload('lent_adfox_167048924706448374')
  16. })
  17. }
  18. },
  19. mounted () {
  20. window.yaContextCb.push(() => {
  21. // eslint-disable-next-line no-undef
  22. Ya.adfoxCode.create({
  23. ownerId: 720777,
  24. containerId: 'lent_adfox_167048924706448374',
  25. params: {
  26. p1: 'cwoig',
  27. p2: 'hyrh'
  28. }
  29. })
  30. // eslint-disable-next-line no-undef
  31. Ya.adfoxCode.create({
  32. ownerId: 279920,
  33. containerId: 'lent_adfox_163238723987728973',
  34. params: {
  35. pp: 'g',
  36. ps: 'dbpj',
  37. p2: 'hizb'
  38. }
  39. })
  40. })
  41. }
  42. }
  43. </script>
  44. <style lang="less">
  45. </style>