document.addEventListener("plusready", function() {
// 注册返回按键事件
plus.key.addEventListener('backbutton', function() {
window.history.go(-1);
// 事件处理
// plus.nativeUI.confirm("退出程序?", function(event) {
// if (event.index) {
// plus.runtime.quit();
// }
// }, null, ["确定","取消"]);
}, false);
});