...
|
...
|
@@ -11,7 +11,8 @@ var qrCheck = { |
|
|
|
|
|
init: function() {
|
|
|
var ifr,
|
|
|
time,
|
|
|
|
|
|
// time,
|
|
|
qr = this.getQuery('qr');
|
|
|
|
|
|
if (qr) {
|
...
|
...
|
@@ -20,13 +21,13 @@ var qrCheck = { |
|
|
ifr.style.display = 'none';
|
|
|
document.body.appendChild(ifr);
|
|
|
|
|
|
time = Date.now();
|
|
|
window.setTimeout(function() {
|
|
|
document.body.removeChild(ifr);
|
|
|
if (Date.now() - time < 2200) {
|
|
|
window.location.href = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho';
|
|
|
}
|
|
|
}, 2000);
|
|
|
// time = Date.now();
|
|
|
// window.setTimeout(function() {
|
|
|
// document.body.removeChild(ifr);
|
|
|
// if (Date.now() - time < 2200) {
|
|
|
// window.location.href = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho';
|
|
|
// }
|
|
|
// }, 2000);
|
|
|
}
|
|
|
}
|
|
|
};
|
...
|
...
|
|