优化 cl-text 组件的字体大小和颜色,在 pt 配置中无需添加 ! 符号
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user