Commit 3b28cc57 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

chore: 数字人对话样式调整及支持修改对话名称

See merge request !3
parents 9d06e416 84fb583a
<script setup lang="ts"> <script setup lang="ts">
import { computed } from 'vue' import { computed } from 'vue'
import { ImageItem } from '@/store/types/creation'
import { useDigitalHumanDialogueStore } from '@/store/modules/digital-human-dialogue' import { useDigitalHumanDialogueStore } from '@/store/modules/digital-human-dialogue'
import { DigitalImageItem } from '../../dialogue-type'
interface Props { interface Props {
imageItem: ImageItem imageItem: DigitalImageItem
} }
interface Emits { interface Emits {
......
...@@ -52,7 +52,7 @@ async function handleGetInfoByFigureId(figureId: string) { ...@@ -52,7 +52,7 @@ async function handleGetInfoByFigureId(figureId: string) {
class="absolute left-0 top-0 h-full w-full object-cover" class="absolute left-0 top-0 h-full w-full object-cover"
/> />
<div class="absolute bottom-0 left-[5%] w-[320px]"> <div class="absolute bottom-0 right-[5%] w-[320px]">
<img v-show="figureImageUrl" :src="figureImageUrl" alt="數字人" class="h-full w-full" /> <img v-show="figureImageUrl" :src="figureImageUrl" alt="數字人" class="h-full w-full" />
</div> </div>
</div> </div>
......
...@@ -56,7 +56,7 @@ async function handleGetInfoByFigureId(figureId: string) { ...@@ -56,7 +56,7 @@ async function handleGetInfoByFigureId(figureId: string) {
v-show="figureImageUrl" v-show="figureImageUrl"
:src="figureImageUrl" :src="figureImageUrl"
alt="數字人" alt="數字人"
class="absolute left-0 top-0 h-full w-full object-cover" class="absolute bottom-0 left-[25px] h-[574px] w-[324px] object-cover"
/> />
</div> </div>
</template> </template>
...@@ -100,6 +100,8 @@ async function handleSaveDigitalHumanDialogueTitle() { ...@@ -100,6 +100,8 @@ async function handleSaveDigitalHumanDialogueTitle() {
return return
} }
digitalHumanDialogueConfig.value.baseInfo.title = digitalHumanDialogueTitle.value
const res = await fetchSaveDigitalHumanDialogueConfig(digitalHumanDialogueConfig.value) const res = await fetchSaveDigitalHumanDialogueConfig(digitalHumanDialogueConfig.value)
if (res.code === 0) { if (res.code === 0) {
......
...@@ -5,7 +5,7 @@ import SideBar from './side-bar.vue' ...@@ -5,7 +5,7 @@ import SideBar from './side-bar.vue'
</script> </script>
<template> <template>
<div class="h-screen bg-[#f3f4fb]"> <div class="h-screen min-w-[1280px] bg-[#f3f4fb]">
<n-layout content-class="layout-wrapper-content" class="h-full !bg-transparent"> <n-layout content-class="layout-wrapper-content" class="h-full !bg-transparent">
<n-layout-header class="!bg-transparent"> <n-layout-header class="!bg-transparent">
<HeaderBar /> <HeaderBar />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment