Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否可以支持 Taro 框架? #24

Closed
WangShuXian6 opened this issue Apr 22, 2019 · 14 comments
Closed

是否可以支持 Taro 框架? #24

WangShuXian6 opened this issue Apr 22, 2019 · 14 comments

Comments

@WangShuXian6
Copy link

试了下在 Taro 中使用,可能由于usingComponents 配置错误,无法运行

@landn172
Copy link
Owner

@WangShuXian6 提供相应代码或者错误信息,方便复现

@landn172
Copy link
Owner

landn172 commented May 7, 2019

@WangShuXian6
taro下使用没问题, taro使用usingComponents是因为taro需要copy到项目中引入https://nervjs.github.io/taro/docs/mini-third-party.html
使用时是没问题的https://github.com/landn172/lottie-miniapp/tree/fix/taro/taro-example

@landn172 landn172 closed this as completed May 7, 2019
@liuyunzyj
Copy link

@landn172 在taro中使用各个小程序都应该适配吧?

@liuyunzyj
Copy link

@landn172 不支持支付宝小程序吗?

@liuyunzyj
Copy link

@landn172 我使用的是taro框架搭建出来--微信小程序没有问题----支付宝小程序错误
image

@liuyunzyj
Copy link

@landn172 这个库只支持微信小程序?不支持支付宝小程序?image

@landn172
Copy link
Owner

目前只支持微信小程序,如果有强烈需求可以考虑多个平台

@liuyunzyj
Copy link

@landn172 是的,因为使用的是taro框架,麻烦官方快速推出

@liuyunzyj
Copy link

@landn172 目前我这边在支付宝小程序需要引用,有什么好的建议,我使用其他库或者是什么方式解决下,暂时的引入

@landn172
Copy link
Owner

landn172 commented Jul 26, 2019

如果想要快速适配的话,修改源码尝试把wx.xxx改成my.xxxx,但是不确定还有什么差异,这个需求转到 #52

@liuyunzyj
Copy link

我尝试过了,可能您这边wx的方法与my的方式有差异所以不适配

@liuyunzyj
Copy link

跟官方的平台的方法

@liuyunzyj
Copy link

@landn172 您这边是根据动画返回的JSON数据代表意思的规则来使用createCanvasContext,您这边能提供一下这个代表JSON返回的数据意思的参考文献吗?

@liuyunzyj
Copy link

@landn172 希望官方快点推出能支持支付宝小程序,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants