From 417a03cdac0304abf0d356fd496d8b26a6c84424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=A3=8A?= <1633537611@qq.com> Date: Tue, 19 Nov 2024 19:04:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4previewImage=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/preview-image/preview-image.uvue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pages/API/preview-image/preview-image.uvue b/pages/API/preview-image/preview-image.uvue index e284ea24..882e6702 100644 --- a/pages/API/preview-image/preview-image.uvue +++ b/pages/API/preview-image/preview-image.uvue @@ -7,7 +7,7 @@ 图片指示器样式 - {{ + {{ item.name }} @@ -15,7 +15,7 @@ - 循环播放 + 循环播放 @@ -30,6 +30,11 @@ + + 注意事项: + 1、indicator属性仅App平台支持。 + 2、Web平台不支持loop属性。 + @@ -57,6 +62,12 @@ name: "不显示" }] as ItemType[], currentIndicator: "default" as Indicator, + // #ifdef WEB + isWeb: true, + // #endif + // #ifndef WEB + isWeb: false, + // #endif isLoop: true } }, @@ -119,4 +130,4 @@ .indicator-it { margin: 8px; } - + -- GitLab