From bd7dd96c732ded6854d47bf77f65e5c64d3d15e2 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 21 五月 2025 13:24:09 +0800 Subject: [PATCH] fix: 修改ui --- packages/components/src/styles/nut.scss | 35 ++++++++++++++++++++++++++++------- 1 files changed, 28 insertions(+), 7 deletions(-) diff --git a/packages/components/src/styles/nut.scss b/packages/components/src/styles/nut.scss index e94c6e9..1d9b575 100644 --- a/packages/components/src/styles/nut.scss +++ b/packages/components/src/styles/nut.scss @@ -1,5 +1,6 @@ @use './function.scss' as *; @use './hairline.scss' as *; +@use './mixins.scss' as *; :root, page { @@ -113,27 +114,37 @@ } .bole-input-text:not(.nut-input--disabled) { - .h5-input { + .h5-input, + .input-text { color: boleGetCssVar('text-color', 'primary') !important; display: block; - font-size: 26rpx; + font-size: 30rpx; + line-height: 42px; } .input-placeholder { color: boleGetCssVar('text-color', 'placeholder') !important; - font-size: 26rpx; + font-size: 30rpx; + line-height: 42px; } } .bole-input-textarea:not(.nut-input--disabled) { color: boleGetCssVar('text-color', 'primary') !important; - height: 200px; + height: 300px; + display: block; + font-size: 30rpx; + line-height: 42px; + } + + [placeholderclass='bole-input-text-placeholder'] { + &::placeholder { + @include placeholder; + } } .bole-input-text-placeholder { - color: boleGetCssVar('text-color', 'placeholder') !important; - font-size: 26rpx; - line-height: 20rpx; + @include placeholder; } .form-item-divider { @@ -168,4 +179,14 @@ .pro-form-item-tips { word-break: break-all; } + + .nut-dialog__header { + height: 44px; + } + + .nut-dialog__footer { + .nut-button--plain { + border-width: 1px; + } + } } -- Gitblit v1.9.1