|
@@ -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;
|