From 0914598a1544532c57d61a65b99a88881b7732e4 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Mon, 27 Oct 2025 18:14:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20image-mode=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/cool-ui/components/cl-banner/cl-banner.uvue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/uni_modules/cool-ui/components/cl-banner/cl-banner.uvue b/uni_modules/cool-ui/components/cl-banner/cl-banner.uvue index fe3a015..64fb560 100644 --- a/uni_modules/cool-ui/components/cl-banner/cl-banner.uvue +++ b/uni_modules/cool-ui/components/cl-banner/cl-banner.uvue @@ -35,7 +35,7 @@ @@ -123,6 +123,11 @@ const props = defineProps({ height: { type: [Number, String], default: 300 + }, + // 图片模式 + imageMode: { + type: String, + default: "aspectFill" } }); @@ -435,7 +440,7 @@ onMounted(() => { @apply absolute bottom-3 left-0 w-full; &-item { - @apply w-2 h-2 rounded-full mx-1; + @apply w-2 h-2 rounded-full mx-1 border border-solid border-surface-500; background-color: rgba(255, 255, 255, 0.3); transition-property: width, background-color; transition-duration: 0.3s;