dusenyao 3 years ago
parent
commit
ad792466a4
1 changed files with 13 additions and 1 deletions
  1. 13 1
      src/views/template_details/index.vue

+ 13 - 1
src/views/template_details/index.vue

@@ -41,6 +41,9 @@
                         <el-collapse-item v-for="(it, it_i) in item[li.id]" :key="it_i" :name="it.id">
                           <div slot="title" :class="openList.includes(it.id) ? 'contenttitle2' : 'contenttitle'">
                             <span :title="it.name">{{ it.name }}</span>
+                            <!-- <span class="content-image">
+                              <el-image :src="require('@/assets/course_details/people.png')" />
+                            </span> -->
                             <span>
                               <span class="gray">{{ it.begin_time }} ~ {{ it.end_time }}</span>
                               <span class="gray">···</span>
@@ -273,6 +276,14 @@ export default {
                 margin-left: 8px;
               }
 
+              .content-image {
+                .el-image {
+                  width: 16px;
+                  height: 16px;
+                  vertical-align: middle;
+                }
+              }
+
               span {
                 margin-left: 16px;
               }
@@ -298,7 +309,7 @@ export default {
             }
 
             .detail {
-              width: 599px;
+              width: 100%;
               padding-bottom: 24px;
               background: #fff;
               border: 1px solid #e7e7e7;
@@ -358,6 +369,7 @@ export default {
 
 <style lang="scss">
 .el-collapse {
+  width: 670px;
   border-style: none;
 
   &-item + &-item {