diff --git a/pages/SDKIntegration/Lottie/index.uvue b/pages/SDKIntegration/Lottie/index.uvue index f2c4e5b1c5d85250fe7939247c9a2ef66defc8c0..bc4832704c2d03b2303aaee78da37f7e20d436dc 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/SyntaxCase/MixNativeCode.vue b/pages/SyntaxCase/MixNativeCode.vue new file mode 100644 index 0000000000000000000000000000000000000000..87ba5cd2c848806beb8128673bc26af46692482d --- /dev/null +++ b/pages/SyntaxCase/MixNativeCode.vue @@ -0,0 +1,42 @@ + + + + \ No newline at end of file diff --git a/pages/advance/advance.uvue b/pages/advance/advance.uvue index 106c9cf383b643833bdfc041d738ffabc8d4b94b..f67e256a890b89a9a8c30d34b263c4576a45e65f 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/advance/advance.vue b/pages/advance/advance.vue index 473f7e3f0fb84cbad2db898e76a162976b5d67db..14498bb40e3f9bfdbe85a35905733c028001fb02 100644 --- a/pages/advance/advance.vue +++ b/pages/advance/advance.vue @@ -119,7 +119,8 @@ },{ name: "实例测试示例", url: "SyntaxCase/instanceTest" - }] + } + ] }, { name: "日志打印", diff --git a/pages/component/helloView.uvue b/pages/component/helloView.uvue index f69983ddd4b996a94f1a66f03708c971891ed2bc..06d54da3ad56eea84f9957fa5eea002927858ac7 100644 --- a/pages/component/helloView.uvue +++ b/pages/component/helloView.uvue @@ -1,11 +1,30 @@