animatingNumbers #35
oasis-cloud
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
return index
}) 是否可改成 Array(10).map((item, index) => {
return index
})
translate(0, -${(idx == 0 ? 10 : idx) * 5}%)
这里的 5 建议写个注释,计算规则是父元素和实际列表高度的百分比Beta Was this translation helpful? Give feedback.
All reactions