iApp-v3 滑动控件滑动事件

s(st_pS/4,w1)
swh("pxw",w)
s(w/4,w)

f(st_pN==0)
{
  us(13,"layout_marginleft",w1)
}
else f(st_pN==1)
{
  s(w+w1,w1)
  us(13,"layout_marginleft",w1)
}
else f(st_pN==2)
{
  s(w*2+w1,w1)
  us(13,"layout_marginleft",w1)
}
else f(st_pN==3)
{
  s(w*3+w1,w1)
  us(13,"layout_marginleft",w1)
}

注: 13为滑动条id

你可能感兴趣的:(iApp-v3 滑动控件滑动事件)