fix title overflow
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
v-for="(item, index) in result.list"
|
v-for="(item, index) in result.list"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
class="item"
|
class="item"
|
||||||
:title="item.product?.name + '长名称长名称长名称长名称长名称长名称长名称长名称' || item.sku?.name || '未命名产品'"
|
|
||||||
arrow
|
arrow
|
||||||
v-entrance-transition="index * 30"
|
v-entrance-transition="index * 30"
|
||||||
@click="toEdit(item)"
|
@click="toEdit(item)"
|
||||||
@@ -35,8 +34,11 @@
|
|||||||
v-text="(item.product?.name || item.sku?.name || '产').slice(0, 1)"
|
v-text="(item.product?.name || item.sku?.name || '产').slice(0, 1)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
<template #title>
|
||||||
|
<span class="clip-text" v-text="item.product?.name || item.sku?.name || '未命名产品'" />
|
||||||
|
</template>
|
||||||
<template #note>
|
<template #note>
|
||||||
<span class="orange" v-text="formatPoint(item.defaultPointCost)" />
|
<span class="orange keep-text" v-text="formatPoint(item.defaultPointCost)" />
|
||||||
</template>
|
</template>
|
||||||
<template #description>
|
<template #description>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
@@ -45,7 +47,7 @@
|
|||||||
:theme="item.status === 'ACTIVE' ? 'success' : 'default'"
|
:theme="item.status === 'ACTIVE' ? 'success' : 'default'"
|
||||||
:content="statusText(item.status)"
|
:content="statusText(item.status)"
|
||||||
/>
|
/>
|
||||||
<product-sku-tags
|
<product-sku-tags
|
||||||
:product-name="item.product?.name"
|
:product-name="item.product?.name"
|
||||||
:fallback="item.sku?.specSummary || item.sku?.name || '默认 SKU'"
|
:fallback="item.sku?.specSummary || item.sku?.name || '默认 SKU'"
|
||||||
:unit="item.unit?.name"
|
:unit="item.unit?.name"
|
||||||
|
|||||||
Reference in New Issue
Block a user