refactor: replace custom ellipsis classes with native utilities

delete unused ellipsis.scss partial and its import, update all components to use truncate and line-clamp-2 utilities
This commit is contained in:
duanshuwen
2026-07-24 22:19:35 +08:00
parent 0e79cf2ad0
commit 2b12398f2a
32 changed files with 86 additions and 203 deletions

View File

@@ -9,10 +9,10 @@
<image class="card-img flex-shrink-0 rounded-[14px]" :src="createSvgIndex(index)" />
<view class="min-width-0 flex flex-col flex-full pl-[8px] py-[4px]">
<view class="w-full text-[12px] font-[600] text-[#171717] ellipsis-1">
<view class="w-full text-[12px] font-[600] text-[#171717] truncate">
{{ item.title }}
</view>
<view class="w-full text-[9px] text-[#94a3b8] ellipsis-1">
<view class="w-full text-[9px] text-[#94a3b8] truncate">
{{ item.subTitle }}
</view>
</view>