APP推广合作
联系“鸟哥笔记小乔”
#短视频运营#
互联网盈利模式有哪些
好问题
互联网人力外包公司盈利模式??互联网的盈利模式有哪些??
报个料
提问日期:2023-04-13 | 浏览次数:1707
关注问题
举报
查看全部6条回答
3人赞同了该回答
  )/gi;   var text = html.replace(SCRIPT_REGEX, ""); //正则替换为空   var arr = text.split('@');   if(arr[0] == '推荐成功') {   //推荐成功提示   var num = parseInt($("#recommendcount").text());   $("#return_qcrecommend_383047").text(arr[0]);   //推荐数加1   $("#recommendcount").text(num+1);   //推荐人显示   if($("#recommendcount").text()=='') {   $("#recommendtag").html("推荐人");   $("#recommendbody").html(arr[1]);   } else {   $("#recommendbody").append(arr[1]);   }   }   });   //渲染分享代码   $("#shareblog").html('');   /* jquery写法   var comment_cid = window.location.hash;   var commentcid = comment_cid.slice(1);   if(commentcid) {   jQuery("#"+commentcid).parent().animate({height: 'toggle', opacity: 'toggle'}, "fast");   jQuery("#"+commentcid).parent().prev().hide();   }   */   //window.onload = function(){ //js写法   //找到锚点   var comment_cid = window.location.hash.toString();   var commentcid = comment_cid.slice(1).toString();   var theNode = document.getElementById(commentcid);   if(theNode.hasChildNodes()) {   if(theNode.childNodes.length==1) {   //alert(theNode.firstChild.nodeType);   theNode.style.backgroundColor = "#E6E6B8";   theNode.previousElementSibling.style.marginBottom = "0px";   theNode.previousElementSibling.style.backgroundColor = "#E6E6B8";   theNode.previousElementSibling.previousElementSibling.style.backgroundColor = "#E6E6B8";   window.scrollTo(0, theNode.offsetTop+100);   return false;   }   //获取第一个子节点   var first=theNode.children[0];   first.style.backgroundColor = "#E6E6B8";   //获取父节点元素   var prent = theNode.parentNode;   prent.style.display = 'block';   //前一个元素节点   var pre = prent.previousElementSibling;   pre.style.display = 'none';   }   //}   });
发布于2023-07-18
3
0条评论
2收藏
更多回答
展开
3
0条评论
3收藏
展开
3
0条评论
0收藏
展开
2
0条评论
1收藏
展开
3
0条评论
1收藏
展开
1
0条评论
3收藏
查看全部6条回答