Commit 5ab0c734 by libai

Merge branch 'master' of git.yabolive.net:libai/footseen-large-website into master

parents 2580adeb de6114ce
Showing with 5 additions and 1 deletions
......@@ -408,6 +408,7 @@
<script>
$(function(){
var browserLang = navigator.language
if(browserLang.indexOf("zh")==-1){
$(".bottom-p-name1").text('Popular')
......@@ -528,7 +529,7 @@ $(function(){
var ua = window.navigator.userAgent.toLowerCase();
if(sessionStorage.oneLogin==1){
if (/iphone|ipad|ipod/.test(ua)) {
if(sessionStorage.type=="pwa")return;
if(sessionStorage.type!="pwa"){
sessionStorage.oneLogin=0
layer.open({
type: 1,
......@@ -543,12 +544,15 @@ $(function(){
}
})
}
}
}
//ios中PWA隱藏約會
if(sessionStorage.type=="pwa"){
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
$(".bottom-nav >div").eq(2).hide()
$(".bottom-nav >div").css("width","33.3%")
$(".bottom-nav p").css("width","3.33rem")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment