Browse Source

12/07 课表列表优化

mo 4 years ago
parent
commit
ed69421357

+ 2 - 2
src/views/teamDetail/componentCourse/courseEvaluate.vue

@@ -8,14 +8,14 @@
       >
         <el-table-column
           align="center"
-          width="100"
+          width="150"
           prop="username"
           label="学生姓名"
         >
           <template slot-scope="scope">
             <div>
               {{ scope.row.username }}
-              <span style="color: #f56c6c">{{ scope.row.userId }}</span>
+              <span style="color: #f56c6c">({{ scope.row.userId }})</span>
             </div>
           </template>
         </el-table-column>

+ 1 - 1
src/views/teamDetail/componentCourse/studentRollCall.vue

@@ -31,7 +31,7 @@
           <template slot-scope="scope">
             <div>
               {{scope.row.username}}
-               <span style="color: #f56c6c">{{scope.row.userId}}</span>
+               <span style="color: #f56c6c">({{scope.row.userId}})</span>
             </div>
           </template>
         </el-table-column>

+ 13 - 8
src/views/teamDetail/componentCourse/studentWork.vue

@@ -1,12 +1,11 @@
 <template>
   <div>
-  <el-alert
-    title="作业内容"
+  <!-- <el-alert
     type="info"
     :closable="false"
     :description="content">
-  </el-alert>
-    <!-- <div class="workTitle">作业内容:  <span>{{content}}</span> </div> -->
+  </el-alert> -->
+      <div class="workTitle">作业标题 : <span> {{content}}</span></div>
     <el-form :inline="true"
              class="workForm"
              style="padding: 0 25px">
@@ -38,7 +37,7 @@
           <template slot-scope="scope">
             <div>
               {{scope.row.studentName}}
-              <span style="color: #f56c6c">{{scope.row.studentId}}</span>
+              <span style="color: #f56c6c">({{scope.row.studentId}})</span>
             </div>
           </template>
         </el-table-column>
@@ -260,7 +259,8 @@ export default {
           if (res.data) {
             this.content = res.data.content;
           }
-          this.content ? this.content : (this.content = "还未布置作业");
+         
+          this.content ? this.content : (this.content = "这是布置的作业XXXXXXX");
         }
       });
       this.getList();
@@ -380,9 +380,14 @@ export default {
 }
  .workTitle {
     padding-left: 25px;
-    color: #333;
+    color:#14928A;
     font-weight: bold;
-
+    background-color: #f4f4f5;
+    line-height: 40px;
+    span {
+      color: #303133;
+      font-weight: normal;
+    }
   }
   .workContainer {
     margin-bottom:20px ;

+ 1 - 1
src/views/teamDetail/componentCourse/teacherList.vue

@@ -9,7 +9,7 @@
         <template slot-scope="scope">
           <div>
             {{scope.row.teacherName}}
-             <span style="color: #f56c6c">{{scope.row.teacherId}}</span>
+             <span style="color: #f56c6c">({{scope.row.teacherId}})</span>
           </div>
         </template>
       </el-table-column>