Explorar o código

Merge branch 'Nov16thResetMusic' into online

Xiao_Mo %!s(int64=4) %!d(string=hai) anos
pai
achega
544bd884b9
Modificáronse 1 ficheiros con 18 adicións e 7 borrados
  1. 18 7
      src/views/teamDetail/componentCourse/studentWork.vue

+ 18 - 7
src/views/teamDetail/componentCourse/studentWork.vue

@@ -1,8 +1,9 @@
 <template>
   <div>
-    <el-alert :title="msg"
+    <!-- <el-alert :title="msg"
               type="warning">
-    </el-alert>
+    </el-alert> -->
+    <div class="workTitle">作业内容:  <span>{{content}}</span> </div>
     <el-form :inline="true"
              class="workForm"
              style="padding: 0 25px">
@@ -128,9 +129,10 @@
                  slot="button-next"></div>
           </swiper>
         </div>
-
+        <div>
+            <p class="workContainer">作业回复内容:</p>
         <div class="msgWrap">
-          <p style="margin-bottom:20;">作业回复内容:</p>
+        
           <div :class="activeCommit.length>0?'':'flex'">
             <div v-if="activeCommit.length>0"
                  class="msgLi"
@@ -160,6 +162,7 @@
                v-if="activeCommit.length<=0">暂无回复内容</p>
           </div>
         </div>
+        </div>
       </div>
     </el-dialog>
   </div>
@@ -226,9 +229,6 @@ export default {
     swiper () {
       return this.$refs.mySwiper.$swiper
     },
-    msg () {
-      return '作业内容:' + this.content
-    }
   },
   mounted () {
     this.init();
@@ -371,6 +371,17 @@ export default {
         color: #666;
       }
     }
+
   }
+ 
 }
+ .workTitle {
+    padding-left: 25px;
+    color: #333;
+    font-weight: bold;
+
+  }
+  .workContainer {
+    margin-bottom:20px ;
+  }
 </style>