diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e8a063bb3f784f2d73b12b402c5bace4f8d9b3d..40bc92e8d36a73a0a012a3ddfe50ecb2d112492f 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 802aaede0312c0d527c9168418c93580b847c123..23a120e2cac487429cc2bdeca617e5fdd0943105 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 655b290e29e7683452e2db23248fe062bcdf1988..f0591fa64e515fae36a8a36acf2954bee02f98f0 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 1f1a5bec3b88b31e2454f29d89e92f01f30708f8..708a8a4e851f8934171e29274721d5ee909d1d5f 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 12d07daa0a9679164faeaee8a92762726f92af4f..7b48a29ea1220521dadb95ae9db54b00a2862174 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);