Center.vue 877 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <div class="header__center">
  3. <div class="header-center section">
  4. <div class="header-center__wrapper section-wrapper">
  5. <main class="header-center__main">
  6. <div class="header-center__info">
  7. <HeaderInfoVidget />
  8. </div>
  9. <div class="header-center__news">
  10. <HeaderNewsList />
  11. </div>
  12. </main>
  13. <aside class="header-center__side">
  14. <div class="header-center__comments">
  15. <HeaderCommentsList />
  16. </div>
  17. </aside>
  18. </div>
  19. </div>
  20. </div>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. commentsList: [],
  27. };
  28. },
  29. computed: {
  30. newsList() {
  31. return this.$store.getters["newsList/newsList"];
  32. },
  33. isMainPage() {
  34. return this.$route.name == "index";
  35. },
  36. },
  37. };
  38. </script>
  39. <style>
  40. </style>