From 15597a15440a74aceed21134eb43d1794a0e47d4 Mon Sep 17 00:00:00 2001 From: xuanlid <51027603+xuanlid@users.noreply.github.com> Date: Tue, 7 Jan 2025 09:39:50 +0800 Subject: [PATCH] fix: Modify UI review comments (#941) * fix:Modify Code Font in bridge/state * fix:modify the block list style in block * fix:Modify schema panel style * fix:Modify tabs in materials * fix:Modify global dialog, modal and search * fix:Modify the component list style in materials * fix:Modify search in i18n * fix: Modify UI in Schema Panel * fix:Modify dialog style and i18n Panel shadow * fix:Modify the component list style in materials * fix:Modify the block list style in block * fix: Modify UI review comments in i18n * fix: Modify modal style * fix: Modify modal in clean * fix: Modify modal in block * fix: Modify the block list and modal in block * fix: modify the block list in block * fix: modify font size * fix: Modify global button * fix: delete comment code * fix: change plugin-icon-js.svg * fix:Modify Code Font in bridge/state * fix:Modify button in header * fix: Modify button in state * fix:Modify Font Size in datasource * fix: Modify icon in lifecycle/blockEvent * fix: Modify validate in dialog * fix: modify second-panel and tree styles * fix: Modify tree componentType * fix: Modify the fixed column style of the table * fix: Modify top save and more * fix:Modify code style in state * fix:Modify the block list in block * fix: Modify remote panel * fix: Modify the icon to tips and gray background * fix:Modify global popover and toolTip * fix:Modify open-delay to a constant --- .../common/component/BlockDeployDialog.vue | 1 + packages/common/component/I18nInput.vue | 10 +- packages/common/component/LifeCycles.vue | 23 +++- packages/common/component/MonacoEditor.vue | 16 ++- packages/common/component/PluginBlockList.vue | 3 +- packages/common/component/PluginSetting.vue | 21 ++-- packages/common/component/SvgButton.vue | 19 ++- .../toolbar-built-in/ToolbarBaseButton.vue | 7 +- packages/layout/src/ToolbarCollapse.vue | 13 +- packages/plugins/block/src/BlockEventList.vue | 17 ++- .../plugins/block/src/BlockPropertyList.vue | 17 ++- packages/plugins/block/src/Main.vue | 13 +- .../src/DataSourceFieldCheckRanger.vue | 50 ++++---- .../datasource/src/DataSourceFieldForm.vue | 2 +- .../datasource/src/DataSourceFieldList.vue | 4 +- .../plugins/datasource/src/DataSourceList.vue | 2 + .../datasource/src/DataSourceRecordList.vue | 7 +- .../src/DataSourceRemoteAutoload.vue | 6 +- .../src/DataSourceRemoteDataAdapter.vue | 7 +- .../src/DataSourceRemoteDataResult.vue | 7 +- .../datasource/src/DataSourceRemoteForm.vue | 3 +- .../datasource/src/DataSourceRemotePanel.vue | 26 ++-- .../datasource/src/RemoteDataAdapterForm.vue | 8 +- packages/plugins/i18n/src/Main.vue | 30 +++-- .../src/meta/block/src/BlockGroup.vue | 42 +++---- .../materials/src/meta/component/src/Main.vue | 4 +- packages/plugins/state/src/CreateStore.vue | 11 +- packages/plugins/state/src/CreateVariable.vue | 2 +- packages/plugins/state/src/DataSourceList.vue | 6 +- packages/plugins/state/src/EditorI18nTool.vue | 7 +- packages/plugins/state/src/StateTips.vue | 4 +- packages/plugins/tree/src/Main.vue | 28 ++--- packages/theme/base/src/component-common.less | 46 ++++++- packages/toolbars/fullscreen/src/Main.vue | 2 +- packages/toolbars/generate-code/meta.js | 2 +- packages/toolbars/lang/src/Main.vue | 2 +- packages/toolbars/media/src/Main.vue | 2 - packages/toolbars/save/src/Main.vue | 118 +++++++++--------- packages/utils/src/constants/index.js | 4 + 39 files changed, 339 insertions(+), 253 deletions(-) diff --git a/packages/common/component/BlockDeployDialog.vue b/packages/common/component/BlockDeployDialog.vue index f304a59db..dd2b911f7 100644 --- a/packages/common/component/BlockDeployDialog.vue +++ b/packages/common/component/BlockDeployDialog.vue @@ -14,6 +14,7 @@ label-align :model="formState" :rules="formRules" + validate-type="text" > diff --git a/packages/common/component/I18nInput.vue b/packages/common/component/I18nInput.vue index a155923a1..137fc3287 100644 --- a/packages/common/component/I18nInput.vue +++ b/packages/common/component/I18nInput.vue @@ -26,7 +26,7 @@ @@ -38,7 +38,7 @@ import { computed, ref, watchEffect } from 'vue' import { useTranslate } from '@opentiny/tiny-engine-meta-register' import { Input, Popover } from '@opentiny/vue' -import { IconClose, IconLanguage } from '@opentiny/vue-icon' +import { IconClose } from '@opentiny/vue-icon' import BindI18n from './BindI18n.vue' export default { @@ -47,8 +47,7 @@ export default { TinyInput: Input, BindI18n, TinyPopover: Popover, - IconClose: IconClose(), - IconLanguage: IconLanguage() + IconClose: IconClose() }, inheritAttrs: false, props: { @@ -139,6 +138,9 @@ export default { right: 0; } } +.icon-language { + color: var(--te-common-icon-secondary); +} diff --git a/packages/common/component/toolbar-built-in/ToolbarBaseButton.vue b/packages/common/component/toolbar-built-in/ToolbarBaseButton.vue index 67d4de388..57b6ad041 100644 --- a/packages/common/component/toolbar-built-in/ToolbarBaseButton.vue +++ b/packages/common/component/toolbar-built-in/ToolbarBaseButton.vue @@ -56,9 +56,8 @@ export default { right: 2px; z-index: 100; } -} - -.save-title { - margin: 0 6px; + .svg-icon.svg-icon.svg-icon { + color: var(--te-common-icon-primary); + } } diff --git a/packages/layout/src/ToolbarCollapse.vue b/packages/layout/src/ToolbarCollapse.vue index 4bbce01ac..1d648c253 100644 --- a/packages/layout/src/ToolbarCollapse.vue +++ b/packages/layout/src/ToolbarCollapse.vue @@ -1,5 +1,5 @@