|
@@ -58,8 +58,8 @@
|
|
|
editorBarData.type == '1' &&
|
|
|
/\.(xlsx|doc|docx)$/i.test(editorBarData.url)
|
|
|
" style="width: 100%; height: 100%; border: none" v-loading="uploadFileLoading" :src="'https://view.officeapps.live.com/op/view.aspx?src=' +
|
|
|
- encodeURIComponent(editorBarData.url)
|
|
|
- "></iframe>
|
|
|
+ encodeURIComponent(editorBarData.url)
|
|
|
+ "></iframe>
|
|
|
<vpdf style="width: 100%; height: 100%; border: none" :pdfUrl="editorBarData.url" v-if="
|
|
|
pageStatus == 2 &&
|
|
|
!showIndexPage &&
|
|
@@ -91,25 +91,22 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- <div class="ca-b-o-h-l-btn">
|
|
|
- <div class="ca-b-o-h-b-l-text" @click.stop="showTeacherVoiceprintBox = !showTeacherVoiceprintBox">{{choseTeacherVoiceprint?choseTeacherVoiceprint.name+'的':'教师'}}声纹</div>
|
|
|
- <div class="ca_teacherVoiceprintBox" style="cursor: default;" v-click-outside="()=>showTeacherVoiceprintBox = !showTeacherVoiceprintBox" v-if="showTeacherVoiceprintBox">
|
|
|
+ <div class="ca-b-o-h-b-l-text" @click.stop="showTeacherVoiceprintBox = !showTeacherVoiceprintBox">
|
|
|
+ {{ choseTeacherVoiceprint ? choseTeacherVoiceprint.name + '的' : '教师' }}声纹</div>
|
|
|
+ <div class="ca_teacherVoiceprintBox" style="cursor: default;"
|
|
|
+ v-click-outside="() => showTeacherVoiceprintBox = !showTeacherVoiceprintBox"
|
|
|
+ v-if="showTeacherVoiceprintBox">
|
|
|
<div class="ca_tvb_itemHead" @click.stop="addNewTeacherVoiceprintBtn()">
|
|
|
- <svg
|
|
|
- width="12"
|
|
|
- height="12"
|
|
|
- viewBox="0 0 12 12"
|
|
|
- fill="none"
|
|
|
- xmlns="http://www.w3.org/2000/svg"
|
|
|
- >
|
|
|
+ <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
<path d="M5.33337 2H6.66671V10H5.33337V2Z" fill="#3681FC" />
|
|
|
- <path
|
|
|
- d="M10 5.33301V6.66634H2V5.33301H10Z"
|
|
|
- fill="#3681FC"
|
|
|
- />
|
|
|
+ <path d="M10 5.33301V6.66634H2V5.33301H10Z" fill="#3681FC" />
|
|
|
</svg>
|
|
|
添加声纹
|
|
|
</div>
|
|
|
- <div :class="['ca_tvb_item',(choseTeacherVoiceprint&&choseTeacherVoiceprint.id==item.id)?'ca_tvb_itemActive':'']" v-for="item in teacherVoiceprintList" :key="item.id" @click.stop="choseTeacherVoiceprintFn(item)">{{ item.name }}</div>
|
|
|
+ <div
|
|
|
+ :class="['ca_tvb_item', (choseTeacherVoiceprint && choseTeacherVoiceprint.id == item.id) ? 'ca_tvb_itemActive' : '']"
|
|
|
+ v-for="item in teacherVoiceprintList" :key="item.id" @click.stop="choseTeacherVoiceprintFn(item)">{{
|
|
|
+ item.name }}</div>
|
|
|
</div>
|
|
|
</div> -->
|
|
|
|
|
@@ -120,20 +117,20 @@
|
|
|
<div class="ca-b-o-h-right">
|
|
|
<div class="ca-b-o-h-r-radio">
|
|
|
<div :class="(index == 0 &&
|
|
|
+ (showIndexPage || [0, 1, 2].includes(controlsStatus))) ||
|
|
|
+ (index == 1 &&
|
|
|
+ !showIndexPage &&
|
|
|
+ ![0, 1, 2].includes(controlsStatus))
|
|
|
+ ? 'TapeCss'
|
|
|
+ : ''
|
|
|
+ " class="tapeSty" @click="cutTape(index)" v-for="(i, index) in tapeList" :key="index + 'b'">
|
|
|
+ <img :src="(index == 0 &&
|
|
|
(showIndexPage || [0, 1, 2].includes(controlsStatus))) ||
|
|
|
(index == 1 &&
|
|
|
!showIndexPage &&
|
|
|
![0, 1, 2].includes(controlsStatus))
|
|
|
- ? 'TapeCss'
|
|
|
- : ''
|
|
|
- " class="tapeSty" @click="cutTape(index)" v-for="(i, index) in tapeList" :key="index + 'b'">
|
|
|
- <img :src="(index == 0 &&
|
|
|
- (showIndexPage || [0, 1, 2].includes(controlsStatus))) ||
|
|
|
- (index == 1 &&
|
|
|
- !showIndexPage &&
|
|
|
- ![0, 1, 2].includes(controlsStatus))
|
|
|
- ? i.ico
|
|
|
- : i.ico1
|
|
|
+ ? i.ico
|
|
|
+ : i.ico1
|
|
|
" alt="" />
|
|
|
</div>
|
|
|
|
|
@@ -195,8 +192,8 @@
|
|
|
@mouseover="() => (roleListIndex = index)">
|
|
|
<div class="ca_b-o_m_rl_i_top">
|
|
|
<el-avatar size="medium" :src="item.headUrl
|
|
|
- ? item.headUrl
|
|
|
- : require('@/assets/icon/classroomObservation/aiAvatar.png')
|
|
|
+ ? item.headUrl
|
|
|
+ : require('@/assets/icon/classroomObservation/aiAvatar.png')
|
|
|
"></el-avatar>
|
|
|
<div>
|
|
|
<div>{{ item.assistantName }}</div>
|