$(function(){ dataAnimate(); (function($,lanno){ if(lanno === "" || lanno === "default"){ return ''; } $(".w-languege").each(function(){ $(this).find("a").each(function(){ if($(this).data("lanno") === lanno){ $(this).addClass("cur"); }else{ if($(this).hasClass("cur")){ $(this).removeClass("cur"); } } }); }); })(jQuery,"cn"); });

在线留言

var input37427 = {"id":"37427","box_id":"20253","name":"\u59d3\u540d","rules":{"required":{"message":"\u59d3\u540d\u4e0d\u80fd\u4e3a\u7a7a"},"length":{"min":0,"max":250,"message":"\u59d3\u540d\u957f\u5ea6\u5728250\u4e2a\u5b57\u7b26\u8303\u56f4\u5185"}}}; $(function () { (function ($, textwidth) { textwidth = parseFloat(textwidth); if (textwidth === 0) { return; } textwidth = textwidth + 0.1; $("#input_98263fe20f04fb62d01238c4851b13c7 .w-label-form").css({"width": textwidth + "em"}); $("#input_98263fe20f04fb62d01238c4851b13c7 .w-form-fr").css({"margin-left": (parseFloat(textwidth) + 0.5) + "em"}); })(jQuery, "0"); });
var phoneinput37428 = {"id":"37428","box_id":"20253","name":"\u7535\u8bdd\u53f7\u7801","rules":{"required":{"message":"\u7535\u8bdd\u53f7\u7801\u4e0d\u80fd\u4e3a\u7a7a"},"length":{"min":0,"max":250,"message":"\u7535\u8bdd\u53f7\u7801\u957f\u5ea6\u5728250\u4e2a\u5b57\u7b26\u8303\u56f4\u5185"},"phone":{"message":"\u7535\u8bdd\u53f7\u7801\u53ea\u5141\u8bb8\u8f93\u5165\uff08\u6570\u5b57\u3001\u9017\u53f7\u3001\u5206\u53f7\u3001\u201c-\u201d\u3001\u201c+\u201d\uff09"}}}; $(function () { (function ($, textwidth) { textwidth = parseFloat(textwidth); if (textwidth === 0) { return; } textwidth = textwidth + 0.1; $("#input_0b442444dae58ab3eb7cd4cac034a689 .w-label-form").css({"width": textwidth + "em"}); $("#input_0b442444dae58ab3eb7cd4cac034a689 .w-form-fr").css({"margin-left": (parseFloat(textwidth) + 0.5) + "em"}); })(jQuery, "0"); });
var textarea37430 = {"id":"37430","box_id":"20253","name":"\u7559\u8a00\u5185\u5bb9","rules":{"required":{"message":"\u7559\u8a00\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a"},"length":{"min":0,"max":250,"message":"\u7559\u8a00\u5185\u5bb9\u957f\u5ea6\u5728250\u4e2a\u5b57\u7b26\u8303\u56f4\u5185"}}}; $(function () { $("#tag7615c0c0199ffa2030a7a29a6941839f").focus(function () { var _this = $(this); _this.keyup(function () { _this.next("input:hidden").val(_this.val()); }); }); (function ($, textwidth) { textwidth = parseFloat(textwidth); if (textwidth === 0) { return; } textwidth = textwidth + 0.1; $("#map-textarea-7615c0c0199ffa2030a7a29a6941839f .w-label-form").css({"width": textwidth + "em"}); $("#map-textarea-7615c0c0199ffa2030a7a29a6941839f .w-form-fr").css({"margin-left": (parseFloat(textwidth) + 0.5) + "em"}); })(jQuery, "0"); });
function submit37b0daa0be8c9a8fe292af0634cf23b3(elements) { if (document.getElementById('gourl_37b0daa0be8c9a8fe292af0634cf23b3')) { document.getElementById('gourl_37b0daa0be8c9a8fe292af0634cf23b3').value = window.location.href; } elements.submit(); } function ey_fleshVerify_1712201584(id) { var token = id.replace(/verify_/g, '__token__'); var src = "/index.php?m=api&c=Ajax&a=vertify&type=guestbook&lang=cn&token="+token; src += "&r="+ Math.floor(Math.random()*100); document.getElementById(id).src = src; } function f0244d978bc31407d3ded05cb71735d1b() { var ajax = new XMLHttpRequest(); ajax.open("post", "/index.php?m=api&c=Ajax&a=get_token&name=__token__37b0daa0be8c9a8fe292af0634cf23b3", true); ajax.setRequestHeader("X-Requested-With","XMLHttpRequest"); ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded"); ajax.send('_ajax=1'); ajax.onreadystatechange = function () { if (ajax.readyState==4 && ajax.status==200) { document.getElementById("37b0daa0be8c9a8fe292af0634cf23b3").value = ajax.responseText; document.getElementById("gourl_37b0daa0be8c9a8fe292af0634cf23b3").value = window.location.href;  } } } f0244d978bc31407d3ded05cb71735d1b(); function getNext1598839807(id,name,level) { var input = document.getElementById('attr_'+name); var first = document.getElementById('first_id_'+name); var second = document.getElementById('second_id_'+name); var third = document.getElementById('third_id_'+name); var findex ='', fvalue = '',sindex = '',svalue = '',tindex = '',tvalue = '',value=''; if (level == 1){ if (second) { second.style.display = 'none'; second.innerHTML = ''; } if (third) { third.style.display = 'none'; third.innerHTML = ''; } findex = first.selectedIndex; fvalue = first.options[findex].value; input.value = fvalue; value = fvalue; } else if (level == 2){ if (third) { third.style.display = 'none'; third.innerHTML = ''; } findex = first.selectedIndex; fvalue = first.options[findex].value; sindex = second.selectedIndex; svalue = second.options[sindex].value; if (svalue) { input.value = fvalue+','+svalue; value = svalue; }else{ input.value = fvalue; } } else if (level == 3){ findex = first.selectedIndex; fvalue = first.options[findex].value; sindex = second.selectedIndex; svalue = second.options[sindex].value; tindex = third.selectedIndex; tvalue = third.options[tindex].value; if (tvalue) { input.value = fvalue+','+svalue+','+tvalue; value = tvalue; }else{ input.value = fvalue+','+svalue; } } if (value) { if(document.getElementById(id)) { document.getElementById(id).options.add(new Option('请选择','')); var ajax = new XMLHttpRequest(); //步骤二:设置请求的url参数,参数一是请求的类型,参数二是请求的url,可以带参数,动态的传递参数starName到服务端 ajax.open("post", "/index.php?m=api&c=Ajax&a=get_region&pid="+value, true); // 给头部添加ajax信息 ajax.setRequestHeader("X-Requested-With","XMLHttpRequest"); // 如果需要像 HTML 表单那样 POST 数据,请使用 setRequestHeader() 来添加 HTTP 头。然后在 send() 方法中规定您希望发送的数据: ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded"); //步骤三:发送请求+数据 ajax.send('_ajax=1'); //步骤四:注册事件 onreadystatechange 状态改变就会调用 ajax.onreadystatechange = function () { //步骤五 如果能够进到这个判断 说明 数据 完美的回来了,并且请求的页面是存在的 if (ajax.readyState==4 && ajax.status==200) { var data = JSON.parse(ajax.responseText).data; if (data) { data.forEach(function(item) { document.getElementById(id).options.add(new Option(item.name,item.id)); document.getElementById(id).style.display = "block"; }); }  } } } } }
if (!window.jQuery) { document.write(unescape("%3Cscript src='/public/static/common/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript'%3E try{jQuery.noConflict();}catch(e){} %3C/script%3E")); } if (window.jQuery) { (function($){ default_switch(); //简体繁体互换 function default_switch() { var home_lang = getCookie('home_lang'); if (home_lang == '') { home_lang = 'cn'; } if ($.inArray(home_lang, ['zh','cn'])) { var obj = $('#jquerys2t_1573822909'); var isSimplified = getCookie('jquerys2t_1573822909'); if ('cn' == isSimplified) { $('body').t2s(); $(obj).text('繁體'); } else if ('zh' == isSimplified) { $('body').s2t(); $(obj).text('简体'); } } } //简体繁体互换 $('#jquerys2t_1573822909').click(function(){ var obj = this; var isSimplified = getCookie('jquerys2t_1573822909'); if ('' == isSimplified || 'cn' == isSimplified) { $('body').s2t(); // 简体转繁体 setCookie('jquerys2t_1573822909', 'zh'); $(obj).text('简体'); } else { $('body').t2s(); // 繁体转简体 setCookie('jquerys2t_1573822909', 'cn'); $(obj).text('繁體'); } }); })(jQuery); }