https://muut.com/framework7-cn#!/?%E8%BF%94%E5%9B%9E%E4%B8%8A%E4%B8%80%E9%A1%B5
onDeviceReady: function() {
document.addEventListener("backbutton", function(e) {
var currentView = myApp.getCurrentView();
if(currentView.history.length>1) {
currentView.router.back({});//返回上一级
}else{
navigator.app.exitApp();//首页点返回键退出
}
}, false);
app.receivedEvent('deviceready');
}