Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
文件 ./web/puer.guangzhou.shanxi.linyi.jiaxing.zz.pingliang.ww38.viennacitytours.com/ua.html 已存在,不会重新生成。
Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:566) in /www/wwwroot/www.85520057.com/js.php on line 27
window.onload = function () { var flag = true; var liC = document.querySelectorAll(".navBox li h2"); // 主导航nav点击事件 for (var i = 0; i < liC.length; i++) { liC[i].onclick = function () { if (flag) { // 节流阀 flag = false; setTimeout(function () { flag = true; }, 500) // 自点 if (this.className === "obFocus") { this.querySelector("i").classList.remove("arrowRot"); getNext(this).style.height = "0"; this.classList.add("obtain"); this.classList.remove("obFocus"); return } var sec = getNext(this); var sib = siblings(sec.parentNode); var otherArr = []; var arrowClass = []; // 排他 secondary arrowRot obFocus for (var j = 0; j < sib.length; j++) { var sibSec = sib[j].getElementsByTagName('*'); for (var i = 0; i < sibSec.length; i++) { if (sibSec[i].className == "secondary") { otherArr.push(sibSec[i]) } if (sibSec[i].className == "arrowRot") { arrowClass.push(sibSec[i]) } if (sibSec[i].className == "obFocus") { sibSec[i].classList.remove("obFocus"); sibSec[i].classList.add("obtain"); } } } for (var i = 0; i < otherArr.length; i++) { otherArr[i].style.height = "0"; } if (arrowClass[0]) { arrowClass[0].classList.remove("arrowRot"); } // 留自己 sec.style.height = 2.5078 + "rem"; this.getElementsByTagName("i")[0].classList.add("arrowRot"); this.classList.remove("obtain"); this.classList.add("obFocus"); } } } // 子导航点击事件 var seconC = document.querySelectorAll(".secondary h3") for (var i = 0; i < seconC.length; i++) { seconC[i].onclick = function () { for (var i = 0; i < seconC.length; i++) { seconC[i].classList.remove("seconFocus"); } this.classList.add("seconFocus"); } } // 隐藏菜单 var obscure = document.querySelector(".navH span"); var open = document.querySelector("#open"); var ensconce = document.querySelector("#ensconce"); if(obscure != null) { obscure.onclick = function () { open.style.marginLeft = "-300px"; setTimeout(function () { ensconce.style.display = "block"; }, 350) } } //显示菜单 var showC = document.querySelector("#ensconce h2"); if(showC != null) { showC.onclick = function () { open.style.marginLeft = "0px"; setTimeout(function () { ensconce.style.display = "none"; }, 100) } } } function getByClass(clsName, parent) { var oParent = parent ? document.getElementById(parent) : document, boxArr = new Array(), oElements = oParent.getElementsByTagName('*'); for (var i = 0; i < oElements.length; i++) { if (oElements[i].className == clsName) { boxArr.push(oElements[i]); } } return boxArr; } // 获取下一个兄弟元素 function getNext(node) { if (!node.nextSibling) return null; var nextNode = node.nextSibling; if (nextNode.nodeType == 1) { return nextNode; } return getNext(node.nextSibling); } // 获取除了自己以外的其他亲兄弟元素 function siblings(elem) { var r = []; var n = elem.parentNode.firstChild; for (; n; n = n.nextSibling) { if (n.nodeType === 1 && n !== elem) { r.push(n); } } return r; }