Commit 42f037bf by libai

测试

parent b6e89b8c
Showing with 7 additions and 4 deletions
...@@ -381,13 +381,16 @@ $(function(){ ...@@ -381,13 +381,16 @@ $(function(){
$(".layer-tag-box").css("top","-12rem") $(".layer-tag-box").css("top","-12rem")
$(".layer-shadow").hide() $(".layer-shadow").hide()
}) })
$(".bottom-nav-btn").on("click",function(){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
try {
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
if(sessionStorage.type=='pwa'){ if(sessionStorage.type=='pwa'){
$(".bottom-nav").hide() $(".bottom-nav").hide()
}else{ }
}
$(".bottom-nav-btn").on("click",function(){
var ua = window.navigator.userAgent.toLowerCase();
try {
if (/iphone|ipad|ipod/.test(ua)) {
layer.open({ layer.open({
type: 1, type: 1,
title: false, title: false,
...@@ -400,7 +403,7 @@ $(function(){ ...@@ -400,7 +403,7 @@ $(function(){
layer.closeAll() layer.closeAll()
} }
}) })
}
} else{ } else{
var downNum=Math.ceil(Math.random()*3) var downNum=Math.ceil(Math.random()*3)
window.location.href='download/download.html?qd=ftsBH5SY' window.location.href='download/download.html?qd=ftsBH5SY'
......
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