commentSector.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <div class="commentSectorBox">
  3. <div class="commentSectorBoxTitle">
  4. <styleTitle />
  5. </div>
  6. <div class="commentSectorBoxContent">
  7. <div class="tabsCalendarNewsBox">
  8. <tabsCalendarNews />
  9. </div>
  10. <div class="calendarBox">
  11. <calendar />
  12. </div>
  13. </div>
  14. </div>
  15. </template>
  16. <script>
  17. import styleTitle from './components/styleTitle.vue';
  18. import tabsCalendarNews from './components/tabsCalendarNews.vue';
  19. import calendar from './components/calendar.vue';
  20. export default {
  21. components: {
  22. styleTitle,
  23. tabsCalendarNews,
  24. calendar
  25. },
  26. props: {
  27. id: {
  28. type: Number,
  29. default: 0
  30. }
  31. },
  32. data() {
  33. return {
  34. };
  35. },
  36. methods: {
  37. },
  38. mounted() {
  39. },
  40. };
  41. </script>
  42. <style scoped lang="less">
  43. .commentSectorBox {
  44. width: 100%;
  45. display: flex;
  46. flex-direction: column;
  47. align-items: center;
  48. .commentSectorBoxTitle {
  49. width: 80%;
  50. border: 1px dashed #5570F1;
  51. height: 41px;
  52. display: flex;
  53. justify-content: center;
  54. align-items: center;
  55. }
  56. .commentSectorBoxContent {
  57. width: 80%;
  58. display: flex;
  59. .tabsCalendarNewsBox {
  60. width: 70%;
  61. box-sizing: border-box;
  62. padding-right: 20px;
  63. border: 1px dashed #5570F1;
  64. }
  65. .calendarBox {
  66. width: 30%;
  67. border: 1px dashed #5570F1;
  68. }
  69. }
  70. }
  71. </style>