From 318f142fa77e3ad51499adb076a6bc62e661fd22 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Wed, 5 Nov 2025 15:31:07 +0800 Subject: [PATCH] feat: diy editor style --- .../components/mobile/Carousel/index.vue | 2 +- .../mobile/floating-action-button/index.vue | 6 +++++- .../components/mobile/image-bar/index.vue | 13 +++---------- .../components/mobile/search-bar/property.vue | 14 ++++++++++---- .../components/mobile/user-wallet/index.vue | 2 -- .../components/mobile/user-wallet/property.vue | 2 -- .../components/mobile/video-player/index.vue | 17 ++++++----------- 7 files changed, 25 insertions(+), 31 deletions(-) diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Carousel/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Carousel/index.vue index 892c08641..9b4dd5c16 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Carousel/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/Carousel/index.vue @@ -24,7 +24,7 @@ const handleIndexChange = (index: number) => { class="bg-card flex h-64 items-center justify-center" v-if="property.items.length === 0" > - +
{ diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/image-bar/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/image-bar/index.vue index 5be469d97..0c3357416 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/image-bar/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/image-bar/index.vue @@ -3,6 +3,8 @@ import type { ImageBarProperty } from './config'; import { IconifyIcon } from '@vben/icons'; +import { Image } from 'ant-design-vue'; + /** 图片展示 */ defineOptions({ name: 'ImageBar' }); @@ -17,18 +19,9 @@ defineProps<{ property: ImageBarProperty }>();
- - diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/search-bar/property.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/search-bar/property.vue index 18fdd9e2a..eca8a0d33 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/search-bar/property.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/search-bar/property.vue @@ -70,12 +70,12 @@ watch( - + - + @@ -87,12 +87,18 @@ watch( - + - + diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/index.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/index.vue index ef98724ae..9e7aa4891 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/index.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/index.vue @@ -13,5 +13,3 @@ defineProps<{ property: UserWalletProperty }>(); src="https://shopro.sheepjs.com/admin/static/images/shop/decorate/walletCardStyle.png" /> - - diff --git a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/property.vue b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/property.vue index 5c01b828e..f82113728 100644 --- a/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/property.vue +++ b/apps/web-antd/src/views/mall/promotion/components/diy-editor/components/mobile/user-wallet/property.vue @@ -16,5 +16,3 @@ const formData = useVModel(props, 'modelValue', emit); - - 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 f7a105c4a..b89331eec 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 @@ -10,10 +10,14 @@ defineProps<{ property: VideoPlayerProperty }>(); - -