|
|
@@ -1204,7 +1204,7 @@ async function createVideo() { |
|
|
|
} |
|
|
|
//#endregion ---------------------------- |
|
|
|
|
|
|
|
//#region |
|
|
|
//#region 草稿回显 |
|
|
|
async function getModelDetailById() { |
|
|
|
const res = await getModelDetailByIdApi(route.query.id); |
|
|
|
workId.value = res.data.id; |
|
|
@@ -1212,12 +1212,17 @@ async function getModelDetailById() { |
|
|
|
title.value = res.data.title; //标题 |
|
|
|
textareaContent.value = res.data.paperwork; //语音内容 |
|
|
|
materialList.BGI.id = res.data.backgroundId + ""; //背景id |
|
|
|
// language.value = res.data.voiceMouldId; |
|
|
|
// sound.value = res.data.voiceMouldId; |
|
|
|
// soundStyle.value = JSON.parse(res.data.voiceMouldSm).speakTypeStr; |
|
|
|
materialList.BGI.material = JSON.parse(res.data.backgroundSm).material; |
|
|
|
materialList.virtual = JSON.parse(res.data.personJson); |
|
|
|
materialList.virtual.id = res.data.personMouldId; //数字人id |
|
|
|
materialList.scList = res.data.materialAllJson |
|
|
|
? JSON.parse(res.data.materialAllJson) |
|
|
|
: []; |
|
|
|
console.log(sound.value); |
|
|
|
console.log(); |
|
|
|
} |
|
|
|
//#endregion ---------------------------- |
|
|
|
|
|
|
@@ -1248,7 +1253,7 @@ onMounted(async () => { |
|
|
|
} |
|
|
|
getSystemSCIList(); |
|
|
|
if (route.query.id) { |
|
|
|
// getModelDetailById(); |
|
|
|
getModelDetailById(); |
|
|
|
} |
|
|
|
}); |
|
|
|
</script> |
|
|
@@ -1423,6 +1428,8 @@ onMounted(async () => { |
|
|
|
transform: translate(-50%, -50%); |
|
|
|
height: 768px; |
|
|
|
width: 432px; |
|
|
|
border-radius: 20px; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
.EditPositionBox2 { |
|
|
|
position: absolute; |
|
|
@@ -1431,6 +1438,8 @@ onMounted(async () => { |
|
|
|
transform: translate(-50%, -50%); |
|
|
|
height: 432px; |
|
|
|
width: 768px; |
|
|
|
border-radius: 20px; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
.showImgInfoBox { |
|
|
|
position: absolute; |
|
|
|