From 9fea722a59529000029241d120a6643d0ad6bd91 Mon Sep 17 00:00:00 2001 From: "jlj05024111@163.com" Date: Thu, 4 Dec 2025 19:17:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=95=B0=E5=80=BC?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=A1=86=EF=BC=8C=E6=AD=A5=E8=BF=9B=E5=99=A8?= =?UTF-8?q?=EF=BC=8C=E5=88=86=E9=A1=B5=E4=BE=A7=E8=BE=B9=E6=A0=8F=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + .../tab-layout/tab-sidebar-layout/tab-sidebar-layout.scss | 3 --- src/editor/check-box/ibiz-checkbox/ibiz-checkbox.tsx | 2 +- src/editor/stepper/ibiz-stepper/ibiz-stepper.scss | 2 ++ src/editor/text-box/ibiz-input-number/ibiz-input-number.scss | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e8a063..40bc92e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - 优化日历,标题栏,数据看板,分割容器样式,规范其样式变量, - 优化drbar、drtab部件样式,规范其样式变量 - 优化搜索栏、工具栏、分页导航面板、向导面板部件样式,规范其样式变量 +- 更新数值编辑框,步进器,分页侧边栏样式 ### Fixed diff --git a/src/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.scss b/src/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.scss index 802aaed..23a120e 100644 --- a/src/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.scss +++ b/src/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.scss @@ -11,8 +11,6 @@ $tab-sidebar-layout: ( spacing-padding: getCssVar('spacing', 'tight') 0, spacing-sidebar-item-padding: getCssVar('spacing', 'tight') getCssVar('spacing', 'tight'), - // Font - font-tab-fontSize: getCssVar('tab-layout', 'font-tab-fontSize') ); @include b(tab-sidebar-layout) { @include set-component-css-var('tab-sidebar-layout', $tab-sidebar-layout); @@ -27,7 +25,6 @@ $tab-sidebar-layout: ( align-items: center; width: 100%; min-height: getCssVar(tab-sidebar-layout, height-tab-item); - font-size: getCssVar(tab-sidebar-layout, font-tab-fontSize); .#{bem(info-item)} { display: inline-flex; max-width: 100%; diff --git a/src/editor/check-box/ibiz-checkbox/ibiz-checkbox.tsx b/src/editor/check-box/ibiz-checkbox/ibiz-checkbox.tsx index 655b290..f0591fa 100644 --- a/src/editor/check-box/ibiz-checkbox/ibiz-checkbox.tsx +++ b/src/editor/check-box/ibiz-checkbox/ibiz-checkbox.tsx @@ -10,7 +10,7 @@ import { CheckBoxEditorController } from '../check-box-editor.controller'; import './ibiz-checkbox.scss'; /** - * 选项框 + * 移动端选项框 * @primary * @description 使用van-checkbox组件,用于选中或取消选项场景。支持编辑器类型包含:`选项框` * @editorparams {name:selectvalue,parameterType:number,defaultvalue:1,description:选中时抛出的值} diff --git a/src/editor/stepper/ibiz-stepper/ibiz-stepper.scss b/src/editor/stepper/ibiz-stepper/ibiz-stepper.scss index 1f1a5be..708a8a4 100644 --- a/src/editor/stepper/ibiz-stepper/ibiz-stepper.scss +++ b/src/editor/stepper/ibiz-stepper/ibiz-stepper.scss @@ -7,6 +7,7 @@ $stepper: ( font-fontSize: getCssVar(editor, default, font-size), font-lineHeight: getCssVar(editor, default, line-height), font-textAlign: getCssVar(editor, default, text-align), + width-input: 4rem, ); @include b(stepper) { @@ -19,6 +20,7 @@ $stepper: ( line-height: getCssVar(stepper, font-lineHeight); color: getCssVar(stepper, color); + --van-stepper-input-width: #{getCssVar(stepper, width-input)}; --van-stepper-input-font-size: #{getCssVar(stepper, font-fontSize)}; --van-stepper-input-line-height: #{getCssVar(stepper, font-lineHeight)}; --van-stepper-input-text-color: #{getCssVar(stepper, color)}; diff --git a/src/editor/text-box/ibiz-input-number/ibiz-input-number.scss b/src/editor/text-box/ibiz-input-number/ibiz-input-number.scss index 12d07da..7b48a29 100644 --- a/src/editor/text-box/ibiz-input-number/ibiz-input-number.scss +++ b/src/editor/text-box/ibiz-input-number/ibiz-input-number.scss @@ -13,7 +13,6 @@ $input-number: ( @include b('input-number') { @include set-component-css-var(input-number, $input-number); - display: flex; height: 100%; font-size: getCssVar(input-number, font-fontSize); line-height: getCssVar(input-number, font-lineHeight); -- Gitee