Authored by zzzzzzz

修改app打开链接

@@ -15,10 +15,10 @@ var qrCheck = { @@ -15,10 +15,10 @@ var qrCheck = {
15 15
16 if (qr) { 16 if (qr) {
17 ifr = document.createElement('iframe'); 17 ifr = document.createElement('iframe');
18 - ifr.src = 'yohobuy:///http://m.yohobuy.com/signin.html?qr=' + qr; 18 + ifr.src = 'yohobuy://http://m.yohobuy.com/signin.html?qr=' + qr;
19 ifr.style.display = 'none'; 19 ifr.style.display = 'none';
20 document.body.appendChild(ifr); 20 document.body.appendChild(ifr);
21 - window.location.href = 'yohobuy:///http://m.yohobuy.com/signin.html?qr=' + qr; 21 + window.location.href = 'yohobuy://http://m.yohobuy.com/signin.html?qr=' + qr;
22 } 22 }
23 } 23 }
24 }; 24 };