From cd14b162138fea5b2977469718fd51a0065a010c Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 25 Oct 2025 16:04:28 +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=20color-input=20=E8=BF=81=E7=A7=BB=E5=88=B0?= =?UTF-8?q?=20mall/promotion/components=20=E4=B8=AD=EF=BC=8C=E8=81=9A?= =?UTF-8?q?=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/component-container-property.vue | 2 +- .../diy-editor/components/mobile/coupon-card/property.vue | 2 +- .../diy-editor/components/mobile/menu-swiper/property.vue | 3 +-- .../mobile/navigation-bar/components/cell-property.vue | 3 +-- .../diy-editor/components/mobile/notice-bar/property.vue | 3 +-- .../diy-editor/components/mobile/page-config/property.vue | 2 +- .../diy-editor/components/mobile/product-card/property.vue | 2 +- .../components/mobile/promotion-combination/property.vue | 2 +- .../diy-editor/components/mobile/promotion-point/property.vue | 2 +- .../components/mobile/promotion-seckill/property.vue | 2 +- .../diy-editor/components/mobile/tab-bar/property.vue | 3 +-- 11 files changed, 11 insertions(+), 15 deletions(-) diff --git a/apps/web-ele/src/components/diy-editor/components/component-container-property.vue b/apps/web-ele/src/components/diy-editor/components/component-container-property.vue index 24062a191..ee36ad160 100644 --- a/apps/web-ele/src/components/diy-editor/components/component-container-property.vue +++ b/apps/web-ele/src/components/diy-editor/components/component-container-property.vue @@ -14,7 +14,7 @@ import { ElTree, } from 'element-plus'; -import ColorInput from '#/components/color-input/index.vue'; +import { ColorInput } 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/coupon-card/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/coupon-card/property.vue index 75ee00e71..839fe46f2 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/coupon-card/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/coupon-card/property.vue @@ -24,7 +24,7 @@ import { } from 'element-plus'; import * as CouponTemplateApi from '#/api/mall/promotion/coupon/couponTemplate'; -import ColorInput from '#/components/color-input/index.vue'; +import { ColorInput } from '#/views/mall/promotion/components'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; import UploadImg from '#/components/upload/image-upload.vue'; // TODO: 添加组件 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 c47402e19..0fc978777 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 @@ -13,8 +13,7 @@ import { ElSwitch, } from 'element-plus'; -import { AppLinkInput } from '#/views/mall/promotion/components'; -import ColorInput from '#/components/color-input/index.vue'; +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'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue index fd6495fc8..3ea574174 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue @@ -15,8 +15,7 @@ import { } from 'element-plus'; import appNavBarMp from '#/assets/imgs/diy/app-nav-bar-mp.png'; -import { AppLinkInput } from '#/views/mall/promotion/components'; -import ColorInput from '#/components/color-input/index.vue'; +import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components'; import MagicCubeEditor from '#/components/magic-cube-editor/index.vue'; import UploadImg from '#/components/upload/image-upload.vue'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/notice-bar/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/notice-bar/property.vue index b9051dd18..e143fbfac 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/notice-bar/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/notice-bar/property.vue @@ -4,8 +4,7 @@ import type { NoticeBarProperty } from './config'; import { useVModel } from '@vueuse/core'; import { ElCard, ElForm, ElFormItem, ElInput } from 'element-plus'; -import { AppLinkInput } from '#/views/mall/promotion/components'; -import ColorInput from '#/components/color-input/index.vue'; +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 UploadImg from '#/components/upload/image-upload.vue'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/page-config/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/page-config/property.vue index 4dca2797e..bfa6be9a9 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/page-config/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/page-config/property.vue @@ -4,7 +4,7 @@ import type { PageConfigProperty } from './config'; import { useVModel } from '@vueuse/core'; import { ElForm, ElFormItem, ElInput } from 'element-plus'; -import ColorInput from '#/components/input-with-color/index.vue'; +import { ColorInput } 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/product-card/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/product-card/property.vue index 7c6905012..2d138b893 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/product-card/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/product-card/property.vue @@ -17,7 +17,7 @@ import { ElTooltip, } from 'element-plus'; -import ColorInput from '#/components/color-input/index.vue'; +import { 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/promotion-combination/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/promotion-combination/property.vue index dcccd7e6d..b166d63ab 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/promotion-combination/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/promotion-combination/property.vue @@ -20,7 +20,7 @@ import { } from 'element-plus'; import * as CombinationActivityApi from '#/api/mall/promotion/combination/combinationActivity'; -import ColorInput from '#/components/color-input/index.vue'; +import { ColorInput } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; import CombinationShowcase from '#/views/mall/promotion/combination/components/combination-showcase.vue'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/promotion-point/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/promotion-point/property.vue index adc87710d..6ce0b5099 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/promotion-point/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/promotion-point/property.vue @@ -16,7 +16,7 @@ import { ElTooltip, } from 'element-plus'; -import ColorInput from '#/components/color-input/index.vue'; +import { ColorInput } from '#/views/mall/promotion/components'; import PointShowcase from '#/views/mall/promotion/point/components/point-showcase.vue'; // 秒杀属性面板 diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/promotion-seckill/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/promotion-seckill/property.vue index b97b1d9e1..51a5108d2 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/promotion-seckill/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/promotion-seckill/property.vue @@ -22,7 +22,7 @@ import { } from 'element-plus'; import * as SeckillActivityApi from '#/api/mall/promotion/seckill/seckillActivity'; -import ColorInput from '#/components/color-input/index.vue'; +import { ColorInput } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; import SeckillShowcase from '#/views/mall/promotion/seckill/components/seckill-showcase.vue'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/tab-bar/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/tab-bar/property.vue index 9ffc5853d..9da5b3eb0 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/tab-bar/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/tab-bar/property.vue @@ -15,8 +15,7 @@ import { ElText, } from 'element-plus'; -import { AppLinkInput } from '#/views/mall/promotion/components'; -import ColorInput from '#/components/color-input/index.vue'; +import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components'; import Draggable from '#/components/draggable/index.vue'; import UploadImg from '#/components/upload/image-upload.vue';