| | |
| | | <el-text class="mx-1" type="primary" size="small">{{ |
| | | t('courseCenter.oralBroadcastingContent') |
| | | }}</el-text> |
| | | <div class="media-box"> |
| | | <!-- 原本的声音选择器 --> |
| | | <!-- <div class="media-box"> |
| | | <el-button type="primary" :icon="Mic" size="small" @click="openSelect">{{ |
| | | selectPPT.selectAudio ? selectPPT.selectAudio.name : t('courseCenter.notSelect') |
| | | }}</el-button> |
| | |
| | | size="small" |
| | | @click="voiceData.show = !voiceData.show" |
| | | /> |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | | <div v-if="selectPPT.driverType == 1" style="position: relative"> |
| | | <div class="middle-textarea"> |
| | |
| | | // initHumanPositon(item, selectPPT.value.digitalHuman) |
| | | // } |
| | | // } |
| | | |
| | | // 初始化数字人位置 |
| | | const initHumanPositon = (hostData, digitalHuman) => { |
| | | if (hostData.posture === 1) { |
| | | digitalHuman.x = viewSize.width - digitalHuman.w |
| | |
| | | tonePitch: '', |
| | | voiceType: item.selectAudio && item.selectAudio.voiceType, |
| | | speechRate: '', |
| | | name: item.selectAudio && item.selectAudio.name |
| | | name: item.selectAudio && item.selectAudio.name, |
| | | language: selectLanguage.value?.value |
| | | }, |
| | | businessId: item.businessId |
| | | } |