提交 dbd0194d 编写于 作者: 打打卡夫卡's avatar 打打卡夫卡

lottie 增加自定义基座判断

上级 966a0f29
...@@ -33,9 +33,17 @@ ...@@ -33,9 +33,17 @@
}) })
}, },
gotoLottie:function(e){ gotoLottie:function(e){
if(checkHasLottieIntegration()){
uni.navigateTo({ uni.navigateTo({
url:'/pages/SDKIntegration/Lottie/index' url:'/pages/SDKIntegration/Lottie/index'
}) })
}else{
uni.showToast({
icon:'none',
title:'需要在自定义基座中运行'
})
}
}, },
gotoTencentLocation:function(e){ gotoTencentLocation:function(e){
......
{ {
"dependencies": [ "dependencies": [
"com.airbnb.android:lottie:3.4.0" "com.airbnb.android:lottie:3.4.0"
],
"components":[
{
"name":"animation-view",
"class":"uuts.sdk.modules.animationView.AnimationViewComponent"
}
] ]
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册