refactor: remove font-size utility file and replace with inline text classes

Delete the src/static/scss/font-size.scss utility file, and replace all legacy `font-size-*` class usages across the codebase with inline `text-[numberpx]` styling to consolidate font size definitions and remove redundant utility code.
This commit is contained in:
duanshuwen
2026-07-24 22:10:16 +08:00
parent 872a3fac18
commit 157b4f7e22
69 changed files with 255 additions and 324 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view class="container pl-[12px]">
<view class="container-scroll font-size-0 scroll-x whitespace-nowrap">
<view class="container-scroll text-[0px] scroll-x whitespace-nowrap">
<view class="card-item bg-white inline-block rounded-[20px] mr-[10px]" v-for="(item, index) in list" :key="index"
@click="sendReply(item)">
@@ -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 font-size-12 font-[600] text-[#171717] ellipsis-1">
<view class="w-full text-[12px] font-[600] text-[#171717] ellipsis-1">
{{ item.title }}
</view>
<view class="w-full font-size-9 text-[#94a3b8] ellipsis-1">
<view class="w-full text-[9px] text-[#94a3b8] ellipsis-1">
{{ item.subTitle }}
</view>
</view>