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:
@@ -11,12 +11,12 @@
|
||||
object-fit="cover" @click.stop @play="handlePlay" @fullscreenchange="handleFullScreenChange"
|
||||
@error="handleError" />
|
||||
<view v-if="videoUrl && !disabled"
|
||||
class="aigc-photo-card__fullscreen flex flex-items-center flex-justify-center text-white font-size-12"
|
||||
class="aigc-photo-card__fullscreen flex flex-items-center flex-justify-center text-white text-[12px]"
|
||||
@click.stop="requestFullScreen">
|
||||
全屏
|
||||
</view>
|
||||
<view v-if="!videoUrl"
|
||||
class="aigc-photo-card__empty flex flex-items-center flex-justify-center text-white font-size-14">
|
||||
class="aigc-photo-card__empty flex flex-items-center flex-justify-center text-white text-[14px]">
|
||||
视频地址为空
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user