Framer动效03

Framer动效03_第1张图片


Framer动效03_第2张图片

Screen.backgroundColor="#2dd7aa"

scroll=new ScrollComponent

width: 300

height:300

x: Align.center

y: Align.center

backgroundColor: "rgba(255,225,225,0.2)"

scrollHorizontal:false

borderRadius: 8

scroll.contentInset=

top:20

bottom:20

for i in [0..5]

layer=new Layer

parent: scroll.content

name:"Row #{i}"

width:260

height:80

x:20

y:90*i

backgroundColor:"#fff"

borderRadius:6

你可能感兴趣的:(Framer动效03)