From a624307532d318346b824c67eb11b2903cb03f5f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 25 Oct 2025 17:05:13 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90ele=E3=80=91=E3=80=90mall?= =?UTF-8?q?=E3=80=91diy-editor=20linter=20=E4=BF=AE=E5=A4=8D?= 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/Carousel/property.vue | 3 +-- .../diy-editor/components/mobile/Popover/property.vue | 3 +-- .../components/mobile/floating-action-button/property.vue | 2 +- .../diy-editor/components/mobile/magic-cube/property.vue | 6 ++++-- .../diy-editor/components/mobile/menu-grid/property.vue | 3 +-- .../diy-editor/components/mobile/menu-list/property.vue | 2 +- .../diy-editor/components/mobile/menu-swiper/property.vue | 2 +- .../mobile/navigation-bar/components/cell-property.vue | 7 +++++-- .../diy-editor/components/mobile/notice-bar/property.vue | 7 +++++-- .../diy-editor/components/mobile/tab-bar/property.vue | 7 +++++-- 11 files changed, 26 insertions(+), 18 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 ee36ad160..c9e535fb4 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,8 +14,8 @@ import { ElTree, } from 'element-plus'; -import { ColorInput } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; +import { ColorInput } from '#/views/mall/promotion/components'; /** * 组件容器属性:目前右边部分 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 fdcf852b2..f8d261156 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 @@ -17,10 +17,9 @@ import { } from 'element-plus'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadFile from '#/components/upload/file-upload.vue'; import UploadImg from '#/components/upload/image-upload.vue'; -import { AppLinkInput } from '#/views/mall/promotion/components'; +import { AppLinkInput, Draggable } 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 de9af52eb..7f41d413c 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,8 @@ import { ElTooltip, } from 'element-plus'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; -import { AppLinkInput } from '#/views/mall/promotion/components'; +import { AppLinkInput, Draggable } from '#/views/mall/promotion/components'; // 弹窗广告属性面板 defineOptions({ name: 'PopoverProperty' }); 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 59197de56..d6b0eb40b 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,10 @@ import { ElSwitch, } from 'element-plus'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; import { AppLinkInput, + Draggable, InputWithColor, } from '#/views/mall/promotion/components'; diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/magic-cube/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/magic-cube/property.vue index 9e2f60f1c..3db0280e9 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/magic-cube/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/magic-cube/property.vue @@ -7,9 +7,11 @@ import { useVModel } from '@vueuse/core'; import { ElForm, ElFormItem, ElSlider, ElText } from 'element-plus'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import { MagicCubeEditor } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; -import { AppLinkInput } from '#/views/mall/promotion/components'; +import { + AppLinkInput, + MagicCubeEditor, +} from '#/views/mall/promotion/components'; /** 广告魔方属性面板 */ defineOptions({ name: 'MagicCubeProperty' }); diff --git a/apps/web-ele/src/components/diy-editor/components/mobile/menu-grid/property.vue b/apps/web-ele/src/components/diy-editor/components/mobile/menu-grid/property.vue index 792c35496..5ac395deb 100644 --- a/apps/web-ele/src/components/diy-editor/components/mobile/menu-grid/property.vue +++ b/apps/web-ele/src/components/diy-editor/components/mobile/menu-grid/property.vue @@ -12,9 +12,8 @@ import { } from 'element-plus'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; -import { AppLinkInput } from '#/views/mall/promotion/components'; +import { AppLinkInput, Draggable } from '#/views/mall/promotion/components'; import { EMPTY_MENU_GRID_ITEM_PROPERTY } from './config'; 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 b3ecad836..f56dbabe8 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 @@ -5,10 +5,10 @@ import { useVModel } from '@vueuse/core'; import { ElForm, ElFormItem, ElText } from 'element-plus'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; import { AppLinkInput, + Draggable, InputWithColor, } from '#/views/mall/promotion/components'; 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 e30191fd6..433240502 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 @@ -14,11 +14,11 @@ import { } from 'element-plus'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; import { AppLinkInput, ColorInput, + Draggable, InputWithColor, } from '#/views/mall/promotion/components'; 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 b777f7662..585a0f0a7 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,9 +15,12 @@ import { } from 'element-plus'; import appNavBarMp from '#/assets/imgs/diy/app-nav-bar-mp.png'; -import { MagicCubeEditor } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; -import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components'; +import { + AppLinkInput, + ColorInput, + MagicCubeEditor, +} from '#/views/mall/promotion/components'; // 导航栏属性面板 defineOptions({ name: 'NavigationBarCellProperty' }); 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 4f508dc71..c3d272741 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 @@ -5,9 +5,12 @@ import { useVModel } from '@vueuse/core'; import { ElCard, ElForm, ElFormItem, ElInput } from 'element-plus'; import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; -import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components'; +import { + AppLinkInput, + ColorInput, + Draggable, +} from '#/views/mall/promotion/components'; // 通知栏属性面板 defineOptions({ name: 'NoticeBarProperty' }); 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 6ce0f0039..a258901dd 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,9 +15,12 @@ import { ElText, } from 'element-plus'; -import { Draggable } from '#/views/mall/promotion/components'; import UploadImg from '#/components/upload/image-upload.vue'; -import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components'; +import { + AppLinkInput, + ColorInput, + Draggable, +} from '#/views/mall/promotion/components'; import { component, THEME_LIST } from './config'; // 底部导航栏