fix: 优化产品信息显示,调整样式以提高可读性
This commit is contained in:
@@ -54,11 +54,11 @@ function gotoTradeRwa(id: string) {
|
|||||||
<div class="text-sm font-semibold mb-1 truncate">
|
<div class="text-sm font-semibold mb-1 truncate">
|
||||||
{{ item.product?.name }}
|
{{ item.product?.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center space-x-2">
|
<div class="flex items-center gap-2">
|
||||||
<div class="text-xs text-text-500">
|
<div class="text-xs text-text-500 truncate">
|
||||||
{{ item.product?.code }}
|
{{ item.product?.code }}
|
||||||
</div>
|
</div>
|
||||||
<div class="text-xs rounded-md px-1 py-0.5 bg-text-800">
|
<div class="text-xs rounded-md px-1 py-0.5 bg-text-800 w-fit text-nowrap">
|
||||||
{{ item.product.category?.name }}
|
{{ item.product.category?.name }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ function handleClick(item: RwaData) {
|
|||||||
<CryptocurrencyColorNuls class="text-2xl inline-block mr-2" />
|
<CryptocurrencyColorNuls class="text-2xl inline-block mr-2" />
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<div class="text-md font-medium text-wrap">
|
<div class="text-md font-medium text-wrap">
|
||||||
{{ item.product.name }}/{{ item.product.code }}
|
{{ item.product.name }}
|
||||||
</div>
|
</div>
|
||||||
<ui-tag size="small" type="secondary">
|
<ui-tag size="small" type="secondary">
|
||||||
{{ item.product.category?.name }}
|
{{ item.product.category?.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user