feat:【ele】【mall】将 color-input 迁移到 mall/promotion/components 中,聚焦一点
This commit is contained in:
@@ -14,7 +14,7 @@ import {
|
|||||||
ElTree,
|
ElTree,
|
||||||
} from 'element-plus';
|
} 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';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import {
|
|||||||
} from 'element-plus';
|
} from 'element-plus';
|
||||||
|
|
||||||
import * as CouponTemplateApi from '#/api/mall/promotion/coupon/couponTemplate';
|
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 ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
|
||||||
import UploadImg from '#/components/upload/image-upload.vue';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
// TODO: 添加组件
|
// TODO: 添加组件
|
||||||
|
|||||||
@@ -13,8 +13,7 @@ import {
|
|||||||
ElSwitch,
|
ElSwitch,
|
||||||
} from 'element-plus';
|
} from 'element-plus';
|
||||||
|
|
||||||
import { AppLinkInput } from '#/views/mall/promotion/components';
|
import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components';
|
||||||
import ColorInput from '#/components/color-input/index.vue';
|
|
||||||
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
|
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
|
||||||
import Draggable from '#/components/draggable/index.vue';
|
import Draggable from '#/components/draggable/index.vue';
|
||||||
import InputWithColor from '#/components/input-with-color/index.vue';
|
import InputWithColor from '#/components/input-with-color/index.vue';
|
||||||
|
|||||||
@@ -15,8 +15,7 @@ import {
|
|||||||
} from 'element-plus';
|
} from 'element-plus';
|
||||||
|
|
||||||
import appNavBarMp from '#/assets/imgs/diy/app-nav-bar-mp.png';
|
import appNavBarMp from '#/assets/imgs/diy/app-nav-bar-mp.png';
|
||||||
import { AppLinkInput } from '#/views/mall/promotion/components';
|
import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components';
|
||||||
import ColorInput from '#/components/color-input/index.vue';
|
|
||||||
import MagicCubeEditor from '#/components/magic-cube-editor/index.vue';
|
import MagicCubeEditor from '#/components/magic-cube-editor/index.vue';
|
||||||
import UploadImg from '#/components/upload/image-upload.vue';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,7 @@ import type { NoticeBarProperty } from './config';
|
|||||||
import { useVModel } from '@vueuse/core';
|
import { useVModel } from '@vueuse/core';
|
||||||
import { ElCard, ElForm, ElFormItem, ElInput } from 'element-plus';
|
import { ElCard, ElForm, ElFormItem, ElInput } from 'element-plus';
|
||||||
|
|
||||||
import { AppLinkInput } from '#/views/mall/promotion/components';
|
import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components';
|
||||||
import ColorInput from '#/components/color-input/index.vue';
|
|
||||||
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
|
import ComponentContainerProperty from '#/components/diy-editor/components/component-container-property.vue';
|
||||||
import Draggable from '#/components/draggable/index.vue';
|
import Draggable from '#/components/draggable/index.vue';
|
||||||
import UploadImg from '#/components/upload/image-upload.vue';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import type { PageConfigProperty } from './config';
|
|||||||
import { useVModel } from '@vueuse/core';
|
import { useVModel } from '@vueuse/core';
|
||||||
import { ElForm, ElFormItem, ElInput } from 'element-plus';
|
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';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
|
|
||||||
// 导航栏属性面板
|
// 导航栏属性面板
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import {
|
|||||||
ElTooltip,
|
ElTooltip,
|
||||||
} from 'element-plus';
|
} 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';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
// TODO: 添加组件
|
// TODO: 添加组件
|
||||||
// import SpuShowcase from '#/views/mall/product/spu/components/spu-showcase.vue';
|
// import SpuShowcase from '#/views/mall/product/spu/components/spu-showcase.vue';
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import {
|
|||||||
} from 'element-plus';
|
} from 'element-plus';
|
||||||
|
|
||||||
import * as CombinationActivityApi from '#/api/mall/promotion/combination/combinationActivity';
|
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 UploadImg from '#/components/upload/image-upload.vue';
|
||||||
import CombinationShowcase from '#/views/mall/promotion/combination/components/combination-showcase.vue';
|
import CombinationShowcase from '#/views/mall/promotion/combination/components/combination-showcase.vue';
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import {
|
|||||||
ElTooltip,
|
ElTooltip,
|
||||||
} from 'element-plus';
|
} 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';
|
import PointShowcase from '#/views/mall/promotion/point/components/point-showcase.vue';
|
||||||
|
|
||||||
// 秒杀属性面板
|
// 秒杀属性面板
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import {
|
|||||||
} from 'element-plus';
|
} from 'element-plus';
|
||||||
|
|
||||||
import * as SeckillActivityApi from '#/api/mall/promotion/seckill/seckillActivity';
|
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 UploadImg from '#/components/upload/image-upload.vue';
|
||||||
import SeckillShowcase from '#/views/mall/promotion/seckill/components/seckill-showcase.vue';
|
import SeckillShowcase from '#/views/mall/promotion/seckill/components/seckill-showcase.vue';
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,7 @@ import {
|
|||||||
ElText,
|
ElText,
|
||||||
} from 'element-plus';
|
} from 'element-plus';
|
||||||
|
|
||||||
import { AppLinkInput } from '#/views/mall/promotion/components';
|
import { AppLinkInput, ColorInput } from '#/views/mall/promotion/components';
|
||||||
import ColorInput from '#/components/color-input/index.vue';
|
|
||||||
import Draggable from '#/components/draggable/index.vue';
|
import Draggable from '#/components/draggable/index.vue';
|
||||||
import UploadImg from '#/components/upload/image-upload.vue';
|
import UploadImg from '#/components/upload/image-upload.vue';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user