Fabricantes

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