|
@@ -73,7 +73,7 @@
|
|
|
|
|
|
<div v-show="isGroup" class="group-discussion" :style="{ height: isAudit ? '404px' : '468px' }">
|
|
|
<div v-for="(item, i) in streamList" :key="item.id()" class="group-wrapper">
|
|
|
- <div :id="`group-${i}`" class="group-box" />
|
|
|
+ <div :id="`group-${i}`" class="group-box"></div>
|
|
|
<div class="live-wrapper-stream">
|
|
|
{{ searchStudentName(item.id()) }}
|
|
|
<svg-icon :icon-class="item.hasAudio() ? 'mike-on-grey' : ''" />
|
|
@@ -106,7 +106,7 @@
|
|
|
<div class="button-group-left">
|
|
|
<span class="stop-group" @click="stopGroup">{{ $t('Key404') }}</span>
|
|
|
</div>
|
|
|
- <div class="button-group-right" />
|
|
|
+ <div class="button-group-right"></div>
|
|
|
</div>
|
|
|
<div class="live-container-left-chat">
|
|
|
<div class="chat-top">
|
|
@@ -143,12 +143,12 @@
|
|
|
<!-- 右侧 -->
|
|
|
<div class="live-container-right">
|
|
|
<div class="live-teacher-lens" @mouseover="liveMenuShow = true" @mouseout="liveMenuShow = false">
|
|
|
- <div id="live" />
|
|
|
+ <div id="live"></div>
|
|
|
<div :style="{ bottom: liveMenuShow ? '0' : '-40px' }" class="live-wrapper">
|
|
|
<div>
|
|
|
{{ roomInfo.teacher_name }}
|
|
|
</div>
|
|
|
- <div />
|
|
|
+ <div></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="student-list">
|
|
@@ -171,7 +171,7 @@
|
|
|
<el-avatar icon="el-icon-user" size="small" :src="el.student_image_url" />
|
|
|
<span class="name">{{ el.student_name }}</span>
|
|
|
</div>
|
|
|
- <div class="student-list-right" />
|
|
|
+ <div class="student-list-right"></div>
|
|
|
</li>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -286,7 +286,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
streamList(newVal) {
|
|
|
- const list = this.student_list.filter(item => {
|
|
|
+ const list = this.student_list.filter((item) => {
|
|
|
let isNoStream = true;
|
|
|
for (let i = 0; i < newVal.length; i++) {
|
|
|
if (newVal[i].id().split('-')[0] === item.room_user_id) isNoStream = false;
|
|
@@ -328,7 +328,7 @@ export default {
|
|
|
},
|
|
|
beforeDestroy() {
|
|
|
common.closeVideo('main');
|
|
|
- this.streamList.forEach(item => {
|
|
|
+ this.streamList.forEach((item) => {
|
|
|
common.unSubscribeStream(item);
|
|
|
});
|
|
|
},
|
|
@@ -431,7 +431,7 @@ export default {
|
|
|
searchStudentName(id) {
|
|
|
const uid = id.split('-')[0];
|
|
|
if (uid) {
|
|
|
- const student = this.student_list.find(item => item.room_user_id === uid);
|
|
|
+ const student = this.student_list.find((item) => item.room_user_id === uid);
|
|
|
return student ? student.student_name : '';
|
|
|
}
|
|
|
return '';
|
|
@@ -440,7 +440,7 @@ export default {
|
|
|
isMobile(id) {
|
|
|
const uid = id.split('-')[0];
|
|
|
if (uid) {
|
|
|
- const student = this.student_list.find(item => item.room_user_id === uid);
|
|
|
+ const student = this.student_list.find((item) => item.room_user_id === uid);
|
|
|
return student ? student.is_mobile === 'true' : false;
|
|
|
}
|
|
|
return false;
|
|
@@ -463,7 +463,7 @@ export default {
|
|
|
this.room_id = '';
|
|
|
this.session_id = '';
|
|
|
common.closeVideo('main');
|
|
|
- this.streamList.forEach(item => {
|
|
|
+ this.streamList.forEach((item) => {
|
|
|
common.unSubscribeStream(item);
|
|
|
});
|
|
|
this.streamList = [];
|
|
@@ -495,7 +495,7 @@ export default {
|
|
|
|
|
|
const list = [];
|
|
|
this.group_list.forEach(({ group_id, student_list }) => {
|
|
|
- student_list.forEach(item => {
|
|
|
+ student_list.forEach((item) => {
|
|
|
list.push({
|
|
|
group_id,
|
|
|
...item
|
|
@@ -553,7 +553,7 @@ $live-bc: #3d3938;
|
|
|
border-radius: 4px;
|
|
|
}
|
|
|
|
|
|
- ::v-deep .el-popover__reference-wrapper {
|
|
|
+ :deep .el-popover__reference-wrapper {
|
|
|
margin-right: 8px;
|
|
|
}
|
|
|
}
|