Sensor óptico

Sensor óptico


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']"), a = $(this).find("[name='message']"), c = $(this).find("[name='contact[tel]']"), n = !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()) ? n = !0 : (e.preventDefault(), r("Please enter the correct email address!"))), n && a.length) { var s = a.val(); /\S{10,}/g.test(s.replace(/\s/g, "")) ? (a.val(s.replace(t, "")), i = !0) : (e.preventDefault(), r("Please enter your message with more than 10 characters!")) } if (n && i) { var u = window.location.host; if (c.length) { s = c.val().trim(); /^(zh\-cn\.)/.test(u) || /\.risingcn\./.test(u) ? /^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; n && 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-aa3f2f24b52c9a85d0b4fd4566e1636d").length && $(".message-aa3f2f24b52c9a85d0b4fd4566e1636d").val("from: " + window.location.href + ", date: " + (o = new Date, a = `${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()}`, c = Math.random(), a + ", version=" + (c = c.toString().substr(3)))) }))