综合办公系统
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

myStudy.vue 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!--
  2. * @Author: ysh
  3. * @Date: 2025-03-05 14:00:18
  4. * @LastEditors: Please set LastEditors
  5. * @LastEditTime: 2025-03-27 09:16:49
  6. -->
  7. <template>
  8. <div>
  9. <study-head></study-head>
  10. <div class="main app-container">
  11. <el-row>
  12. <el-col :md="12" :sm="24" class="left">
  13. <div class="title">
  14. 我的学习记录
  15. <div class="line"></div>
  16. </div>
  17. <study-left ref="studyLeft"></study-left>
  18. </el-col>
  19. <el-col :md="12" :sm="24" class="right">
  20. <div class="title">
  21. 学习资料库
  22. <div class="line"></div>
  23. </div>
  24. <study-right ref="studyRight" @refreshList="getStudyList"></study-right>
  25. </el-col>
  26. </el-row>
  27. </div>
  28. </div>
  29. </template>
  30. <script>
  31. import StudyHead from './components/studyHead.vue'
  32. import StudyLeft from './components/studyLeft.vue'
  33. import StudyRight from './components/studyRight.vue'
  34. export default {
  35. name: 'myStudy',
  36. components: { StudyHead, StudyLeft, StudyRight },
  37. methods: {
  38. getStudyList() {
  39. this.$refs.studyLeft.getRecordsList();
  40. }
  41. }
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .main {
  46. margin-top: 50px;
  47. .left {
  48. padding: 10px;
  49. border-right: 1px solid #ececec;
  50. }
  51. .center {
  52. padding: 10px;
  53. border-right: 1px solid #ececec;
  54. }
  55. .right {
  56. padding: 10px;
  57. }
  58. }
  59. .title {
  60. position: relative;
  61. font-weight: bold;
  62. font-size: 18px;
  63. padding-left: 40px;
  64. padding-bottom: 20px;
  65. .line {
  66. position: absolute;
  67. left: 22px;
  68. top: 3px;
  69. width: 5px;
  70. height: 20px;
  71. border-radius: 10px;
  72. background-color: #2893e5;
  73. }
  74. }
  75. </style>