产品名称六

 提示:点击图片可以放大

function submit7dd00b45852ddc3d8356e8f06e5cf467(elements) { if (document.getElementById('gourl_7dd00b45852ddc3d8356e8f06e5cf467')) { document.getElementById('gourl_7dd00b45852ddc3d8356e8f06e5cf467').value = window.location.href; } elements.submit(); } function ey_fleshVerify_1711514612(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 fed27381d7ea9bc3646243ab6b91c29da() { var ajax = new XMLHttpRequest(); ajax.open("post", "/index.php?m=api&c=Ajax&a=get_token&name=__token__7dd00b45852ddc3d8356e8f06e5cf467", 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("7dd00b45852ddc3d8356e8f06e5cf467").value = ajax.responseText; document.getElementById("gourl_7dd00b45852ddc3d8356e8f06e5cf467").value = window.location.href;  } } } fed27381d7ea9bc3646243ab6b91c29da(); 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"; }); }  } } } } }
jQuery(document).ready(function($) { // Fancybox $('.fancybox').fancybox({ helpers: { overlay: { locked: false } } }); $('.product-gallery .pro-items').owlCarousel({ loop:true, margin:0, items:2, autoplay:true, controls:true, responsiveClass:true, itemsDesktop : [1900,2], itemsDesktopSmall : [979,2], itemsTablet : [959,2], itemsTabletSmall : [768,2], itemsMobile : [479,1], responsive:{ 0:{ items:1, nav:false }, 767:{ items:2, nav:false }, 1440:{ items:2, nav:false }, 1600:{ items:2, nav:false } } }); });