|
@@ -35,16 +35,20 @@
|
|
</div>
|
|
</div>
|
|
<div v-show="connect" class="student-parent">
|
|
<div v-show="connect" class="student-parent">
|
|
<div v-show="roomInfo.video_mode === 1 || remoteStreamType === 1" id="student"></div>
|
|
<div v-show="roomInfo.video_mode === 1 || remoteStreamType === 1" id="student"></div>
|
|
|
|
+
|
|
<template v-if="remoteStreamType !== 1">
|
|
<template v-if="remoteStreamType !== 1">
|
|
<template v-if="roomInfo.video_mode === 1">
|
|
<template v-if="roomInfo.video_mode === 1">
|
|
- <el-button type="danger" @click="handsDown">
|
|
|
|
|
|
+ <el-button v-show="invite" type="danger" @click="handsDown">
|
|
<svg-icon icon-class="hang-up" /> 挂断
|
|
<svg-icon icon-class="hang-up" /> 挂断
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
<div class="student-audio">
|
|
<div class="student-audio">
|
|
- <el-avatar icon="el-icon-user" :src="roomInfo.teacher_image_url" />
|
|
|
|
- <el-button type="danger" circle @click="handsDown">
|
|
|
|
|
|
+ <el-avatar
|
|
|
|
+ icon="el-icon-user"
|
|
|
|
+ :src="invite ? roomInfo.teacher_image_url : inviteImageURL"
|
|
|
|
+ />
|
|
|
|
+ <el-button v-show="invite" type="danger" circle @click="handsDown">
|
|
<svg-icon icon-class="hang-up" />
|
|
<svg-icon icon-class="hang-up" />
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -163,6 +167,8 @@ export default {
|
|
room_user_id: this.$route.query.room_user_id,
|
|
room_user_id: this.$route.query.room_user_id,
|
|
// 已连接
|
|
// 已连接
|
|
connect: false,
|
|
connect: false,
|
|
|
|
+ invite: false,
|
|
|
|
+ inviteImageURL: '',
|
|
// 等待接通
|
|
// 等待接通
|
|
callLoading: false,
|
|
callLoading: false,
|
|
dialogVisibleMaterial: false,
|
|
dialogVisibleMaterial: false,
|