优化 cl-text 组件的字体大小和颜色,在 pt 配置中无需添加 ! 符号

This commit is contained in:
icssoa
2025-09-07 11:08:01 +08:00
parent 8e583121e4
commit 1b6fc90d59
57 changed files with 406 additions and 239 deletions

View File

@@ -57,7 +57,7 @@
<template #item="{ item }">
<view class="flex flex-col justify-center items-center">
<cl-icon :name="item.icon" :size="46"></cl-icon>
<cl-text :pt="{ className: '!text-sm mt-1' }">{{ item.label }}</cl-text>
<cl-text :pt="{ className: 'text-sm mt-1' }">{{ item.label }}</cl-text>
</view>
</template>
</cl-action-sheet>