| | |
| | | selectPPT.digitalHuman?.host.pictureUrl !== null && |
| | | selectPPT.digitalHuman?.host.videoUrl !== null |
| | | " |
| | | :key="InitDigHuman" |
| | | :parent="false" |
| | | :lockAspectRatio="true" |
| | | :minW="350" |
| | |
| | | selectPPT.digitalHuman?.host.pictureUrl !== null && |
| | | selectPPT.digitalHuman?.host.videoUrl !== null |
| | | " |
| | | :key="InitDigHuman" |
| | | :parent="false" |
| | | :lockAspectRatio="true" |
| | | :minW="350" |
| | |
| | | // 获取单类数字人形象 |
| | | const GetHumanList = async (query) => { |
| | | let data = await pptTemplateApi.pageList(query) |
| | | console.log( "pptdata", data ) |
| | | AllHumanList.value = [...AllHumanList.value, ...data.list] |
| | | } |
| | | |
| | |
| | | child.isActive = child.id === item.id |
| | | }) |
| | | selectPPT.value = item |
| | | console.log('selectPPT.value', selectPPT.value) |
| | | } |
| | | |
| | | // const chooseHost = (item) => { |
| | |
| | | data.y = -100 // 可以设置最小坐标为 -100 |
| | | } |
| | | } |
| | | |
| | | // 对数字人组件强制刷新 |
| | | const InitDigHuman = ref(0); |
| | | const getCourseDetail = async (id) => { |
| | | const res = await pptTemplateApi.coursesDetail(id) |
| | | console.log('res当前信息', res) |
| | | if (res) { |
| | | courseInfo.value = res |
| | | if (res.scenes && res.scenes.length > 0) { |
| | |
| | | } |
| | | ] |
| | | } |
| | | |
| | | console.log( "selectPPT.value", selectPPT.value ) |
| | | InitDigHuman.value = 1 |
| | | |
| | | // 设置音频选择数据 |
| | | const firstScene = res.scenes[0] |