= GetCookie(_likeNum); document.cookie = _likeNum+'='+likeNum+';path=/'; } else { //缓存已赞标识 0 document.cookie = _islike+'=0'+';path=/'; $("#goodBtn").attr("onclick","feelgood(this,"+id+",0)"); $("#goodBtn").removeClass("cur"); } } }); } } var newstitle = '海螺集团位列中国企业500强第151位'; function subReply(obj){ var comment = $("#hcontent").val(); var com = ""; for (var j = 0; j < 60; j++) { comment = comment.replace("[emt" + (j + 1) + "]", ''); } var com_html = ""; $.ajax({ type:"post", dataType:"json", url:"../index/index/addComment?_t=" + timestamp, data:{id:id,newstitle:newstitle,content:comment}, success:function(res){ if (res.status == 200) { alertBox('评论成功') com_html += '
  • '+comment+'

    '+res.addtime+'
  • '; $("#newcomment").before(com_html); $("#hcontent").val(''); var comnum = $("#comnum").html(); var new_comment = $("#new_comment").html(); $("#comnum").html(parseInt(comnum)+1); $("#new_comment").html(parseInt(new_comment )+1); //getCommentNum(id); // location.reload(); }else{ if(res.status == 409){ alertBox(res.msg,'https://i.ccement.com/Member/Shop/Authenticate.aspx','前往认证'); }else{ alertBox(res.msg); } } } }); } function getCommentList(){ $.ajax({ type:"post", dataType:"json", url:"../index/index/ajaxComment?_t=" + timestamp, data:{id:id}, success:function(res){ if (res.status == 200) { /*for (var i = 0; i < res.data.length; i++) { for (var j = 0; j < 60; j++) { res.data[i].Content = res.data[i].Content.replace("[emt" + (j + 1) + "]", ''); } }*/ } var _html=''; for (var i = 0; i < res.data.length; i++) { _html += '
  • '+res.data[i]["Content"]+'

    '+res.data[i]["AddTime"]+'
  • ' } $("#newcomment").html(_html); } }); } function fenye(){ var pw_html=$('.idetaile .content .word .sec').html() var pw_array=pw_html.split("[Page]"); var pw_l=pw_array.length if(pw_l<2){$('.idetaile .content .word .sec').show();return;} $('.pagebox').append(""); for(var i=0;i"+(i+1)+"") }else{ $('.pagebox ul').append("
  • "+(i+1)+"
  • ") } } $('.pagebox ul').append("
  • 下一页
  • "); $('.idetaile .content .word .sec').empty().html(pw_array[0]).show(); curPage=function(){ var index=$('.pagebox li a.cur').text()*1; if(index==1){ $('#prevPage').hide() }else{ $('#prevPage').show() } if(index==pw_l){ $('#nextPage').hide() }else{ $('#nextPage').show() } } pwPage=function(i,obj){ $('.idetaile .content .word .sec').empty().html(pw_array[i]); $(obj).addClass('cur').closest('li').siblings().find('a').removeClass('cur'); curPage() } nextPage=function(){ var index=$('.pagebox li a.cur').text()*1; $('.idetaile .content .word .sec').empty().html(pw_array[index]); $('.pagebox li').eq(index+1).find('a').addClass('cur').closest('li').siblings().find('a').removeClass('cur'); curPage() } prevPage=function(){ var index=$('.pagebox li a.cur').text()*1; $('.idetaile .content .word .sec').empty().html(pw_array[index-2]); $('.pagebox li').eq(index-1).find('a').addClass('cur').closest('li').siblings().find('a').removeClass('cur'); curPage() } curPage() } var curPage=function (){} var pwPage=function (){} var nextPage=function (){} var prevPage=function (){}
    2021-06-07 09:02:43
    亚洲男人天堂.日本一本道高清无码av,最新高清无码专区.中文字幕dvd播放 99热 日本AV,欧美AV,国产AV