function CheckLogin(){ var taget_obj = document.getElementById('_userlogin'); myajax = new DedeAjax(taget_obj,false,false,'','',''); myajax.SendGet2("/u/toplogin.php"); DedeXHTTP = null; } $(window).ready(function(){ doGetDays(); }); function doGetDays(){ $.get("/u/sign.php?do=getDay",{},function(data){ $("#days").html(data); }); } function doSign(){ $.get("/u/sign.php?do=sign",{},function(data){ if(data==1){ alert("签到成功!"); window.location.href='/'; }else if(data==2){ alert("今天已经签到了,请明天再接再厉!"); } else if(data==3){ alert("请先登录或注册!"); } }); } $(document).ready(function(){ $(".isign:last,#opsign").hover(function() { $("#opsign").show(); }, function() { $("#opsign").hide(); }); }); window.onload = window.onscroll = window.onresize = function(){ navbox = $("#navbox"); navbar = $("#navbar"); var _ot = navbox[0].getBoundingClientRect().top; if(_ot <= 0){ navbar.addClass('fixTop'); }else{ navbar.removeClass('fixTop'); } listrec = $("#list-rec"); breadcrumb = $(".breadcrumb-container"); var _ot = listrec[0].getBoundingClientRect().top; if(_ot <= 0){ breadcrumb.addClass('fixTop'); breadcrumb.css("top","45px"); breadcrumb.find(".page_pages").css("display","block"); }else{ breadcrumb.removeClass('fixTop'); breadcrumb.css("top","0px"); breadcrumb.find(".page_pages").css("display","none"); } }
Hi,欢迎光临:搭配呀!
搭配呀公众号

正在流行 流行元素权威榜单

品牌推荐 Brand

穿衣打扮 clothe

搭配推荐 Collocation

单品百搭 sample