refactor(ModelCard): 更新模型卡片样式和图像引用

- 将背景图片引用从 model.image 改为 model.backgroundImage
- 将图标引用从 model.icon 改为
This commit is contained in:
du.meimei
2025-05-26 13:53:34 +08:00
parent 673d99ef8f
commit 23b24bb072

View File

@@ -2,9 +2,9 @@
<div class="model-item"
@mouseover="hoverIndex = index"
@mouseleave="hoverIndex = -1"
:style="{ backgroundImage: `url(${model.image})` }">
:style="{ backgroundImage: `url(${model.backgroundImage})` }">
<div class="flex align-items-center">
<img :src="model.icon" alt="" style="height: 23px; margin-right: 8px" />
<img :src="model.image" alt="" style="height: 23px; margin-right: 8px" />
<p class="model-item-title">{{ model.title }}</p>
</div>
<p class="model-item-desc">{{ model.description }}</p>