From e218be3fdf7e030fb7ae345bd667a758ee5b5243 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 26 Oct 2025 10:21:38 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90antd=E3=80=91=E3=80=90mal?= =?UTF-8?q?l=E3=80=91diy-editor=20=E4=BF=AE=E5=A4=8D=20element-plus=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=B9=8B=E8=B7=AF=EF=BC=9A=E9=83=A8=E5=88=86?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=2021%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/mobile/Popover/index.vue | 2 + .../mobile/floating-action-button/index.vue | 2 +- .../components/mobile/menu-list/index.vue | 2 + .../components/cell-property.vue | 141 ++++++++++++++++++ .../components/mobile/notice-bar/index.vue | 30 ++-- .../components/mobile/product-card/index.vue | 2 + .../mobile/promotion-combination/index.vue | 2 + .../mobile/promotion-point/index.vue | 2 + .../mobile/promotion-seckill/index.vue | 2 + .../components/mobile/tab-bar/index.vue | 2 + .../components/mobile/title-bar/index.vue | 2 + .../components/mobile/video-player/index.vue | 2 + .../promotion/components/diy-editor/index.vue | 14 +- .../promotion/components/diy-editor/index.vue | 14 +- 14 files changed, 191 insertions(+), 28 deletions(-) diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Popover/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Popover/index.vue index d6b5d4396..b193e8366 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Popover/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Popover/index.vue @@ -5,6 +5,8 @@ import { ref } from 'vue'; import { IconifyIcon } from '@vben/icons'; +import { Image } from 'ant-design-vue'; + /** 弹窗广告 */ defineOptions({ name: 'Popover' }); // 定义属性 diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/floating-action-button/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/floating-action-button/index.vue index 0612a37d2..89b74ad2e 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/floating-action-button/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/floating-action-button/index.vue @@ -5,7 +5,7 @@ import { ref } from 'vue'; import { IconifyIcon } from '@vben/icons'; -import { message } from 'ant-design-vue'; +import { Image, message } from 'ant-design-vue'; /** 悬浮按钮 */ defineOptions({ name: 'FloatingActionButton' }); diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/menu-list/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/menu-list/index.vue index acfbb467f..2997b98dc 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/menu-list/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/menu-list/index.vue @@ -3,6 +3,8 @@ import type { MenuListProperty } from './config'; import { IconifyIcon } from '@vben/icons'; +import { Image } from 'ant-design-vue'; + /** 列表导航 */ defineOptions({ name: 'MenuList' }); defineProps<{ property: MenuListProperty }>(); diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue index c71c2c528..d922eb64a 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/navigation-bar/components/cell-property.vue @@ -1,4 +1,145 @@ + + + + diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/notice-bar/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/notice-bar/index.vue index eef5a37d8..d74b741d4 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/notice-bar/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/notice-bar/index.vue @@ -1,12 +1,23 @@ diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/product-card/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/product-card/index.vue index fb064c366..13f1c0fbc 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/product-card/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/product-card/index.vue @@ -7,6 +7,8 @@ import { ref, watch } from 'vue'; import { fenToYuan } from '@vben/utils'; +import { Image } from 'ant-design-vue'; + import * as ProductSpuApi from '#/api/mall/product/spu'; /** 商品卡片 */ diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-combination/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-combination/index.vue index 566bb5d07..08ff86d1e 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-combination/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-combination/index.vue @@ -8,6 +8,8 @@ import { ref, watch } from 'vue'; import { fenToYuan } from '@vben/utils'; +import { Image } from 'ant-design-vue'; + import * as ProductSpuApi from '#/api/mall/product/spu'; import * as CombinationActivityApi from '#/api/mall/promotion/combination/combinationActivity'; diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-point/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-point/index.vue index a33969044..174b20218 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-point/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-point/index.vue @@ -7,6 +7,8 @@ import { ref, watch } from 'vue'; import { fenToYuan } from '@vben/utils'; +import { Image } from 'ant-design-vue'; + import * as ProductSpuApi from '#/api/mall/product/spu'; import * as PointActivityApi from '#/api/mall/promotion/point'; diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-seckill/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-seckill/index.vue index 8a9eb5a00..0c1226df7 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-seckill/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/promotion-seckill/index.vue @@ -8,6 +8,8 @@ import { ref, watch } from 'vue'; import { fenToYuan } from '@vben/utils'; +import { Image } from 'ant-design-vue'; + import * as ProductSpuApi from '#/api/mall/product/spu'; import * as SeckillActivityApi from '#/api/mall/promotion/seckill/seckillActivity'; diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/tab-bar/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/tab-bar/index.vue index 59fda8a81..827c7358d 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/tab-bar/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/tab-bar/index.vue @@ -3,6 +3,8 @@ import type { TabBarProperty } from './config'; import { IconifyIcon } from '@vben/icons'; +import { Image } from 'ant-design-vue'; + /** 页面底部导航栏 */ defineOptions({ name: 'TabBar' }); diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/title-bar/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/title-bar/index.vue index c3464c2b0..5bd0eb977 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/title-bar/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/title-bar/index.vue @@ -3,6 +3,8 @@ import type { TitleBarProperty } from './config'; import { IconifyIcon } from '@vben/icons'; +import { Image } from 'ant-design-vue'; + /** 标题栏 */ defineOptions({ name: 'TitleBar' }); diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/video-player/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/video-player/index.vue index b1846cc32..f7a105c4a 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/video-player/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/video-player/index.vue @@ -1,6 +1,8 @@