Commit cce69f22 by libai

测试

parent 9e3be9c5
Showing with 9 additions and 0 deletions
......@@ -1318,6 +1318,15 @@ $(function(){
$(".guard-layer").css("bottom","-11.6rem")
$(".gift-layer").css("bottom","-7.8rem")
$(".ticker-buy-box").css("bottom","-10rem")
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
$(".user-msg-box").scrollTop(0)
$(".new-msg").hide()
}
else if (/android/.test(ua)) {
$(".user-msg-box").scrollTop(Math.abs($(".user-msg-box").height()-$(".user-msg-big").height()))
$(".new-msg").hide()
}
}
$(".hot-close").on("click",function(){
$(".layer-shadow").hide()
......
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