按钮点击打开侧滑
2023-01-24 09:16:15 最后更新
//获取侧滑状态
ug(2,"isdraweropen",b)
//2是侧滑的ID
f(b==true)
{
//判断为以打开侧滑,就关闭侧滑
us(2,"closedrawer","start")
}
else
{
//判断为未打开侧滑,就打开侧滑
us(2,"opendrawer","start")
}