Просмотр исходного кода

12/09 作业回复 样式修改

mo 4 лет назад
Родитель
Сommit
2cd60fb40e

+ 1 - 0
debug.log

@@ -1,2 +1,3 @@
 [1207/094223.177:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
 [1208/093635.101:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
+[1209/094216.333:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)

+ 4 - 4
src/views/teamDetail/componentCourse/message-box.vue

@@ -44,10 +44,10 @@ export default {
         max-width: 80%;
         .content{
           color: #fff;
-          background-color: #13817A;
+          background-color: #13817a;
           text-align: right;
           &::before{
-            border: 10px solid #13817A;
+            border: 10px solid #13817a;
             border-top-color: transparent;
             border-bottom-color: transparent;
             border-right-color: transparent;
@@ -70,13 +70,13 @@ export default {
       }
       .content{
         position: relative;
-        background-color: #D1D5DB;
+        background-color: #fff;
         padding: 10px;
         border-radius: 5px;
         &::before{
           width: 0;
           height: 0;
-          border: 10px solid #D1D5DB;
+          border: 10px solid #fff;
           border-top-color: transparent;
           border-bottom-color: transparent;
           border-left-color: transparent;

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

@@ -148,7 +148,8 @@
               :class="activeCommit.length > 0 ? '' : 'flex'"
               v-if="activeCommit.length > 0"
             >
-              <div
+              <messageBox v-for="(msg, index) in activeCommit" :key="index" :item="msg"/>
+              <!-- <div
                 class="msgLi"
                 v-for="(msg, index) in activeCommit"
                 :key="index"
@@ -180,7 +181,7 @@
                 >
                   您的浏览器不支持音频播放
                 </audio>
-              </div>
+              </div> -->
               <p class="nomore" v-if="activeCommit.length <= 0">暂无回复内容</p>
             </div>
           </div>
@@ -201,12 +202,14 @@ import {
   getCourseScheduleHomework,
 } from "@/api/buildTeam";
 import { findStudentHomeworkComments } from "@/api/operateManager";
+import messageBox from "./message-box";
 export default {
   props: ["courseScheduleId"],
   components: {
     pagination,
     Swiper,
     SwiperSlide,
+    messageBox,
   },
   directives: {
     swiper: directive,
@@ -379,8 +382,10 @@ export default {
       display: block;
     }
     width: 400px;
+    background-color: #efefef;
     min-height: 300px;
-
+    height: calc(100% - 40px);
+    overflow-y: auto;
     border: 1px solid #e5e5e5;
     padding: 5px 20px;
     border-radius: 5px;

+ 1 - 1
src/views/vipClass/vipList.vue

@@ -12,7 +12,7 @@
     <div class="newBand"
          v-permission="'export/vipGroup'"
          @click="onStudentExport"
-         style="max-width: inherit;">VIP课程续费提醒</div>
+         style="max-width: inherit;">VIP课程续费提醒导出</div>
     <div class="m-core">
       <!-- 搜索类型 -->
       <el-form :inline="true"