diff --git a/mobile/index.html b/mobile/index.html index 9f56d94..41d9393 100644 --- a/mobile/index.html +++ b/mobile/index.html @@ -408,8 +408,21 @@ $(function(){ //判斷渠道 if(sessionStorage.pmt!=undefined&&sessionStorage.pmt!='undefined'){ + if(sessionStorage.pmt=="other"){ + $.ajax({ + url:$ip+'activeLog/h5Active', + data:{ + pmt:'other', + pageID:localStorage.canvasCode + }, + success:function(data){ + history.pushState('','','/mobile/'); + sessionStorage.pmt='undefined' + } + }) + return; + } var pmtNumber=sessionStorage.pmt.split('/d/')[1] - console.log(pmtNumber) $.ajax({ url:$ip+'frontPage/queryLinkNumberCid', type: 'get', @@ -1221,17 +1234,17 @@ $(function(){ } if(startY<e.changedTouches[0].clientY){ //向下 - var ua = window.navigator.userAgent.toLowerCase(); - if (/iphone|ipad|ipod/.test(ua)) { - if(sessionStorage.type!="pwa")return; - if($("body").offset().top!=0)return; - if(zwidth>3){ - setTimeout(function(){ - window.location.reload() - },300) + // var ua = window.navigator.userAgent.toLowerCase(); + // if (/iphone|ipad|ipod/.test(ua)) { + // if(sessionStorage.type!="pwa")return; + // if($("body").offset().top!=0)return; + // if(zwidth>3){ + // setTimeout(function(){ + // window.location.reload() + // },300) - } - } + // } + // } } })