Comments (5)
@JJH0901 把对应的json文件发出来
from lottie-miniapp.
Duplicate of #69
from lottie-miniapp.
@landn172 看到您上面发的链接问题了,去掉域名校验也可以显示,我这段json不包含图片链接
{
"v": "5.5.10",
"fr": 24,
"ip": 0,
"op": 24,
"w": 100,
"h": 100,
"nm": "blue/LANDING",
"ddd": 0,
"assets": [],
"layers": [{
"ddd": 0,
"ind": 1,
"ty": 4,
"nm": "blue/LANDING Outlines",
"sr": 1,
"ks": {
"o": {
"a": 0,
"k": 100,
"ix": 11
},
"r": {
"a": 0,
"k": 0,
"ix": 10
},
"p": {
"a": 1,
"k": [{
"i": {
"x": 0.833,
"y": 0.833
},
"o": {
"x": 0.167,
"y": 0.167
},
"t": 0,
"s": [45, 50, 0],
"to": [0, 0, 0],
"ti": [0, 0, 0]
}, {
"i": {
"x": 0.833,
"y": 0.833
},
"o": {
"x": 0.167,
"y": 0.167
},
"t": 11,
"s": [80, 50, 0],
"to": [0, 0, 0],
"ti": [0, 0, 0]
}, {
"t": 24,
"s": [45, 50, 0]
}],
"ix": 2
},
"a": {
"a": 0,
"k": [100, 100, 0],
"ix": 1
},
"s": {
"a": 0,
"k": [50, 50, 100],
"ix": 6
}
},
"ao": 0,
"shapes": [{
"ty": "gr",
"it": [{
"ind": 0,
"ty": "sh",
"ix": 1,
"ks": {
"a": 0,
"k": {
"i": [
[0, -7.732],
[7.732, 0],
[0, 7.732],
[-7.732, 0]
],
"o": [
[0, 7.732],
[-7.732, 0],
[0, -7.732],
[7.732, 0]
],
"v": [
[14, 0],
[0, 14],
[-14, 0],
[0, -14]
],
"c": true
},
"ix": 2
},
"nm": "Path 1",
"mn": "ADBE Vector Shape - Group",
"hd": false
}, {
"ty": "fl",
"c": {
"a": 0,
"k": [0.141000007181, 0.40800000359, 0.957000014361, 1],
"ix": 4
},
"o": {
"a": 0,
"k": 100,
"ix": 5
},
"r": 1,
"bm": 0,
"nm": "Fill 1",
"mn": "ADBE Vector Graphic - Fill",
"hd": false
}, {
"ty": "tr",
"p": {
"a": 0,
"k": [76, 100],
"ix": 2
},
"a": {
"a": 0,
"k": [0, 0],
"ix": 1
},
"s": {
"a": 0,
"k": [100, 100],
"ix": 3
},
"r": {
"a": 0,
"k": 0,
"ix": 6
},
"o": {
"a": 0,
"k": 100,
"ix": 7
},
"sk": {
"a": 0,
"k": 0,
"ix": 4
},
"sa": {
"a": 0,
"k": 0,
"ix": 5
},
"nm": "Transform"
}],
"nm": "Group 1",
"np": 2,
"cix": 2,
"bm": 0,
"ix": 1,
"mn": "ADBE Vector Group",
"hd": false
}],
"ip": 0,
"op": 24,
"st": 0,
"bm": 0
}, {
"ddd": 0,
"ind": 3,
"ty": 4,
"nm": "red/LANDING Outlines",
"sr": 1,
"ks": {
"o": {
"a": 0,
"k": 100,
"ix": 11
},
"r": {
"a": 0,
"k": 0,
"ix": 10
},
"p": {
"a": 1,
"k": [{
"i": {
"x": 0.833,
"y": 0.833
},
"o": {
"x": 0.167,
"y": 0.167
},
"t": 0,
"s": [45, 50, 0],
"to": [0, 0, 0],
"ti": [0, 0, 0]
}, {
"i": {
"x": 0.833,
"y": 0.833
},
"o": {
"x": 0.167,
"y": 0.167
},
"t": 11,
"s": [10, 50, 0],
"to": [0, 0, 0],
"ti": [0, 0, 0]
}, {
"t": 24,
"s": [45, 50, 0]
}],
"ix": 2
},
"a": {
"a": 0,
"k": [80, 100, 0],
"ix": 1
},
"s": {
"a": 0,
"k": [50, 50, 100],
"ix": 6
}
},
"ao": 0,
"shapes": [{
"ty": "gr",
"it": [{
"ind": 0,
"ty": "sh",
"ix": 1,
"ks": {
"a": 0,
"k": {
"i": [
[0, -7.732],
[7.732, 0],
[0, 7.732],
[-7.732, 0]
],
"o": [
[0, 7.732],
[-7.732, 0],
[0, -7.732],
[7.732, 0]
],
"v": [
[14, 0],
[0, 14],
[-14, 0],
[0, -14]
],
"c": true
},
"ix": 2
},
"nm": "Path 1",
"mn": "ADBE Vector Shape - Group",
"hd": false
}, {
"ty": "fl",
"c": {
"a": 0,
"k": [0.961000031116, 0.258999992819, 0.211999990426, 1],
"ix": 4
},
"o": {
"a": 0,
"k": 100,
"ix": 5
},
"r": 1,
"bm": 0,
"nm": "Fill 1",
"mn": "ADBE Vector Graphic - Fill",
"hd": false
}, {
"ty": "tr",
"p": {
"a": 0,
"k": [124, 100],
"ix": 2
},
"a": {
"a": 0,
"k": [0, 0],
"ix": 1
},
"s": {
"a": 0,
"k": [100, 100],
"ix": 3
},
"r": {
"a": 0,
"k": 0,
"ix": 6
},
"o": {
"a": 0,
"k": 100,
"ix": 7
},
"sk": {
"a": 0,
"k": 0,
"ix": 4
},
"sa": {
"a": 0,
"k": 0,
"ix": 5
},
"nm": "Transform"
}],
"nm": "Group 1",
"np": 2,
"cix": 2,
"bm": 0,
"ix": 1,
"mn": "ADBE Vector Group",
"hd": false
}],
"ip": 0,
"op": 24,
"st": 0,
"bm": 0
}],
"markers": []
}
from lottie-miniapp.
https://github.com/landn172/lottie-miniapp/tree/issues-141
@JJH0901 跑了下没问题,安卓、IOS都正常。
from lottie-miniapp.
好的,谢谢您,我再看看是不是我的程序有问题
from lottie-miniapp.
Related Issues (20)
- 支付宝小程序 错误:api.base64ToArrrayBuffer is not a function HOT 10
- What this project is all about? HOT 1
- 支付宝小程序报错 HOT 12
- 在canvas中添加类型type="2d"无法渲染 HOT 6
- 使用uni-app编译后再淘宝小程序运行没有动画 HOT 1
- 礼物播放报错了 HOT 6
- UNIAPP端的报错 HOT 1
- 这个项目还不如不开源 HOT 1
- Component is not found in path "npm/lottie-miniapp/lib/component/lottie" HOT 1
- 请问qq小程序可以使用这个动画库吗 HOT 1
- uniapp 如何控制播放,播放速度,播放时间。 HOT 1
- loadBase64Image:fail Error: ERROR_BASE64SRC_WRITE
- 怎么进行一个动画的缩放??
- uni微信小程序端type=“2d”在模拟器运行正常,真机失效
- uni-app 使用 lottie-miniapp TypeError: Converting circular structure to JSON --> starting at object with constructor 't' HOT 2
- 如何知道canvas已经渲染完成? HOT 1
- 使用过程中出现错误 HOT 4
- 这2天微信小程序加强了eval的审核限制,用了这个库一直审核不通过,麻烦看看是不是哪里违反了限制 HOT 4
- 没有渲染出来 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lottie-miniapp.