|
@@ -132,10 +132,14 @@
|
|
<div>
|
|
<div>
|
|
<p class="workContainer">作业回复内容:</p>
|
|
<p class="workContainer">作业回复内容:</p>
|
|
<div class="msgWrap">
|
|
<div class="msgWrap">
|
|
-
|
|
|
|
|
|
+
|
|
<div :class="activeCommit.length>0?'':'flex'">
|
|
<div :class="activeCommit.length>0?'':'flex'">
|
|
- <div v-if="activeCommit.length>0"
|
|
|
|
- class="msgLi"
|
|
|
|
|
|
+ <message-box
|
|
|
|
+ v-for='(msg,index) in activeCommit'
|
|
|
|
+ :key="index"
|
|
|
|
+ :item="msg"
|
|
|
|
+ ></message-box>
|
|
|
|
+ <!-- <div class="msgLi"
|
|
v-for='(msg,index) in activeCommit'
|
|
v-for='(msg,index) in activeCommit'
|
|
:key="index">
|
|
:key="index">
|
|
<div class="info">
|
|
<div class="info">
|
|
@@ -157,7 +161,7 @@
|
|
controls
|
|
controls
|
|
:src="msg.content"
|
|
:src="msg.content"
|
|
ref="dialogVideo">您的浏览器不支持音频播放</audio>
|
|
ref="dialogVideo">您的浏览器不支持音频播放</audio>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
<p class="nomore"
|
|
<p class="nomore"
|
|
v-if="activeCommit.length<=0">暂无回复内容</p>
|
|
v-if="activeCommit.length<=0">暂无回复内容</p>
|
|
</div>
|
|
</div>
|
|
@@ -178,12 +182,14 @@ import {
|
|
sumStudentAttendance,
|
|
sumStudentAttendance,
|
|
getCourseScheduleHomework
|
|
getCourseScheduleHomework
|
|
} from "@/api/buildTeam";
|
|
} from "@/api/buildTeam";
|
|
|
|
+import messageBox from './message-box'
|
|
import { findStudentHomeworkComments } from "@/api/operateManager";
|
|
import { findStudentHomeworkComments } from "@/api/operateManager";
|
|
export default {
|
|
export default {
|
|
props: ["courseScheduleId"],
|
|
props: ["courseScheduleId"],
|
|
components: {
|
|
components: {
|
|
pagination, Swiper,
|
|
pagination, Swiper,
|
|
- SwiperSlide
|
|
|
|
|
|
+ SwiperSlide,
|
|
|
|
+ 'message-box': messageBox
|
|
},
|
|
},
|
|
directives: {
|
|
directives: {
|
|
swiper: directive
|
|
swiper: directive
|
|
@@ -373,7 +379,7 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
.workTitle {
|
|
.workTitle {
|
|
padding-left: 25px;
|
|
padding-left: 25px;
|
|
@@ -384,4 +390,4 @@ export default {
|
|
.workContainer {
|
|
.workContainer {
|
|
margin-bottom:20px ;
|
|
margin-bottom:20px ;
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|