From 1af1a9b2d4e76f96945b52b2c5b2abb2db63449c Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 25 Oct 2025 16:23:44 +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=20magic-cube-editor=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 --- .../components/mobile/Carousel/property.vue | 2 +- .../components/mobile/Popover/property.vue | 2 +- .../mobile/coupon-card/property.vue | 2 +- .../floating-action-button/property.vue | 6 +- .../components/hot-zone-edit-dialog/index.vue | 2 +- .../components/mobile/image-bar/property.vue | 2 +- .../components/mobile/magic-cube/property.vue | 4 +- .../components/mobile/menu-grid/property.vue | 2 +- .../components/mobile/menu-list/property.vue | 6 +- .../mobile/menu-swiper/property.vue | 7 +- .../components/cell-property.vue | 6 +- .../components/mobile/notice-bar/property.vue | 2 +- .../mobile/page-config/property.vue | 2 +- .../mobile/product-card/property.vue | 2 +- .../mobile/product-list/property.vue | 2 +- .../mobile/promotion-combination/property.vue | 2 +- .../mobile/promotion-seckill/property.vue | 2 +- .../components/mobile/tab-bar/property.vue | 2 +- .../components/mobile/title-bar/property.vue | 6 +- .../views/mall/promotion/components/index.ts | 1 + .../components/magic-cube-editor/index.vue | 72 +++++++++---------- .../components/magic-cube-editor/util.ts | 0 22 files changed, 72 insertions(+), 62 deletions(-) rename apps/web-ele/src/{ => views/mall/promotion}/components/magic-cube-editor/index.vue (88%) rename apps/web-ele/src/{ => views/mall/promotion}/components/magic-cube-editor/util.ts (100%) diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/Carousel/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/Carousel/property.vue index eac8f35e3..789e2642e 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/Carousel/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/Carousel/property.vue @@ -16,11 +16,11 @@ import { ElTooltip, } 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 UploadFile from '#/components/upload/file-upload.vue'; import UploadImg from '#/components/upload/image-upload.vue'; +import { AppLinkInput } from '#/views/mall/promotion/components'; // 轮播图属性面板 defineOptions({ name: 'CarouselProperty' }); diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/Popover/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/Popover/property.vue index 771dac6c4..8d7482c1f 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/Popover/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/Popover/property.vue @@ -10,9 +10,9 @@ import { ElTooltip, } from 'element-plus'; -import { AppLinkInput } from '#/views/mall/promotion/components'; import Draggable from '#/components/draggable/index.vue'; import UploadImg from '#/components/upload/image-upload.vue'; +import { AppLinkInput } from '#/views/mall/promotion/components'; // 弹窗广告属性面板 defineOptions({ name: 'PopoverProperty' }); 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 839fe46f2..47cc2dc1b 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,9 +24,9 @@ import { } from 'element-plus'; import * as CouponTemplateApi from '#/api/mall/promotion/coupon/couponTemplate'; -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'; +import { ColorInput } from '#/views/mall/promotion/components'; // TODO: 添加组件 // import CouponSelect from '#/views/mall/promotion/coupon/components/coupon-select.vue'; 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 be999826d..9427d4ac2 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 @@ -11,10 +11,12 @@ import { ElSwitch, } from 'element-plus'; -import { AppLinkInput } from '#/views/mall/promotion/components'; import Draggable from '#/components/draggable/index.vue'; -import { InputWithColor } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; +import { + AppLinkInput, + InputWithColor, +} from '#/views/mall/promotion/components'; // 悬浮按钮属性面板 defineOptions({ name: 'FloatingActionButtonProperty' }); diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/hot-zone/components/hot-zone-edit-dialog/index.vue b/apps/web-ele/src/components/diy-editor/components/mobile/hot-zone/components/hot-zone-edit-dialog/index.vue index eaaec6bbc..e520a9586 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/hot-zone/components/hot-zone-edit-dialog/index.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/hot-zone/components/hot-zone-edit-dialog/index.vue @@ -1,8 +1,8 @@