style(ItemList): 调整数字 badges 的宽度

- 将数字 badges 的宽度从 55px 调整为 60px,以适应较大的数字
- 优化了 ItemList 组件的视觉效果
This commit is contained in:
xingyy 2025-03-06 17:04:44 +08:00
parent c3852e1fb8
commit ae87146c5f

View File

@ -94,7 +94,7 @@ function formatNumber(num) {
class="w-full object-cover rounded-4px"
/>
<div
class="absolute rounded-2px overflow-hidden line-height-12px left-[8px] top-[8px] h-[17px] w-[55px] flex items-center justify-center bg-[#2b53ac] text-[12px] text-[#fff]"
class="absolute rounded-2px overflow-hidden line-height-12px left-[8px] top-[8px] h-[17px] w-[60px] flex items-center justify-center bg-[#2b53ac] text-[12px] text-[#fff]"
>
Lot{{ formatNumber(item.index) }}
</div>