From 758d8056dc3dbc6bf92c298aa3627e66b933b5a0 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 22 五月 2025 13:25:21 +0800 Subject: [PATCH] feat: UI --- packages/components/src/styles/nut.scss | 37 ++++++++++++++++++++++++++++--------- 1 files changed, 28 insertions(+), 9 deletions(-) diff --git a/packages/components/src/styles/nut.scss b/packages/components/src/styles/nut.scss index f3da60f..1d9b575 100644 --- a/packages/components/src/styles/nut.scss +++ b/packages/components/src/styles/nut.scss @@ -1,7 +1,6 @@ -/*postcss-pxtransform disable*/ - @use './function.scss' as *; @use './hairline.scss' as *; +@use './mixins.scss' as *; :root, page { @@ -115,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: 100rpx; + 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 { @@ -170,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