From e3426d0fa18fc2305f799a35eb0848c17e24b452 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 21 Apr 2021 17:35:49 +0800 Subject: [PATCH] 表单显示细节优化 --- forms/numberStep/cNumberStep.scss | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/forms/numberStep/cNumberStep.scss b/forms/numberStep/cNumberStep.scss index 7308861..f66a649 100644 --- a/forms/numberStep/cNumberStep.scss +++ b/forms/numberStep/cNumberStep.scss @@ -18,12 +18,28 @@ .at-input { padding: 16px 0; } - .at-input-number { - .at-input-number__btn { - padding: 16px 16px; + .c-number-step-step { + .at-input-number { + .at-input-number__btn { + padding: 16px 16px; + width: 30px; + height: 30px; + } + .at-input-number__input { + font-size: 30px; + } } - .at-input-number__input { - font-size: 30px; + &.on-unit { + position: relative; + .at-input-number__input { + padding-right: 40px; + } + .c-number-step-unit { + @include position(absolute, 2px 186px n n); + width: 40px; + line-height: 62px; + color: #999; + } } } } \ No newline at end of file -- Gitblit v1.9.1