Commit c1eaae45 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

chore: 数字人对话预览

See merge request !17
parents 376b549a 69331ee6
...@@ -31,7 +31,7 @@ const figureId = computed(() => { ...@@ -31,7 +31,7 @@ const figureId = computed(() => {
:class="figureId === imageItem.figureId ? 'border-blue' : 'border-transparent'" :class="figureId === imageItem.figureId ? 'border-blue' : 'border-transparent'"
@click="emit('click', imageItem.figureId as string)" @click="emit('click', imageItem.figureId as string)"
> >
<img :src="imageItem.imageUrl" class="h-full w-full" @load="imageLoading = false" /> <img :src="imageItem.imageUrl" class="h-full w-full object-cover" @load="imageLoading = false" />
<div class="absolute bottom-0 h-5 w-full bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white"> <div class="absolute bottom-0 h-5 w-full bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white">
{{ imageItem.imageName }} {{ imageItem.imageName }}
</div> </div>
......
...@@ -38,7 +38,7 @@ async function handleGetInfoByFigureId(figureId: string) { ...@@ -38,7 +38,7 @@ async function handleGetInfoByFigureId(figureId: string) {
<template> <template>
<div <div
class="relative mx-4 my-[45px] aspect-[16/9] h-full overflow-hidden rounded-2xl bg-white xl:my-[60px] 2xl:my-[85px]" class="relative mx-4 my-[45px] aspect-[16/9] h-full max-w-full overflow-hidden rounded-2xl bg-white xl:my-[60px] 2xl:my-[85px]"
> >
<div <div
v-if="isEmptyPreview" v-if="isEmptyPreview"
......
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