|
api.openFrame({
name: 'home',
url: 'widget://html/home/home_body.html',
rect: {
x: 0,
y: 0,
w: 'auto',
h: api.frameHeight - marginTop - footerHeight
},
bounces: true,
vScrollBarEnabled: false,
hScrollBarEnabled: false,
delay: 200
});
api.setFrameAttr({
name: 'home',
hidden: true
});
直接隐藏无效
|
|