fix title overflow
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user