fix title overflow

This commit is contained in:
Timi
2026-09-21 17:59:43 +08:00
parent 10ef75abe6
commit 932f2429da
+4 -2
View File
@@ -16,7 +16,6 @@
v-for="(item, index) in result.list"
:key="item.id"
class="item"
:title="item.product?.name + '长名称长名称长名称长名称长名称长名称长名称长名称' || item.sku?.name || '未命名产品'"
arrow
v-entrance-transition="index * 30"
@click="toEdit(item)"
@@ -35,8 +34,11 @@
v-text="(item.product?.name || item.sku?.name || '产').slice(0, 1)"
/>
</template>
<template #title>
<span class="clip-text" v-text="item.product?.name || item.sku?.name || '未命名产品'" />
</template>
<template #note>
<span class="orange" v-text="formatPoint(item.defaultPointCost)" />
<span class="orange keep-text" v-text="formatPoint(item.defaultPointCost)" />
</template>
<template #description>
<div class="description">