解决小程序上 cl-badge 字体样式失效问题
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
>
|
||||
<cl-text
|
||||
:pt="{
|
||||
className: parseClass(['cl-badge__text', pt.text?.className])
|
||||
className: parseClass(['cl-badge__text !text-white !text-sm', pt.text?.className])
|
||||
}"
|
||||
v-if="!dot"
|
||||
>
|
||||
@@ -102,10 +102,6 @@ const badgeStyle = computed(() => {
|
||||
@apply flex flex-row items-center justify-center;
|
||||
@apply rounded-full;
|
||||
|
||||
&__text {
|
||||
@apply text-white text-sm;
|
||||
}
|
||||
|
||||
&--position {
|
||||
@apply absolute z-10 right-0 top-0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user