$.openWindow = function(url, id, options) {
if (typeof url === 'object') {
options = url;
url = options.url;
id = options.id || url;
} else {
if (typeof id === 'object') {
options = id;
id = url;
} else {
id = id || url;
}
}
if (!$.os.plus) {
//TODO 先临时这么处理:手机上顶层跳,PC上parent跳
***if ($.os.ios || $.os.android) {
window.top.location.href = url;
} else {
window.parent.location.href = url;
}***
return;
}
if (!window.plus) {
return;
}
..................
};

1***@qq.com
- 发布:2017-03-16 17:32
- 更新:2017-03-16 17:32
- 阅读:1062
0 个回复