From d550ef626cc79590f570ade74bf5b242b05789fe Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 25 Oct 2025 16:16:02 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90ele=E3=80=91=E3=80=90mall?= =?UTF-8?q?=E3=80=91=E5=B0=86=20input-with-colour=20=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E5=88=B0=20mall/promotion/components=20=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E8=81=9A=E7=84=A6=E4=B8=80=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../diy-editor/components/mobile/Divider/property.vue | 2 +- .../components/mobile/floating-action-button/property.vue | 2 +- .../diy-editor/components/mobile/menu-list/property.vue | 2 +- .../diy-editor/components/mobile/menu-swiper/property.vue | 2 +- .../diy-editor/components/mobile/product-list/property.vue | 2 +- .../diy-editor/components/mobile/title-bar/property.vue | 2 +- apps/web-ele/src/views/mall/promotion/components/index.ts | 3 ++- .../mall/promotion}/components/input-with-color/index.vue | 7 +++---- 8 files changed, 11 insertions(+), 11 deletions(-) rename apps/web-ele/src/{ => views/mall/promotion}/components/input-with-color/index.vue (89%) diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/Divider/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/Divider/property.vue index 7746b73bd..27df10576 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/Divider/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/Divider/property.vue @@ -13,7 +13,7 @@ import { ElTooltip, } from 'element-plus'; -import ColorInput from '#/components/input-with-color/index.vue'; +import { InputWithColor as ColorInput } from '#/views/mall/promotion/components'; // 导航栏属性面板 defineOptions({ name: 'DividerProperty' }); diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/floating-action-button/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/floating-action-button/property.vue index 2dfe4664d..be999826d 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/floating-action-button/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/floating-action-button/property.vue @@ -13,7 +13,7 @@ import { import { AppLinkInput } from '#/views/mall/promotion/components'; import Draggable from '#/components/draggable/index.vue'; -import InputWithColor from '#/components/input-with-color/index.vue'; +import { InputWithColor } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; // 悬浮按钮属性面板 diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/menu-list/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/menu-list/property.vue index 97c3a283b..bedb30a52 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/menu-list/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/menu-list/property.vue @@ -7,7 +7,7 @@ import { ElForm, ElFormItem, ElText } from 'element-plus'; import { AppLinkInput } from '#/views/mall/promotion/components'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; import Draggable from '#/components/draggable/index.vue'; -import InputWithColor from '#/components/input-with-color/index.vue'; +import { InputWithColor } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; import { EMPTY_MENU_LIST_ITEM_PROPERTY } from './config'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/menu-swiper/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/menu-swiper/property.vue index 0fc978777..ac6210be1 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/menu-swiper/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/menu-swiper/property.vue @@ -16,7 +16,7 @@ import { import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; import Draggable from '#/components/draggable/index.vue'; -import InputWithColor from '#/components/input-with-color/index.vue'; +import { InputWithColor } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; import { EMPTY_MENU_SWIPER_ITEM_PROPERTY } from './config'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/product-list/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/product-list/property.vue index 6203f7e30..de99e72bc 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/product-list/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/product-list/property.vue @@ -16,7 +16,7 @@ import { } from 'element-plus'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import ColorInput from '#/components/input-with-color/index.vue'; +import { InputWithColor as ColorInput } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; // TODO: 添加组件 // import SpuShowcase from '#/views/mall/product/spu/components/spu-showcase.vue'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/title-bar/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/title-bar/property.vue index 50e399f70..a1e4c014e 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/title-bar/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/title-bar/property.vue @@ -18,7 +18,7 @@ import { import { AppLinkInput } from '#/views/mall/promotion/components'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import InputWithColor from '#/components/input-with-color/index.vue'; +import { InputWithColor } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; // 导航栏属性面板 diff --git a/apps/web-ele/src/views/mall/promotion/components/index.ts b/apps/web-ele/src/views/mall/promotion/components/index.ts index 387960465..c7a53de09 100644 --- a/apps/web-ele/src/views/mall/promotion/components/index.ts +++ b/apps/web-ele/src/views/mall/promotion/components/index.ts @@ -1,3 +1,4 @@ -export { default as VerticalButtonGroup } from './vertical-button-group/index.vue'; export { default as AppLinkInput } from './app-link-input/index.vue'; export { default as ColorInput } from './color-input/index.vue'; +export { default as InputWithColor } from './input-with-color/index.vue'; +export { default as VerticalButtonGroup } from './vertical-button-group/index.vue'; diff --git a/apps/web-ele/src/components/input-with-color/index.vue b/apps/web-ele/src/views/mall/promotion/components/input-with-color/index.vue similarity index 89% rename from apps/web-ele/src/components/input-with-color/index.vue rename to apps/web-ele/src/views/mall/promotion/components/input-with-color/index.vue index 7c79ca354..d82567808 100644 --- a/apps/web-ele/src/components/input-with-color/index.vue +++ b/apps/web-ele/src/views/mall/promotion/components/input-with-color/index.vue @@ -1,13 +1,10 @@