From 078cd88fe91c7f72129abdc70946c48b0e310799 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Tue, 23 Jul 2024 12:01:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20uni-app=20x=20=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8B=20=E8=B0=83=E7=94=A8UTS=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=86=85=E7=BD=AE=E6=96=B9=E6=B3=95=E7=9A=84=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/SDKIntegration/Lottie/index.uvue | 2 +- pages/advance/advance.uvue | 8 ++++++ pages/component/helloView.uvue | 25 ++++++++++++++++--- .../utssdk/app-android/index.vue | 2 +- 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/pages/SDKIntegration/Lottie/index.uvue b/pages/SDKIntegration/Lottie/index.uvue index f2c4e5b..bc48327 100644 --- a/pages/SDKIntegration/Lottie/index.uvue +++ b/pages/SDKIntegration/Lottie/index.uvue @@ -66,7 +66,7 @@ }, changeRepeat: function() { - // this.$refs["animView"].updateRepeatConfig("RESTART"); + (this.$refs["animView"] as UtsAnimationViewElement).setRepeatMode("RESTART"); }, lottieClickTest: function() { console.log("lottieClickTest"); diff --git a/pages/advance/advance.uvue b/pages/advance/advance.uvue index 106c9cf..f67e256 100644 --- a/pages/advance/advance.uvue +++ b/pages/advance/advance.uvue @@ -92,6 +92,14 @@ name: "console示例", url: "SyntaxCase/consoleTest" }] as Page[] + }, + { + name: "组件开发示例", + open: false, + pages: [{ + name: "Hello UTS Component", + url: "component/helloView" + }] }, { name: "平台代码示例", diff --git a/pages/component/helloView.uvue b/pages/component/helloView.uvue index f69983d..06d54da 100644 --- a/pages/component/helloView.uvue +++ b/pages/component/helloView.uvue @@ -1,11 +1,30 @@