!function(e){var t={};function n(r){var o;return(t[r]||(o=t[r]={i:r,l:!1,exports:{}},e[r].call(o.exports,o,o.exports,n),o.l=!0,o)).exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";var r=n(3),o=(n=n(11),Object.prototype.toString);function i(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function a(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if(i(e="object"!=typeof e?[e]:e))for(var n=0,r=e.length;n
!function(e){var t={};function n(r){var o;return(t[r]||(o=t[r]={i:r,l:!1,exports:{}},e[r].call(o.exports,o,o.exports,n),o.l=!0,o)).exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t,n){"use strict";var r=n(3),o=(n=n(11),Object.prototype.toString);function i(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function a(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if(i(e="object"!=typeof e?[e]:e))for(var n=0,r=e.length;n
var originProductInfo = '';
var originProductInfo = {"showproduct":1,"pid":"51023976","name":"\u0642\u0634\u0631\u0629 \u0623\u0633\u0646\u0627\u0646 \u0645\u0631\u064a\u062d\u0629 \u0631\u0628\u0637 \u0642\u0648\u064a \u0645\u0639 \u0645\u0644\u0645\u0639 \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0644\u0636\u0645\u0627\u0646 \u0627\u0644\u0648\u0635\u0648\u0644 \u0627\u0644\u0622\u0645\u0646 \u062e\u0641\u064a\u0641\u0629 \u0627\u0644\u0648\u0632\u0646 \u0648\u0633\u0644\u0633\u0629 \u0644\u062a\u062d\u0642\u064a\u0642 \u0631\u0627\u062d\u0629 \u0627\u0644\u0645\u0631\u064a\u0636 \u0627\u0644\u0645\u062b\u0644\u0649","source_url":"\/sale-51023976-.html","picurl":"\/photo\/pd199229570-comfortable_dental_veneers_strong_bond_with_tooth_enamel_for_secure_fit_lightweight_and_smooth_for_optimal_patient_comfort.jpg","propertyDetail":[["\u0631\u0627\u062d\u0629","\u062e\u0641\u064a\u0641 \u0627\u0644\u0648\u0632\u0646 \u0648\u0646\u0627\u0639\u0645 \u0644\u062a\u0648\u0641\u064a\u0631 \u0627\u0644\u0631\u0627\u062d\u0629 \u0627\u0644\u0645\u062b\u0644\u0649 \u0644\u0644\u0645\u0631\u064a\u0636"],["\u0645\u0642\u0627\u0648\u0645\u0629 \u0627\u0644\u0628\u0642\u0639","\u064a\u062d\u0627\u0641\u0638 \u0639\u0644\u0649 \u0627\u0644\u0633\u0637\u0648\u0639\u060c \u0648\u0645\u0642\u0627\u0648\u0645 \u0644\u062a\u063a\u064a\u0631 \u0627\u0644\u0644\u0648\u0646"],["\u0627\u0644\u0645\u062f\u0649 \u0627\u0644\u0637\u0648\u064a\u0644","\u064a\u062f\u0648\u0645 \u0637\u0648\u064a\u0644\u0627\u064b \u0648\u0645\u0642\u0627\u0648\u0645 \u0644\u0644\u0627\u0631\u062a\u062f\u0627\u0621"],["\u0627\u0644\u062a\u0648\u0627\u0641\u0642 \u0627\u0644\u062d\u064a\u0648\u064a","\u0622\u0645\u0646 \u0648\u0644\u0637\u064a\u0641 \u0639\u0644\u0649 \u0645\u0646\u0627\u062f\u064a\u0644 \u0627\u0644\u0641\u0645"]],"company_name":null,"picurl_c":"\/photo\/pc199229570-comfortable_dental_veneers_strong_bond_with_tooth_enamel_for_secure_fit_lightweight_and_smooth_for_optimal_patient_comfort.jpg","price":"Market fit","username":"Joydentalab","viewTime":"\ufee2\ufeb7\ufe8d\ufeae\ufedb\ufe93 \ufe8e\ufedf\ufeaa\ufea7\ufeee\ufedf : 2 \ufeb1\ufe8e\ufecb\ufe8e\ufe97 21 \u062f\u0642\u064a\u0642\u0629 \ufee2\ufee7\ufeab","subject":"\u0627\u0644\u0631\u062c\u0627\u0621 \u0627\u0631\u0633\u0627\u0644 \u0644\u064a \u0639\u0644\u0649 \u0633\u0639\u0631 \u0641\u0648\u0628 \u0642\u0634\u0631\u0629 \u0623\u0633\u0646\u0627\u0646 \u0645\u0631\u064a\u062d\u0629 \u0631\u0628\u0637 \u0642\u0648\u064a \u0645\u0639 \u0645\u0644\u0645\u0639 \u0627\u0644\u0623\u0633\u0646\u0627\u0646 \u0644\u0636\u0645\u0627\u0646 \u0627\u0644\u0648\u0635\u0648\u0644 \u0627\u0644\u0622\u0645\u0646 \u062e\u0641\u064a\u0641\u0629 \u0627\u0644\u0648\u0632\u0646 \u0648\u0633\u0644\u0633\u0629 \u0644\u062a\u062d\u0642\u064a\u0642 \u0631\u0627\u062d\u0629 \u0627\u0644\u0645\u0631\u064a\u0636 \u0627\u0644\u0645\u062b\u0644\u0649","countrycode":"US"};
var save_url = "/contactsave.html";
var update_url = "/updateinquiry.html";
var productInfo = {};
var defaulProductInfo = {};
var myDate = new Date();
var curDate = myDate.getFullYear()+'-'+(parseInt(myDate.getMonth())+1)+'-'+myDate.getDate();
var message = '';
var default_pop = 1;
var leaveMessageDialog = document.getElementsByClassName('leave-message-dialog')[0]; // 获取弹层
var _$$ = function (dom) {
return document.querySelectorAll(dom);
};
resInfo = originProductInfo;
defaulProductInfo.pid = resInfo['pid'];
defaulProductInfo.productName = resInfo['name'];
defaulProductInfo.productInfo = resInfo['propertyDetail'];
defaulProductInfo.productImg = resInfo['picurl_c'];
defaulProductInfo.subject = resInfo['subject'];
defaulProductInfo.productImgAlt = resInfo['name'];
var inquirypopup_tmp = 1;
var message = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(resInfo['name'])+", هل يمكن أن ترسل لي المزيد من التفاصيل مثل النوع والحجم وموك والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message_1 = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(resInfo['name'])+", هل يمكن أن ترسل لي المزيد من التفاصيل مثل النوع والحجم وموك والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message_2 = 'مرحبا،'+'\r\n'+"أنا أبحث عن"+' '+trim(resInfo['name'])+", الرجاء ارسال لي السعر والمواصفات والصورة."+'\r\n'+"سيكون ردك السريع محل تقدير كبير."+'\r\n'+"لا تتردد بالاتصال بي لمزيد من معلومات."+'\r\n'+"شكرا جزيلا.";
var message_3 = 'مرحبا،'+'\r\n'+trim(resInfo['name'])+' '+"يلبي توقعاتي."+'\r\n'+"من فضلك أعطني أفضل الأسعار وبعض معلومات المنتج الأخرى."+'\r\n'+"لا تتردد في الاتصال بي عبر بريدي."+'\r\n'+"شكرا جزيلا.";
var message_4 = ''+'\r\n'+"ما هو سعر FOB الخاص بك"+' '+trim(resInfo['name'])+'?'+'\r\n'+"ما هو أقرب اسم منفذ؟"+'\r\n'+"الرجاء الرد علي في أقرب وقت ممكن ، سيكون من الأفضل مشاركة المزيد من المعلومات."+'\r\n'+"مع تحياتي!";
var message_5 = 'مرحبا،'+'\r\n'+"أنا مهتم جدا بك"+' '+trim(resInfo['name'])+'.'+'\r\n'+"الرجاء ارسال لي تفاصيل المنتج الخاص بك."+'\r\n'+"نتطلع إلى ردك السريع."+'\r\n'+"لا تتردد في الاتصال بي عن طريق البريد."+'\r\n'+"مع تحياتي!";
var message_6 = ''+'\r\n'+"يرجى تزويدنا بمعلومات عنك"+' '+trim(resInfo['name'])+", مثل النوع والحجم والمادة وبالطبع أفضل سعر."+'\r\n'+"نتطلع إلى ردك السريع."+'\r\n'+"شكرا!";
var message_7 = ''+'\r\n'+"هل يمكنك العرض"+' '+trim(resInfo['name'])+" لنا؟"+'\r\n'+"أولاً نريد قائمة أسعار وبعض تفاصيل المنتج."+'\r\n'+"آمل أن أحصل على الرد في أسرع وقت ممكن وأتطلع إلى التعاون."+'\r\n'+"شكرا جزيلا لك.";
var message_8 = 'مرحبا،'+'\r\n'+"أنا أبحث عن"+' '+trim(resInfo['name'])+", من فضلك أعطني بعض المعلومات التفصيلية عن المنتج."+'\r\n'+"أتطلع إلى ردك."+'\r\n'+"شكرا!";
var message_9 = 'مرحبا،'+'\r\n'+"الخاص بك"+' '+trim(resInfo['name'])+" يلبي متطلباتي بشكل جيد للغاية."+'\r\n'+"من فضلك أرسل لي السعر والمواصفات والنموذج المماثل سيكون على ما يرام."+'\r\n'+"لا تتردد في الدردشة معي."+'\r\n'+"شكر!";
var message_10 = ''+'\r\n'+"أريد أن أعرف المزيد عن التفاصيل والاقتباس من"+' '+trim(resInfo['name'])+'.'+'\r\n'+"لا تتردد في الاتصال بي."+'\r\n'+"مع تحياتي!";
var r = getRandom(1,10);
defaulProductInfo.message = eval("message_"+r);
var mytAjax = {
post: function(url, data, fn) {
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8");
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xhr.setRequestHeader('Content-Type','text/plain;charset=UTF-8');
xhr.onreadystatechange = function() {
if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)) {
fn.call(this, xhr.responseText);
}
};
xhr.send(data);
},
postform: function(url, data, fn) {
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
xhr.onreadystatechange = function() {
if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)) {
fn.call(this, xhr.responseText);
}
};
xhr.send(data);
}
};
window.onload = function(){
leaveMessageDialog = document.getElementsByClassName('leave-message-dialog')[0];
if (window.localStorage.recordDialogStatus=='undefined' || (window.localStorage.recordDialogStatus!='undefined' && window.localStorage.recordDialogStatus != curDate)) {
setTimeout(function(){
if(parseInt(inquirypopup_tmp%10) == 1){
creatDialog(defaulProductInfo, 1);
}
}, 6000);
}
};
function trim(str)
{
str = str.replace(/(^\s*)/g,"");
return str.replace(/(\s*$)/g,"");
};
function getRandom(m,n){
var num = Math.floor(Math.random()*(m - n) + n);
return num;
};
function strBtn(param) {
var starattextarea = document.getElementById("textareamessage").value.length;
var email = document.getElementById("startEmail").value;
var default_tip = document.querySelectorAll(".watermark_container").length;
if (20 < starattextarea && starattextarea < 3000) {
if(default_tip>0){
document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "none";
}else{
document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "none";
}
} else {
if(default_tip>0){
document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "block";
}else{
document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "block";
}
return;
}
// var re = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+\.([a-zA-Z0-9_-])+/i;/*邮箱不区分大小写*/
var re = /^[a-zA-Z0-9][\w-]*(\.?[\w-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9]+)+$/i;
if (!re.test(email)) {
document.getElementById("startEmail").nextElementSibling.style.display = "block";
return;
} else {
document.getElementById("startEmail").nextElementSibling.style.display = "none";
}
var subject = document.getElementById("pop_subject").value;
var pid = document.getElementById("pop_pid").value;
var message = document.getElementById("textareamessage").value;
var sender_email = document.getElementById("startEmail").value;
var tel = '';
if (document.getElementById("tel0") != undefined && document.getElementById("tel0") != '')
tel = document.getElementById("tel0").value;
var form_serialize = '&tel='+tel;
form_serialize = form_serialize.replace(/\+/g, "%2B");
mytAjax.post(save_url,"pid="+pid+"&subject="+subject+"&email="+sender_email+"&message="+(message)+form_serialize,function(res){
var mes = JSON.parse(res);
if(mes.status == 200){
var iid = mes.iid;
document.getElementById("pop_iid").value = iid;
document.getElementById("pop_uuid").value = mes.uuid;
if(typeof gtag_report_conversion === "function"){
gtag_report_conversion();//执行统计js代码
}
if(typeof fbq === "function"){
fbq('track','Purchase');//执行统计js代码
}
}
});
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
$('#idphonepql').val(tel);
document.getElementById("dialog-content-pql-id").style.display = "block";
;
};
function twoBtnOk(param) {
var selectgender = document.getElementById("Mr").innerHTML;
var iid = document.getElementById("pop_iid").value;
var sendername = document.getElementById("idnamepql").value;
var senderphone = document.getElementById("idphonepql").value;
var sendercname = document.getElementById("idcompanypql").value;
var uuid = document.getElementById("pop_uuid").value;
var gender = 2;
if(selectgender == 'Mr.') gender = 0;
if(selectgender == 'Mrs.') gender = 1;
var pid = document.getElementById("pop_pid").value;
var form_serialize = '';
form_serialize = form_serialize.replace(/\+/g, "%2B");
mytAjax.post(update_url,"iid="+iid+"&gender="+gender+"&uuid="+uuid+"&name="+(sendername)+"&tel="+(senderphone)+"&company="+(sendercname)+form_serialize,function(res){});
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql-ok").style.display = "block";
};
function toCheckMust(name) {
$('#'+name+'error').hide();
}
function handClidk(param) {
var starattextarea = document.getElementById("textareamessage1").value.length;
var email = document.getElementById("startEmail1").value;
var default_tip = document.querySelectorAll(".watermark_container").length;
if (20 < starattextarea && starattextarea < 3000) {
if(default_tip>0){
document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "none";
}else{
document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "none";
}
} else {
if(default_tip>0){
document.getElementById("textareamessage1").parentNode.parentNode.nextElementSibling.style.display = "block";
}else{
document.getElementById("textareamessage1").parentNode.nextElementSibling.style.display = "block";
}
return;
}
// var re = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+\.([a-zA-Z0-9_-])+/i;
var re = /^[a-zA-Z0-9][\w-]*(\.?[\w-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9]+)+$/i;
if (!re.test(email)) {
document.getElementById("startEmail1").nextElementSibling.style.display = "block";
return;
} else {
document.getElementById("startEmail1").nextElementSibling.style.display = "none";
}
var subject = document.getElementById("pop_subject").value;
var pid = document.getElementById("pop_pid").value;
var message = document.getElementById("textareamessage1").value;
var sender_email = document.getElementById("startEmail1").value;
var form_serialize = tel = '';
if (document.getElementById("tel1") != undefined && document.getElementById("tel1") != '')
tel = document.getElementById("tel1").value;
mytAjax.post(save_url,"email="+sender_email+"&tel="+tel+"&pid="+pid+"&message="+message+"&subject="+subject+form_serialize,function(res){
var mes = JSON.parse(res);
if(mes.status == 200){
var iid = mes.iid;
document.getElementById("pop_iid").value = iid;
document.getElementById("pop_uuid").value = mes.uuid;
if(typeof gtag_report_conversion === "function"){
gtag_report_conversion();//执行统计js代码
}
}
});
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
$('#idphonepql').val(tel);
document.getElementById("dialog-content-pql-id").style.display = "block";
};
window.addEventListener('load', function () {
$('.checkbox-wrap label').each(function(){
if($(this).find('input').prop('checked')){
$(this).addClass('on')
}else {
$(this).removeClass('on')
}
})
$(document).on('click', '.checkbox-wrap label' , function(ev){
if (ev.target.tagName.toUpperCase() != 'INPUT') {
$(this).toggleClass('on')
}
})
})
function hand_video(pdata) {
data = JSON.parse(pdata);
productInfo.productName = data.productName;
productInfo.productInfo = data.productInfo;
productInfo.productImg = data.productImg;
productInfo.subject = data.subject;
var message = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(data.productName)+", هل يمكن أن ترسل لي مزيدًا من التفاصيل مثل النوع والحجم والكمية والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(data.productName)+", هل يمكن أن ترسل لي المزيد من التفاصيل مثل النوع والحجم وموك والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message_1 = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(data.productName)+", هل يمكن أن ترسل لي المزيد من التفاصيل مثل النوع والحجم وموك والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message_2 = 'مرحبا،'+'\r\n'+"أنا أبحث عن"+' '+trim(data.productName)+", الرجاء ارسال لي السعر والمواصفات والصورة."+'\r\n'+"سيكون ردك السريع محل تقدير كبير."+'\r\n'+"لا تتردد بالاتصال بي لمزيد من معلومات."+'\r\n'+"شكرا جزيلا.";
var message_3 = 'مرحبا،'+'\r\n'+trim(data.productName)+' '+"يلبي توقعاتي."+'\r\n'+"من فضلك أعطني أفضل الأسعار وبعض معلومات المنتج الأخرى."+'\r\n'+"لا تتردد في الاتصال بي عبر بريدي."+'\r\n'+"شكرا جزيلا.";
var message_4 = ''+'\r\n'+"ما هو سعر FOB الخاص بك"+' '+trim(data.productName)+'?'+'\r\n'+"ما هو أقرب اسم منفذ؟"+'\r\n'+"الرجاء الرد علي في أقرب وقت ممكن ، سيكون من الأفضل مشاركة المزيد من المعلومات."+'\r\n'+"مع تحياتي!";
var message_5 = 'مرحبا،'+'\r\n'+"أنا مهتم جدا بك"+' '+trim(data.productName)+'.'+'\r\n'+"الرجاء ارسال لي تفاصيل المنتج الخاص بك."+'\r\n'+"نتطلع إلى ردك السريع."+'\r\n'+"لا تتردد في الاتصال بي عن طريق البريد."+'\r\n'+"مع تحياتي!";
var message_6 = ''+'\r\n'+"يرجى تزويدنا بمعلومات عنك"+' '+trim(data.productName)+", مثل النوع والحجم والمادة وبالطبع أفضل سعر."+'\r\n'+"نتطلع إلى ردك السريع."+'\r\n'+"شكرا!";
var message_7 = ''+'\r\n'+"هل يمكنك العرض"+' '+trim(data.productName)+" لنا؟"+'\r\n'+"أولاً نريد قائمة أسعار وبعض تفاصيل المنتج."+'\r\n'+"آمل أن أحصل على الرد في أسرع وقت ممكن وأتطلع إلى التعاون."+'\r\n'+"شكرا جزيلا لك.";
var message_8 = 'مرحبا،'+'\r\n'+"أنا أبحث عن"+' '+trim(data.productName)+", من فضلك أعطني بعض المعلومات التفصيلية عن المنتج."+'\r\n'+"أتطلع إلى ردك."+'\r\n'+"شكرا!";
var message_9 = 'مرحبا،'+'\r\n'+"الخاص بك"+' '+trim(data.productName)+" يلبي متطلباتي بشكل جيد للغاية."+'\r\n'+"من فضلك أرسل لي السعر والمواصفات والنموذج المماثل سيكون على ما يرام."+'\r\n'+"لا تتردد في الدردشة معي."+'\r\n'+"شكر!";
var message_10 = ''+'\r\n'+"أريد أن أعرف المزيد عن التفاصيل والاقتباس من"+' '+trim(data.productName)+'.'+'\r\n'+"لا تتردد في الاتصال بي."+'\r\n'+"مع تحياتي!";
var r = getRandom(1,10);
productInfo.message = eval("message_"+r);
if(parseInt(inquirypopup_tmp/10) == 1){
productInfo.message = "";
}
productInfo.pid = data.pid;
creatDialog(productInfo, 2);
};
function handDialog(pdata) {
data = JSON.parse(pdata);
productInfo.productName = data.productName;
productInfo.productInfo = data.productInfo;
productInfo.productImg = data.productImg;
productInfo.subject = data.subject;
var message = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(data.productName)+", هل يمكن أن ترسل لي مزيدًا من التفاصيل مثل النوع والحجم والكمية والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(data.productName)+", هل يمكن أن ترسل لي المزيد من التفاصيل مثل النوع والحجم وموك والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message_1 = ''+'\r\n'+"أنا مهتم بذلك"+' '+trim(data.productName)+", هل يمكن أن ترسل لي المزيد من التفاصيل مثل النوع والحجم وموك والمواد وما إلى ذلك."+'\r\n'+"شكر!"+'\r\n'+"";
var message_2 = 'مرحبا،'+'\r\n'+"أنا أبحث عن"+' '+trim(data.productName)+", الرجاء ارسال لي السعر والمواصفات والصورة."+'\r\n'+"سيكون ردك السريع محل تقدير كبير."+'\r\n'+"لا تتردد بالاتصال بي لمزيد من معلومات."+'\r\n'+"شكرا جزيلا.";
var message_3 = 'مرحبا،'+'\r\n'+trim(data.productName)+' '+"يلبي توقعاتي."+'\r\n'+"من فضلك أعطني أفضل الأسعار وبعض معلومات المنتج الأخرى."+'\r\n'+"لا تتردد في الاتصال بي عبر بريدي."+'\r\n'+"شكرا جزيلا.";
var message_4 = ''+'\r\n'+"ما هو سعر FOB الخاص بك"+' '+trim(data.productName)+'?'+'\r\n'+"ما هو أقرب اسم منفذ؟"+'\r\n'+"الرجاء الرد علي في أقرب وقت ممكن ، سيكون من الأفضل مشاركة المزيد من المعلومات."+'\r\n'+"مع تحياتي!";
var message_5 = 'مرحبا،'+'\r\n'+"أنا مهتم جدا بك"+' '+trim(data.productName)+'.'+'\r\n'+"الرجاء ارسال لي تفاصيل المنتج الخاص بك."+'\r\n'+"نتطلع إلى ردك السريع."+'\r\n'+"لا تتردد في الاتصال بي عن طريق البريد."+'\r\n'+"مع تحياتي!";
var message_6 = ''+'\r\n'+"يرجى تزويدنا بمعلومات عنك"+' '+trim(data.productName)+", مثل النوع والحجم والمادة وبالطبع أفضل سعر."+'\r\n'+"نتطلع إلى ردك السريع."+'\r\n'+"شكرا!";
var message_7 = ''+'\r\n'+"هل يمكنك العرض"+' '+trim(data.productName)+" لنا؟"+'\r\n'+"أولاً نريد قائمة أسعار وبعض تفاصيل المنتج."+'\r\n'+"آمل أن أحصل على الرد في أسرع وقت ممكن وأتطلع إلى التعاون."+'\r\n'+"شكرا جزيلا لك.";
var message_8 = 'مرحبا،'+'\r\n'+"أنا أبحث عن"+' '+trim(data.productName)+", من فضلك أعطني بعض المعلومات التفصيلية عن المنتج."+'\r\n'+"أتطلع إلى ردك."+'\r\n'+"شكرا!";
var message_9 = 'مرحبا،'+'\r\n'+"الخاص بك"+' '+trim(data.productName)+" يلبي متطلباتي بشكل جيد للغاية."+'\r\n'+"من فضلك أرسل لي السعر والمواصفات والنموذج المماثل سيكون على ما يرام."+'\r\n'+"لا تتردد في الدردشة معي."+'\r\n'+"شكر!";
var message_10 = ''+'\r\n'+"أريد أن أعرف المزيد عن التفاصيل والاقتباس من"+' '+trim(data.productName)+'.'+'\r\n'+"لا تتردد في الاتصال بي."+'\r\n'+"مع تحياتي!";
var r = getRandom(1,10);
productInfo.message = eval("message_"+r);
if(parseInt(inquirypopup_tmp/10) == 1){
productInfo.message = "";
}
productInfo.pid = data.pid;
creatDialog(productInfo, 2);
};
function closepql(param) {
leaveMessageDialog.style.display = 'none';
};
function closepql2(param) {
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql-ok").style.display = "block";
};
function decodeHtmlEntities(str) {
var tempElement = document.createElement('div');
tempElement.innerHTML = str;
return tempElement.textContent || tempElement.innerText || '';
}
function initProduct(productInfo,type){
productInfo.productName = decodeHtmlEntities(productInfo.productName);
productInfo.message = decodeHtmlEntities(productInfo.message);
leaveMessageDialog = document.getElementsByClassName('leave-message-dialog')[0];
leaveMessageDialog.style.display = "block";
if(type == 3){
var popinquiryemail = document.getElementById("popinquiryemail").value;
_$$("#startEmail1")[0].value = popinquiryemail;
}else{
_$$("#startEmail1")[0].value = "";
}
_$$("#startEmail")[0].value = "";
_$$("#idnamepql")[0].value = "";
_$$("#idphonepql")[0].value = "";
_$$("#idcompanypql")[0].value = "";
_$$("#pop_pid")[0].value = productInfo.pid;
_$$("#pop_subject")[0].value = productInfo.subject;
if(parseInt(inquirypopup_tmp/10) == 1){
productInfo.message = "";
}
_$$("#textareamessage1")[0].value = productInfo.message;
_$$("#textareamessage")[0].value = productInfo.message;
_$$("#dialog-content-pql-id .titlep")[0].innerHTML = productInfo.productName;
_$$("#dialog-content-pql-id img")[0].setAttribute("src", productInfo.productImg);
_$$("#dialog-content-pql-id img")[0].setAttribute("alt", productInfo.productImgAlt);
_$$("#dialog-content-pql-id-hand img")[0].setAttribute("src", productInfo.productImg);
_$$("#dialog-content-pql-id-hand img")[0].setAttribute("alt", productInfo.productImgAlt);
_$$("#dialog-content-pql-id-hand .titlep")[0].innerHTML = productInfo.productName;
if (productInfo.productInfo.length > 0) {
var ul2, ul;
ul = document.createElement("ul");
for (var index = 0; index < productInfo.productInfo.length; index++) {
var el = productInfo.productInfo[index];
var li = document.createElement("li");
var span1 = document.createElement("span");
span1.innerHTML = el[0] + ":";
var span2 = document.createElement("span");
span2.innerHTML = el[1];
li.appendChild(span1);
li.appendChild(span2);
ul.appendChild(li);
}
ul2 = ul.cloneNode(true);
if (type === 1) {
_$$("#dialog-content-pql-id .left")[0].replaceChild(ul, _$$("#dialog-content-pql-id .left ul")[0]);
} else {
_$$("#dialog-content-pql-id-hand .left")[0].replaceChild(ul2, _$$("#dialog-content-pql-id-hand .left ul")[0]);
_$$("#dialog-content-pql-id .left")[0].replaceChild(ul, _$$("#dialog-content-pql-id .left ul")[0]);
}
};
for (var index = 0; index < _$$("#dialog-content-pql-id .right ul li").length; index++) {
_$$("#dialog-content-pql-id .right ul li")[index].addEventListener("click", function (params) {
_$$("#dialog-content-pql-id .right #Mr")[0].innerHTML = this.innerHTML
}, false)
};
};
function closeInquiryCreateDialog() {
document.getElementById("xuanpan_dialog_box_pql").style.display = "none";
};
function showInquiryCreateDialog() {
document.getElementById("xuanpan_dialog_box_pql").style.display = "block";
};
function submitPopInquiry(){
var message = document.getElementById("inquiry_message").value;
var email = document.getElementById("inquiry_email").value;
var subject = defaulProductInfo.subject;
var pid = defaulProductInfo.pid;
if (email === undefined) {
showInquiryCreateDialog();
document.getElementById("inquiry_email").style.border = "1px solid red";
return false;
};
if (message === undefined) {
showInquiryCreateDialog();
document.getElementById("inquiry_message").style.border = "1px solid red";
return false;
};
if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) {
document.getElementById("inquiry_email").style.border= "1px solid red";
showInquiryCreateDialog();
return false;
} else {
document.getElementById("inquiry_email").style.border= "";
};
if (message.length < 20 || message.length >3000) {
showInquiryCreateDialog();
document.getElementById("inquiry_message").style.border = "1px solid red";
return false;
} else {
document.getElementById("inquiry_message").style.border = "";
};
var tel = '';
if (document.getElementById("tel") != undefined && document.getElementById("tel") != '')
tel = document.getElementById("tel").value;
mytAjax.post(save_url,"pid="+pid+"&subject="+subject+"&email="+email+"&message="+(message)+'&tel='+tel,function(res){
var mes = JSON.parse(res);
if(mes.status == 200){
var iid = mes.iid;
document.getElementById("pop_iid").value = iid;
document.getElementById("pop_uuid").value = mes.uuid;
}
});
initProduct(defaulProductInfo);
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
$('#idphonepql').val(tel);
document.getElementById("dialog-content-pql-id").style.display = "block";
};
//带附件上传
function submitPopInquiryfile(email_id,message_id,check_sort,name_id,phone_id,company_id,attachments){
if(typeof(check_sort) == 'undefined'){
check_sort = 0;
}
var message = document.getElementById(message_id).value;
var email = document.getElementById(email_id).value;
var attachments = document.getElementById(attachments).value;
if(typeof(name_id) !== 'undefined' && name_id != ""){
var name = document.getElementById(name_id).value;
}
if(typeof(phone_id) !== 'undefined' && phone_id != ""){
var phone = document.getElementById(phone_id).value;
}
if(typeof(company_id) !== 'undefined' && company_id != ""){
var company = document.getElementById(company_id).value;
}
var subject = defaulProductInfo.subject;
var pid = defaulProductInfo.pid;
if(check_sort == 0){
if (email === undefined) {
showInquiryCreateDialog();
document.getElementById(email_id).style.border = "1px solid red";
return false;
};
if (message === undefined) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
};
if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) {
document.getElementById(email_id).style.border= "1px solid red";
showInquiryCreateDialog();
return false;
} else {
document.getElementById(email_id).style.border= "";
};
if (message.length < 20 || message.length >3000) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
} else {
document.getElementById(message_id).style.border = "";
};
}else{
if (message === undefined) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
};
if (email === undefined) {
showInquiryCreateDialog();
document.getElementById(email_id).style.border = "1px solid red";
return false;
};
if (message.length < 20 || message.length >3000) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
} else {
document.getElementById(message_id).style.border = "";
};
if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) {
document.getElementById(email_id).style.border= "1px solid red";
showInquiryCreateDialog();
return false;
} else {
document.getElementById(email_id).style.border= "";
};
};
mytAjax.post(save_url,"pid="+pid+"&subject="+subject+"&email="+email+"&message="+message+"&company="+company+"&attachments="+attachments,function(res){
var mes = JSON.parse(res);
if(mes.status == 200){
var iid = mes.iid;
document.getElementById("pop_iid").value = iid;
document.getElementById("pop_uuid").value = mes.uuid;
if(typeof gtag_report_conversion === "function"){
gtag_report_conversion();//执行统计js代码
}
if(typeof fbq === "function"){
fbq('track','Purchase');//执行统计js代码
}
}
});
initProduct(defaulProductInfo);
if(name !== undefined && name != ""){
_$$("#idnamepql")[0].value = name;
}
if(phone !== undefined && phone != ""){
_$$("#idphonepql")[0].value = phone;
}
if(company !== undefined && company != ""){
_$$("#idcompanypql")[0].value = company;
}
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql-id").style.display = "block";
};
function submitPopInquiryByParam(email_id,message_id,check_sort,name_id,phone_id,company_id){
if(typeof(check_sort) == 'undefined'){
check_sort = 0;
}
var senderphone = '';
var message = document.getElementById(message_id).value;
var email = document.getElementById(email_id).value;
if(typeof(name_id) !== 'undefined' && name_id != ""){
var name = document.getElementById(name_id).value;
}
if(typeof(phone_id) !== 'undefined' && phone_id != ""){
var phone = document.getElementById(phone_id).value;
senderphone = phone;
}
if(typeof(company_id) !== 'undefined' && company_id != ""){
var company = document.getElementById(company_id).value;
}
var subject = defaulProductInfo.subject;
var pid = defaulProductInfo.pid;
if(check_sort == 0){
if (email === undefined) {
showInquiryCreateDialog();
document.getElementById(email_id).style.border = "1px solid red";
return false;
};
if (message === undefined) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
};
if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) {
document.getElementById(email_id).style.border= "1px solid red";
showInquiryCreateDialog();
return false;
} else {
document.getElementById(email_id).style.border= "";
};
if (message.length < 20 || message.length >3000) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
} else {
document.getElementById(message_id).style.border = "";
};
}else{
if (message === undefined) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
};
if (email === undefined) {
showInquiryCreateDialog();
document.getElementById(email_id).style.border = "1px solid red";
return false;
};
if (message.length < 20 || message.length >3000) {
showInquiryCreateDialog();
document.getElementById(message_id).style.border = "1px solid red";
return false;
} else {
document.getElementById(message_id).style.border = "";
};
if (email.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) {
document.getElementById(email_id).style.border= "1px solid red";
showInquiryCreateDialog();
return false;
} else {
document.getElementById(email_id).style.border= "";
};
};
var productsku = "";
if($("#product_sku").length > 0){
productsku = $("#product_sku").html();
}
mytAjax.post(save_url,"tel="+senderphone+"&pid="+pid+"&subject="+subject+"&email="+email+"&message="+message+"&messagesku="+encodeURI(productsku),function(res){
var mes = JSON.parse(res);
if(mes.status == 200){
var iid = mes.iid;
document.getElementById("pop_iid").value = iid;
document.getElementById("pop_uuid").value = mes.uuid;
if(typeof gtag_report_conversion === "function"){
gtag_report_conversion();//执行统计js代码
}
if(typeof fbq === "function"){
fbq('track','Purchase');//执行统计js代码
}
}
});
initProduct(defaulProductInfo);
if(name !== undefined && name != ""){
_$$("#idnamepql")[0].value = name;
}
if(phone !== undefined && phone != ""){
_$$("#idphonepql")[0].value = phone;
}
if(company !== undefined && company != ""){
_$$("#idcompanypql")[0].value = company;
}
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql-id").style.display = "block";
};
function creat_videoDialog(productInfo, type) {
if(type == 1){
if(default_pop != 1){
return false;
}
window.localStorage.recordDialogStatus = curDate;
}else{
default_pop = 0;
}
initProduct(productInfo, type);
if (type === 1) {
// 自动弹出
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql").style.display = "block";
} else {
// 手动弹出
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql-id-hand").style.display = "block";
}
}
function creatDialog(productInfo, type) {
if(type == 1){
if(default_pop != 1){
return false;
}
window.localStorage.recordDialogStatus = curDate;
}else{
default_pop = 0;
}
initProduct(productInfo, type);
if (type === 1) {
// 自动弹出
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql").style.display = "block";
} else {
// 手动弹出
for (var index = 0; index < document.querySelectorAll(".dialog-content-pql").length; index++) {
document.querySelectorAll(".dialog-content-pql")[index].style.display = "none";
};
document.getElementById("dialog-content-pql-id-hand").style.display = "block";
}
}
//带邮箱信息打开询盘框 emailtype=1表示带入邮箱
function openDialog(emailtype){
var type = 2;//不带入邮箱,手动弹出
if(emailtype == 1){
var popinquiryemail = document.getElementById("popinquiryemail").value;
// var re = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+\.([a-zA-Z0-9_-])+/i;
var re = /^[a-zA-Z0-9][\w-]*(\.?[\w-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9]+)+$/i;
if (!re.test(popinquiryemail)) {
//前端提示样式;
showInquiryCreateDialog();
document.getElementById("popinquiryemail").style.border = "1px solid red";
return false;
} else {
//前端提示样式;
}
var type = 3;
}
creatDialog(defaulProductInfo,type);
}
//上传附件
function inquiryUploadFile(){
var fileObj = document.querySelector("#fileId").files[0];
//构建表单数据
var formData = new FormData();
var filesize = fileObj.size;
if(filesize > 10485760 || filesize == 0) {
document.getElementById("filetips").style.display = "block";
return false;
}else {
document.getElementById("filetips").style.display = "none";
}
formData.append('popinquiryfile', fileObj);
document.getElementById("quotefileform").reset();
var save_url = "/inquiryuploadfile.html";
mytAjax.postform(save_url,formData,function(res){
var mes = JSON.parse(res);
if(mes.status == 200){
document.getElementById("uploader-file-info").innerHTML = document.getElementById("uploader-file-info").innerHTML + ""+mes.attfile.name+"Delete";
var nowattachs = document.getElementById("attachments").value;
if( nowattachs !== ""){
var attachs = JSON.parse(nowattachs);
attachs[mes.attfile.id] = mes.attfile;
}else{
var attachs = {};
attachs[mes.attfile.id] = mes.attfile;
}
document.getElementById("attachments").value = JSON.stringify(attachs);
}
});
}
//附件删除
function delatt(attid)
{
var nowattachs = document.getElementById("attachments").value;
if( nowattachs !== ""){
var attachs = JSON.parse(nowattachs);
if(attachs[attid] == ""){
return false;
}
var formData = new FormData();
var delfile = attachs[attid]['filename'];
var save_url = "/inquirydelfile.html";
if(delfile != "") {
formData.append('delfile', delfile);
mytAjax.postform(save_url, formData, function (res) {
if(res !== "") {
var mes = JSON.parse(res);
if (mes.status == 200) {
delete attachs[attid];
document.getElementById("attachments").value = JSON.stringify(attachs);
var s = document.getElementById("att"+attid);
s.parentNode.remove();
}
}
});
}
}else{
return false;
}
}
الرجاء ترك بريدك الإلكتروني الصحيح ومتطلباتك التفصيلية (20-3000 حرف).
حسنا
المنزل
المنتجات
porcelain material emax teeth veneers المصنع عبر الإنترنت
جميع الفئات
اتصل بنا
+8613430993413
اتصل الآن
Your search
[porcelain material emax teeth veneers ]
تطابق
20
المنتجات
المنزل
المنتجات
porcelain material emax teeth veneers المصنع عبر الإنترنت
Your search [ porcelain material emax teeth veneers ] تطابق
20 المنتجات
تخصيص مواد البورسلين Emax الأسنان القشرة لارتباط جماليات عالية
احصل على أفضل سعر
16 ظلال لون إماكس الأسنان الفينيرات A1-A4 مقاومة عالية للبقع لابتسامة مثالية
احصل على أفضل سعر
أجهزة IPS Emax الضيقة للغاية المصفوفات الصحية المصفوفات التجميلية للأسنان لترميمات الأمامية والخلفية
احصل على أفضل سعر
أوراق السيراميكية المصنوعة خصيصًا للأسنان مع مقاومة البقع
احصل على أفضل سعر
0.3-0.5mm سميكة البورسلين الطبيعي إيماكس القشرة عالية القوة طويلة الأمد من أجل الجمالية
احصل على أفضل سعر
الشفافية العالية Emax التجميل طب الأسنان القشرة الجمالية العالية رقيقة للغاية
احصل على أفضل سعر
0.3 ملم سمك Ips Emax Veneers Veneers السيراميكية
احصل على أفضل سعر
0.3-0.5 ملم سمك Emax البورسلين القشرة لأسنان التجميل عالية اللمعان
احصل على أفضل سعر
طبيعي المظهر إماكس البورسلين القشرة مريحة تناسب رقيقة للغاية إماكس القشرة
احصل على أفضل سعر
عالية الشفافية الطبيعية تبدو القماش البورسلين القماش البورسلين Emax مخصصة
احصل على أفضل سعر
القشرة السيراميكية Emax 0.3-0.5mm سمك القشرة البورسلينية التجميلية طويلة الأمد
احصل على أفضل سعر
مصنوعة خصيصاً IPS البورسلين Emax القشرات استعادة الأسنان المقاومة للشظايا
احصل على أفضل سعر