Merge branch 'main' of http://27.128.240.72:3000/zhuhao/AIx_Smarttalk_WS into zxl
This commit is contained in:
commit
cde8f13f8e
|
@ -2,7 +2,7 @@
|
|||
<div>
|
||||
<div style="height: auto; display: flex">
|
||||
<div style="flex: 1">
|
||||
<div>
|
||||
<div class="audio-container">
|
||||
<aiAudio
|
||||
@saveClick="saveClick"
|
||||
ref="audioRef"
|
||||
|
@ -78,7 +78,6 @@ import FileListItem from '@/views/prepare/container/file-list-item.vue'
|
|||
import { parseCataByNode, creatPPT, asyncLocalFile, removeLocalFiles } from '@/utils/talkFile'
|
||||
import { uploadPicture } from '@/api/aiGeneratedImage/index.js'
|
||||
import { aitts, addFileToSC } from '@/api/file/index.js'
|
||||
import CryptoJS from 'crypto-js'
|
||||
export default {
|
||||
components: {
|
||||
FileListItem
|
||||
|
@ -127,7 +126,7 @@ export default {
|
|||
})
|
||||
},
|
||||
saveClick(requestData) {
|
||||
this.$refs.audioRef.saveLoading = false
|
||||
this.$refs.audioRef.saveLoading = true
|
||||
aitts(requestData)
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
|
@ -138,7 +137,7 @@ export default {
|
|||
levelSecondId: this.uploadData.levelSecondId,
|
||||
fileSource: this.uploadData.fileSource,
|
||||
fileRoot: this.uploadData.fileRoot,
|
||||
fileShowName: this.filedata.fileNewName,
|
||||
fileShowName: this.filedata.uploadTime+'音频',
|
||||
fileFlag: '素材',
|
||||
fileId: this.filedata.id
|
||||
}
|
||||
|
@ -241,4 +240,11 @@ export default {
|
|||
overflow-y: auto;
|
||||
height: 74vh;
|
||||
}
|
||||
:deep(.audio-container .content-main){
|
||||
height: 85vh !important ;
|
||||
}
|
||||
:deep(.audio-container .content-main div:nth-of-type(1)){
|
||||
display: flex;
|
||||
flex: 1;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue