优化细节

This commit is contained in:
icssoa
2025-08-25 17:48:44 +08:00
parent f2ed0657ca
commit 6e17fca829
3 changed files with 5 additions and 3 deletions

View File

@@ -396,7 +396,7 @@ defineExpose({
@apply bg-surface-800; @apply bg-surface-800;
&.cl-input--border { &.cl-input--border {
@apply border-surface-700; @apply border-surface-600;
&.cl-input--focus { &.cl-input--focus {
@apply border-primary-500; @apply border-primary-500;

View File

@@ -77,6 +77,7 @@
> >
<slot name="header"> <slot name="header">
<cl-text <cl-text
ellipsis
:pt="{ :pt="{
className: `text-lg font-bold ${pt.header?.text?.className}` className: `text-lg font-bold ${pt.header?.text?.className}`
}" }"
@@ -522,9 +523,9 @@ defineExpose({
} }
&__header { &__header {
@apply flex flex-row items-center; @apply flex flex-row items-center flex-wrap;
height: 90rpx; height: 90rpx;
padding: 0 26rpx; padding: 0 80rpx 0 26rpx;
} }
&__container { &__container {

View File

@@ -29,4 +29,5 @@ export type ClPopupProps = {
swipeCloseThreshold?: number; swipeCloseThreshold?: number;
pointerEvents?: "auto" | "none"; pointerEvents?: "auto" | "none";
keepAlive?: boolean; keepAlive?: boolean;
enablePortal?: boolean;
}; };