您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

50 行
799 B

  1. <template>
  2. <div class="app-container calendar-list-container">
  3. <basic-container>
  4. <div class="top">
  5. <span class="big">{{ objData.title }}</span>
  6. <span class="desc">{{ objData.createTime }}</span>
  7. </div>
  8. <template> <div v-html="objData.content"></div> </template>
  9. </basic-container>
  10. </div>
  11. </template>
  12. <script>
  13. export default {
  14. name: "Index",
  15. provide() {
  16. return {
  17. Index: this,
  18. };
  19. },
  20. data() {
  21. return {};
  22. },
  23. computed: {
  24. objData() {
  25. return this.$store.state.messageObj
  26. }
  27. }
  28. };
  29. </script>
  30. <style lang="scss" scoped>
  31. .top {
  32. display: flex;
  33. flex-direction: column;
  34. .big {
  35. font-size: 18px;
  36. font-weight: bold;
  37. }
  38. .desc {
  39. margin-top: 1em;
  40. font-size: 14px;
  41. color: #999999;
  42. }
  43. }
  44. </style>