分享一个iapp代码,纯布局写的加载特效,加载非常漂亮,如果你想要一个iapp加载代码,那我推荐这款吧,源码已经打包在下面了,不过也放一下代码吧
//自定义布局圆角大小与颜色
ngde(100,"#CDDC39",a)
us(8,"background",a)
ngde(100,"#FF5722",a)
us(9,"background",a)
ngde(100,"#009688",a)
us(10,"background",a)
ngde(100,"#D84315",a)
us(11,"background",a)
ngde(100,"#FF9E80",a)
us(12,"background",a)
//开始循环播放动画time修改动画转动时间
s time="175"
t()
{
stop(time)
dhr(dhm, 0, 360, 0, 0, 0, 80)
dh(dhm, "duration", 1000)
ufnsui()
{
us(8, "dh", dhm)
}
stop(time)
dhr(dh0, 0, 360, 0, 0, 0, 80)
dh(dh0, "duration", 1000)
ufnsui()
{
us(9, "dh", dh0)
}
stop(time)
dhr(dh1, 0, 360, 0, 0, 0, 80)
dh(dh1, "duration", 1000)
ufnsui()
{
us(10, "dh", dh1)
}
stop(time)
dhr(dh2, 0, 360, 0, 0, 0, 80)
dh(dh2, "duration", 1000)
ufnsui()
{
us(11, "dh", dh2)
}
stop(time)
dhr(dh3, 0, 360, 0, 0, 0, 80)
dh(dh3, "duration", 1000)
ufnsui()
{
us(12, "dh", dh3)
dhon(dh3)
{
t()
{
ufnsui()
{
us(8, "dh", dhm)
}
stop(time)
ufnsui()
{
us(9, "dh", dh0)
}
stop(time)
ufnsui()
{
us(10, "dh", dh1)
}
stop(time)
ufnsui()
{
us(11, "dh", dh2)
}
stop(150)
ufnsui()
{
us(12, "dh", dh3)
}
}
}
}
}
哈哈哈
哈
看看
不错不错,味道好极了看起来好像不错的样子
滴!学生卡!请上车的乘客系好安全带~