[baozhangchao] преди 3 години
родител
ревизия
dc7933120b
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2
    2
      src/views/ClassInfo.vue
  2. 1
    1
      src/views/components/CourseCard.vue

+ 2
- 2
src/views/ClassInfo.vue Целия файл

@@ -3,7 +3,6 @@
3 3
     <ratio-div class="thumb-banner" :ratio="0.6">
4 4
       <img width="100%" :src="compressImage(ClassContent.thumb)" alt />
5 5
     </ratio-div>
6
-
7 6
     <div class="summary">
8 7
       <div class="title">{{ClassContent.title}}</div>
9 8
       <div class="flex" style="margin-top: 16px">
@@ -16,7 +15,6 @@
16 15
         </div>
17 16
       </div>
18 17
     </div>
19
-
20 18
     <div class="content-bar"></div>
21 19
 
22 20
     <div class="class-box-body">
@@ -25,6 +23,8 @@
25 23
   </div>
26 24
 </template>
27 25
 
26
+
27
+
28 28
 <script>
29 29
 import { getCourseInfof, addCollection, deleteCollection } from '@/util/api'
30 30
 import { parseTime } from '@/util/formattingData'

+ 1
- 1
src/views/components/CourseCard.vue Целия файл

@@ -20,7 +20,7 @@
20 20
 
21 21
 <script>
22 22
 import { parseTime } from '@/util/formattingData'
23
-import { compressImage } from '../../util/index'
23
+import { compressImage } from '../util/index'
24 24
 export default {
25 25
   name: 'CourseCard',
26 26
   props: {