Commit 69331ee6 authored by nick zheng's avatar nick zheng

chore: 数字人对话预览

parent 621e5936
......@@ -31,7 +31,7 @@ const figureId = computed(() => {
:class="figureId === imageItem.figureId ? 'border-blue' : 'border-transparent'"
@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">
{{ imageItem.imageName }}
</div>
......
......@@ -38,7 +38,7 @@ async function handleGetInfoByFigureId(figureId: string) {
<template>
<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
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