Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
digitalPerson-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
digitalPerson
digitalPerson-fe
Commits
df3e482e
Commit
df3e482e
authored
Sep 29, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 数字人对话调整
parent
cc768501
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
digital-audio.vue
...iews/dialogue-detail/components/digital/digital-audio.vue
+2
-1
horizontal-screen-preview-content.vue
...e-detail/components/horizontal-screen-preview-content.vue
+2
-2
vertical-screen-preview-content.vue
...gue-detail/components/vertical-screen-preview-content.vue
+1
-1
No files found.
src/views/dialogue-detail/components/digital/digital-audio.vue
View file @
df3e482e
...
...
@@ -59,6 +59,7 @@ watch(
)
onMounted
(()
=>
{
currentSelectedAudioType
.
value
=
digitalHumanDialogueStore
.
humanInfo
.
timebreId
?
'mandarin'
:
'cantonese'
getDigitalTimbreList
()
})
...
...
@@ -72,7 +73,7 @@ async function getDigitalTimbreList() {
}
function
handleUpdateAudioType
(
audioType
:
string
)
{
digitalHumanDialogueStore
.
humanInfo
.
timebreId
=
audioType
===
'mandarin'
?
'5132'
:
'
101019
'
digitalHumanDialogueStore
.
humanInfo
.
timebreId
=
audioType
===
'mandarin'
?
'5132'
:
''
}
async
function
handleSearch
(
value
:
string
)
{
...
...
src/views/dialogue-detail/components/horizontal-screen-preview-content.vue
View file @
df3e482e
...
...
@@ -16,7 +16,7 @@ const backgroundImageUrl = computed(() => {
})
const
isEmptyPreview
=
computed
(()
=>
{
return
!
figureImageUrl
.
value
||
!
backgroundImageUrl
.
value
return
!
figureImageUrl
.
value
&&
!
backgroundImageUrl
.
value
})
watch
(
...
...
@@ -52,7 +52,7 @@ async function handleGetInfoByFigureId(figureId: string) {
class=
"absolute left-0 top-0 h-full w-full object-cover"
/>
<div
class=
"absolute
left-0 top-0 w-1/2
"
>
<div
class=
"absolute
bottom-0 left-[5%] w-[320px]
"
>
<img
v-show=
"figureImageUrl"
:src=
"figureImageUrl"
alt=
"數字人"
class=
"h-full w-full"
/>
</div>
</div>
...
...
src/views/dialogue-detail/components/vertical-screen-preview-content.vue
View file @
df3e482e
...
...
@@ -24,7 +24,7 @@ const backgroundImageUrl = computed(() => {
})
const
isEmptyPreview
=
computed
(()
=>
{
return
!
figureImageUrl
.
value
||
!
backgroundImageUrl
.
value
return
!
figureImageUrl
.
value
&&
!
backgroundImageUrl
.
value
})
async
function
handleGetInfoByFigureId
(
figureId
:
string
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment