function plusReady() {
console.log(3);
}
if (window.plus) {
console.log(2);
plusReady();
} else {
console.log(1);
document.addEventListener("plusready", plusReady, false);
}
3能打印出来,为什么1和2都打印不出来???????
a***@qq.com
mui.plusReady(function() {
mui('.mui-content-padded').on('tap', ".openurl", function() {
window.location.href = Zepto(this).attr("href");
})
2016-09-23 12:49