function plusReady() {
// 设置系统状态栏背景色
var type = plus.os.name;
if(type == "iOS") {
plus.navigator.setStatusBarBackground("#D92424");
} else {
plus.navigator.setStatusBarBackground("#D92424");
}
}
if(window.plus) {
plusReady();
} else {
document.addEventListener("plusready", plusReady, false);
}
网友评论