Commit 5ab0c734 by libai

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

parents 2580adeb de6114ce
Showing with 19 additions and 15 deletions
...@@ -408,6 +408,7 @@ ...@@ -408,6 +408,7 @@
<script> <script>
$(function(){ $(function(){
var browserLang = navigator.language var browserLang = navigator.language
if(browserLang.indexOf("zh")==-1){ if(browserLang.indexOf("zh")==-1){
$(".bottom-p-name1").text('Popular') $(".bottom-p-name1").text('Popular')
...@@ -528,27 +529,30 @@ $(function(){ ...@@ -528,27 +529,30 @@ $(function(){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if(sessionStorage.oneLogin==1){ if(sessionStorage.oneLogin==1){
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
if(sessionStorage.type=="pwa")return; if(sessionStorage.type!="pwa"){
sessionStorage.oneLogin=0 sessionStorage.oneLogin=0
layer.open({ layer.open({
type: 1, type: 1,
title: false, title: false,
shadeClose: true, shadeClose: true,
skin: "yourclass5", skin: "yourclass5",
area: ["7.3rem", "12.24rem"], area: ["7.3rem", "12.24rem"],
content: $(".layer-ios"), content: $(".layer-ios"),
end: function () { end: function () {
$(".layui-layer-shade").hide() $(".layui-layer-shade").hide()
layer.closeAll() layer.closeAll()
} }
}) })
}
} }
} }
//ios中PWA隱藏約會 //ios中PWA隱藏約會
if(sessionStorage.type=="pwa"){ if(sessionStorage.type=="pwa"){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
$(".bottom-nav >div").eq(2).hide() $(".bottom-nav >div").eq(2).hide()
$(".bottom-nav >div").css("width","33.3%") $(".bottom-nav >div").css("width","33.3%")
$(".bottom-nav p").css("width","3.33rem") $(".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