...
|
...
|
@@ -13,13 +13,14 @@ var qrCheck = { |
|
|
var // ifr,
|
|
|
u = navigator.userAgent.toLowerCase(),
|
|
|
isiOS = u.indexOf('os') > -1 || u.indexOf('iphone') > -1 || u.indexOf('mac') > -1 || u.indexOf('ipad') > -1,
|
|
|
qr = this.getQuery('qr');
|
|
|
qr = this.getQuery('qr'),
|
|
|
isApp = this.getQuery('app_version');
|
|
|
|
|
|
if (qr && this.getQuery('app_version')) {
|
|
|
if (qr && isApp) {
|
|
|
location.href = '//m.yohobuy.com/passport/update';
|
|
|
}
|
|
|
|
|
|
if (qr) {
|
|
|
if (qr && !isApp) {
|
|
|
if (isiOS) {
|
|
|
window.location = 'yohobuy://http://m.yohobuy.com/signin.html?qr=' + qr;
|
|
|
} else {
|
...
|
...
|
|