feat:【ele】【mall】将 color-input 迁移到 mall/promotion/components 中,聚焦一点

This commit is contained in:
YunaiV
2025-10-25 16:04:28 +08:00
parent 3d14d00a23
commit cd14b16213
11 changed files with 11 additions and 15 deletions

View File

@@ -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';
/**

View File

@@ -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: 添加组件

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';
// 导航栏属性面板

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';
// 秒杀属性面板

View File

@@ -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';

View File

@@ -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';