Authored by linlong

update

... ... @@ -141,6 +141,7 @@
window.cookie = cookie;
var url = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.home","params":{"gender":"1","channel":"2"}}';
var u = navigator.userAgent.toLowerCase();
var isiOS = u.indexOf('os') > -1 || u.indexOf('iphone') > -1 || u.indexOf('mac') > -1 || u.indexOf('ipad') > -1;
var isWechat = /micromessenger/i.test(navigator.userAgent || '');
... ... @@ -152,6 +153,10 @@
params = queryString();
if(params.union_type){
url = 'yohobuy://yohobuy.com/goapp?ct='+params.union_type+'&openby:yohobuy={"action":"go.home","params":{"gender":"1","channel":"2"}}';
}
if (isiOS) {
var regStr_saf = /os [\d._]*/gi;
var verinfo = u.match(regStr_saf);
... ...