fix: 优化产品信息显示,调整样式以提高可读性

This commit is contained in:
2026-01-14 23:42:35 +07:00
parent 488cc598d8
commit 5ee761931f
2 changed files with 4 additions and 4 deletions

View File

@@ -54,11 +54,11 @@ function gotoTradeRwa(id: string) {
<div class="text-sm font-semibold mb-1 truncate">
{{ item.product?.name }}
</div>
<div class="flex items-center space-x-2">
<div class="text-xs text-text-500">
<div class="flex items-center gap-2">
<div class="text-xs text-text-500 truncate">
{{ item.product?.code }}
</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 }}
</div>
</div>

View File

@@ -32,7 +32,7 @@ function handleClick(item: RwaData) {
<CryptocurrencyColorNuls class="text-2xl inline-block mr-2" />
<div class="flex items-center gap-2">
<div class="text-md font-medium text-wrap">
{{ item.product.name }}/{{ item.product.code }}
{{ item.product.name }}
</div>
<ui-tag size="small" type="secondary">
{{ item.product.category?.name }}