//获取侧滑状态
ug(2,"isdraweropen",b)
//2是侧滑的ID
f(b==true)
{
//判断为以打开侧滑,就关闭侧滑
us(2,"closedrawer","start")
}
else
{
//判断为未打开侧滑,就打开侧滑
us(2,"opendrawer","start")
}
//获取侧滑状态
ug(2,"isdraweropen",b)
//2是侧滑的ID
f(b==true)
{
//判断为以打开侧滑,就关闭侧滑
us(2,"closedrawer","start")
}
else
{
//判断为未打开侧滑,就打开侧滑
us(2,"opendrawer","start")
}