Regulación de energía

Regulación de energía


Recomendar productos

Recibe las últimas noticias
"), $("form").submit((function(e) { let t = /[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi; var o = $(this).find("[name='email']"), d = $(this).find("[name='message']"), n = $(this).find("[name='contact[tel]']"), a = !1, i = !1; function r(e) { $(".error-msg").html(e), $(".error-msg").stop().fadeIn(100), setTimeout(() => { $(".error-msg").stop().fadeOut(1e3) }, 3e3) } if (o.length && (/[-\w\.]+@[-\w\.]+(\.[-\w]+)+/.test(o.val()) ? a = !0 : (e.preventDefault(), r("Please enter the correct email address!"))), a && d.length) { var s = d.val(); /\S{10,}/g.test(s.replace(/\s/g, "")) ? (d.val(s.replace(t, "")), i = !0) : (e.preventDefault(), r("Please enter your message with more than 10 characters!")) } if (a && i) { var c = window.location.host; if (n.length) { s = n.val().trim(); /^(zh\-cn\.)/.test(c) || /\.risingcn\./.test(c) ? /^1[3456789]\d{9}$/.test(s) || (e.preventDefault(), r("请输入正确的手机号码!")) : s.length } } if ("homeForm" == e.currentTarget.id) { e.preventDefault(); let t = !1, o = window.location.protocol; document.location.hostname, document.location.pathname; a && i && (t = !0), t && $.post(o + "//inquiry.digoodcms.com/api/save/wu68999", $(this).serialize(), (function(e, t) { e.indexOf("Inquiry Send Success") >= 0 && ($("#homeForm").hide(), $(".submit-success").show()) })) } })), $(".message-2e3147f7a5bb80c92fb616c50774ddae").length && $(".message-2e3147f7a5bb80c92fb616c50774ddae").val("from: " + window.location.href + ", date: " + (o = new Date, d = `${o.getFullYear()}/${o.getMonth()+1>9?o.getMonth()+1:"0"+(o.getMonth()+1)}/${o.getDate()>9?o.getDate():"0"+o.getDate()} ${o.getHours()>9?o.getHours():"0"+o.getHours()}:${o.getMinutes()>9?o.getMinutes():"0"+o.getMinutes()}:${o.getSeconds()>9?o.getSeconds():"0"+o.getSeconds()}`, n = Math.random(), d + ", version=" + (n = n.toString().substr(3)))) }))