From 7213252e32103f9017208ff17d24a7fd55c5b42a Mon Sep 17 00:00:00 2001 From: puhui999 Date: Wed, 18 Jun 2025 18:08:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=95=86=E5=9F=8E=E8=BD=AE=E6=92=AD?= =?UTF-8?q?=E5=9B=BE=E8=A3=85=E4=BF=AE=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DiyEditor/components/mobile/Carousel/config.ts | 3 +++ src/components/DiyEditor/components/mobile/Carousel/index.vue | 2 +- .../DiyEditor/components/mobile/Carousel/property.vue | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/DiyEditor/components/mobile/Carousel/config.ts b/src/components/DiyEditor/components/mobile/Carousel/config.ts index 3e74a511..1ca9de85 100644 --- a/src/components/DiyEditor/components/mobile/Carousel/config.ts +++ b/src/components/DiyEditor/components/mobile/Carousel/config.ts @@ -10,6 +10,8 @@ export interface CarouselProperty { autoplay: boolean // 播放间隔 interval: number + // 轮播高度 + height: number // 轮播内容 items: CarouselItemProperty[] // 组件样式 @@ -37,6 +39,7 @@ export const component = { indicator: 'dot', autoplay: false, interval: 3, + height: 174, items: [ { type: 'img', imgUrl: 'https://static.iocoder.cn/mall/banner-01.jpg', videoUrl: '' }, { type: 'img', imgUrl: 'https://static.iocoder.cn/mall/banner-02.jpg', videoUrl: '' } diff --git a/src/components/DiyEditor/components/mobile/Carousel/index.vue b/src/components/DiyEditor/components/mobile/Carousel/index.vue index 360b4a49..cafb534f 100644 --- a/src/components/DiyEditor/components/mobile/Carousel/index.vue +++ b/src/components/DiyEditor/components/mobile/Carousel/index.vue @@ -8,7 +8,7 @@
+ + px + 小圆点