安詩曼工業(yè)除濕機(jī)廠家專業(yè)生產(chǎn)工業(yè)除濕機(jī),家用除濕機(jī),商用除濕機(jī)等產(chǎn)品,歡迎來電咨詢定制。 公司簡介 | 研發(fā)團(tuán)隊(duì) | 網(wǎng)站地圖 | xml地圖
安詩曼-精芯除濕·致凈生活環(huán)境溫度濕度系統(tǒng)化解決方案供應(yīng)商
全國咨詢熱線:133-6050-3273
您的位置:新聞資訊 > 行業(yè)動(dòng)態(tài) > 請教PTC制冷片DIY除濕機(jī)

請教PTC制冷片DIY除濕機(jī)

作者:CEO 時(shí)間:2023-07-04

信息摘要:)vartext=html.replace(SCRIPT_REGEX,"");//正則替換為空vararr=text.split('@');if(arr[0]=='推薦成功'){//推薦成功提示varnum=parseInt($("#recommendcoun

請教PTC制冷片DIY除濕機(jī)

請教PTC制冷片DIY除濕機(jī)

  )<[^<]*)*/gi;

  vartext=html.replace(SCRIPT_REGEX,"");//正則替換為空

  vararr=text.split('@');

  if(arr[0]=='推薦成功'){

  //推薦成功提示

  varnum=parseInt($("#recommendcount").text());

  $("#return_qcrecommend_").text(arr[0]);

  //推薦數(shù)加1

  $("#recommendcount").text(num+1);

  //推薦人顯示

  if($("#recommendcount").text()==''){

  $("#recommendtag").html("推薦人");

  $("#recommendbody").html(arr[1]);

  }else{

  $("#recommendbody").append(arr[1]);

  }

  }

  });

  //渲染分享代碼

  $("#shareblog").html('');

  /*jquery寫法

  varcomment_cid=_window.location.hash;

  varcommentcid=comment_cid.slice(1);

  if(commentcid){

  jQuery("#"+commentcid).parent().animate({height:'toggle',opacity:'toggle'},"fast");

  jQuery("#"+commentcid).parent().prev().hide();

  }

  */

  //_window.onload=function(){//js寫法

  //找到錨點(diǎn)

  varcomment_cid=_window.location.hash.toString();

  varcommentcid=comment_cid.slice(1).toString();

  vartheNode=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);

  returnfalse;

  }

  //獲取第一個(gè)子節(jié)點(diǎn)

  varfirst=theNode.children[0];

  first.style.backgroundColor="#E6E6B8";

  //獲取父節(jié)點(diǎn)元素

  varprent=theNode[xss_clean];

  prent.style.display='block';

  //前一個(gè)元素節(jié)點(diǎn)

  varpre=prent.previousElementSibling;

  pre.style.display='none';

  }

  //}

  });

聲明:本站部分內(nèi)容和圖片來源于互聯(lián)網(wǎng),經(jīng)本站整理和編輯,版權(quán)歸原作者所有,本站轉(zhuǎn)載出于傳遞更多信息、交流和學(xué)習(xí)之目的,不做商用不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。若有來源標(biāo)注存在錯(cuò)誤或侵犯到您的權(quán)益,煩請告知網(wǎng)站管理員,將于第一時(shí)間整改處理。管理員郵箱:y569#qq.com(#改@)
在線客服
聯(lián)系方式

熱線電話

133-6050-3273

上班時(shí)間

周一到周六

公司電話

133-6050-3273

二維碼