Warning: Undefined array key "name" in D:\cdn.cueusa.com\incnei.php on line 140

Warning: Undefined array key "newen" in D:\cdn.cueusa.com\incnei.php on line 142

Warning: Undefined variable $htmlfile in D:\cdn.cueusa.com\incnei.php on line 333

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 333

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 382

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in D:\cdn.cueusa.com\incnei.php on line 382

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Undefined array key "en" in D:\cdn.cueusa.com\incnei.php on line 383

Warning: Cannot modify header information - headers already sent by (output started at D:\cdn.cueusa.com\incnei.php:383) in D:\cdn.cueusa.com\incnei.php on line 957
(function ($) { var lilength = $(".product-list ul li").length; if (lilength <= 12) { var Lihheight = 0 } else { var Lihheight = $(".product-list ul li").innerHeight() } $.fn.myScroll = function (options) { var defaults = { speed: 40, rowHeight: Lihheight }; var opts = $.extend({}, defaults, options), intId = []; function marquee(obj, step) { obj.find("ul").animate({ marginTop: "-=1" }, 0, function () { var s = Math.abs(parseInt($(this).css("margin-top"))); if (s >= step) { $(this).find("li").slice(0, 3).appendTo($(this)); $(this).css("margin-top", 0) } }) } if (screen.width <= 1024) { function marquee(obj, step) { obj.find("ul").animate({ marginTop: "-=1" }, 0, function () { var s = Math.abs(parseInt($(this).css("margin-top"))); if (s >= step) { $(this).find("li").slice(0, 2).appendTo($(this)); $(this).css("margin-top", 0) } }) } } this.each(function (i) { var sh = opts["rowHeight"], speed = opts["speed"], _this = $(this); intId[i] = setInterval(function () { if (_this.find("ul").height() <= _this.height()) { clearInterval(intId[i]) } else { marquee(_this, sh) } }, speed); _this.hover(function () { clearInterval(intId[i]) }, function () { intId[i] = setInterval(function () { if (_this.find("ul").height() <= _this.height()) { clearInterval(intId[i]) } else { marquee(_this, sh) } }, speed) }) }) } })(jQuery); $(".enterprise_one ul p").wrap("
  • ").addClass(""); var neiimg = $(".enterprise_product_list li").width(); $(".enterprise_product_list li img").css({ "height": neiimg * 0.8 + "px" }); if ($(".company-profile span:has(img)").length) { $(".company-profile span img").css({ "min-height": "100%", "width": "100%", "display": "block" }) } else { $(".company-profile span").css({ "display": "none" }); $(".company-profile p").css({ "float": "none", "width": "100%", "padding": "0" }); $(".company-profile a").css({ "margin-left": "0", "float": "none" }) } $(".enterprise_tab-title .enterprise_title-item").click(function () { var $this = $(this); $(this).addClass("active").siblings(".enterprise_tab-title .enterprise_title-item").removeClass("active"); $(".friendship-links").eq($this.index()).addClass("active").siblings(".friendship-links").removeClass("active") }); $(".enterprise_htop").click(function () { $("body,html").animate({ scrollTop: 0 }, 600) }); $(document).bind("contextmenu", function () { return false }); $(".enterprise_mbutton").click(function () { if ($(this).hasClass("menu-open")) { $(".mainNav").slideUp(); $(this).removeClass("menu-open") } else { $(".mainNav").slideDown(); $(this).addClass("menu-open") } }); var box0 = $(".enterprise_one"), v0 = 1; var box1 = $(".two"), v1 = 1; Rin(box0, v0); Rin(box1, v1); function Rin($Box, v) { var $Box_ul = $Box.find("ul"), $Box_li = $Box_ul.find("li"), $Box_li_span = $Box_li.find("span"), left = 0, s = 0, timer; $Box_li.each(function (index) { $($Box_li_span[index]).width($(this).width()); s += $(this).outerWidth(true) }); window.requestAnimationFrame = window.requestAnimationFrame || function (Tmove) { return setTimeout(Tmove, 1000 / 60) }; window.cancelAnimationFrame = window.cancelAnimationFrame || clearTimeout; if (s >= $Box.width()) { $Box_li.clone(true).appendTo($Box_ul); Tmove(); function Tmove() { left -= v; if (left <= -s) { left = 0; $Box_ul.css("left", left) } else { $Box_ul.css("left", left) } timer = requestAnimationFrame(Tmove) } $Box_ul.hover(function () { cancelAnimationFrame(timer) }, function () { Tmove() }) } } $(function () { var str = $(".latest-news h1").text(); if (/.*[\u4e00-\u9fa5]+.*$/.test(str)) { $(".latest-news h1").css({ "text-align": "center" }); } var pattern = new RegExp("[\u0600-\u06FF]"); var pattern2 = new RegExp("[\u0590-\u05FF]"); var langTXT = $(".mainNav a").text(); if (pattern2.test(langTXT)) { $("body").addClass("RTL"); $("html").attr("dir", "rtl"); $(".enterprise_banner").css({ "direction": "ltr" }) } if (pattern.test(langTXT)) { $(".enterprise_banner").css({ "direction": "ltr" }); $("body").addClass("RTL"); $("html").attr("dir", "rtl") } var viewSwiper = new Swiper(".view .swiper-container", { onSlideChangeStart: function () { updateNavPosition() } }); var previewSwiper = new Swiper(".preview .swiper-container", { visibilityFullFit: true, slidesPerView: "auto", onlyExternal: true, onSlideClick: function () { viewSwiper.swipeTo(previewSwiper.clickedSlideIndex) } }); $(".preview .arrow-left").on("click", function (e) { e.preventDefault(); if (viewSwiper.activeIndex == 0) { viewSwiper.swipeTo(viewSwiper.slides.length - 1, 1000); return } viewSwiper.swipePrev() }); $(".preview .arrow-right").on("click", function (e) { e.preventDefault(); if (viewSwiper.activeIndex == viewSwiper.slides.length - 1) { viewSwiper.swipeTo(0, 1000); return } viewSwiper.swipeNext() }); $(".view-pic-bottom .swiper-slide:first").addClass("active-nav"); function updateNavPosition() { $(".preview .active-nav").removeClass("active-nav"); var activeNav = $(".preview .swiper-slide").eq(viewSwiper.activeIndex).addClass("active-nav"); if (!activeNav.hasClass("swiper-slide-visible")) { if (activeNav.index() > previewSwiper.activeIndex) { var thumbsPerNav = Math.floor(previewSwiper.width / activeNav.width()) - 1; previewSwiper.swipeTo(activeNav.index() - thumbsPerNav) } else { previewSwiper.swipeTo(activeNav.index()) } } } $(".view-tab-menu span").click(function () { $(this).attr("class", "active"); $(this).siblings().attr("class", ""); var itemId = $(this).attr("tabid") - 1; $(".view-tab-box").find("div.tab-item:eq(" + itemId + ")").addClass("show"); $(".view-tab-box").find("div.tab-item:eq(" + itemId + ")").siblings().removeClass("show") }); // var height1 = $(".view-right").height(); // var height2 = $(".view-right-wrap").height(); // if (height1 < height2) { // $(".view-all").show(); // $(".view-all span").click(function () { // if ($(this).hasClass("all")) { // $(".view-right").css({ // "height": "497px" // }); // $(this).removeClass("all"); // $(".view-all .gradient").show() // } else { // $(".view-right").css({ // "height": "auto", // "padding-bottom": "60px" // }); // $(this).addClass("all"); // $(".view-all .gradient").hide() // } // }) // } else { // $(".view-all").hide() // } $.fn.textScroll = function () { var ddawidth = $(this).width(); var p = $(this), c = p.children(), speed = 8000; var cw = c.width(), pw = p.width(); var t = (cw / ddawidth) * speed; var f = null, t1 = 0; function ani(tm) { counttime(); c.animate({ left: -cw }, tm, "linear", function () { c.css({ left: pw }); clearInterval(f); t1 = 0; t = ((cw + pw) / ddawidth) * speed; ani(t) }) } function counttime() { f = setInterval(function () { t1 += 10 }, 10) } p.on({ mouseenter: function () { ani(t - t1) }, mouseleave: function () { c.stop(false, false); c.css({ left: 0 }); clearInterval(f) } }); ani(t) }; $(".edition ul li div dl dd").mouseenter(function () { var dd = $(this).width(); var dda = $(this).children().width(); if (dda > dd) { $(this).textScroll() } }) }); var windowWidth = $(window).width(); if (windowWidth < 768) { var mySwiper = new Swiper('.customer-swiper', { pagination: '.customer-pagination', paginationClickable: true, slidesPerView: 1, loop: true, calculateHeight: true, }); var mySwiper = new Swiper('.caseSwiper', { slidesPerView : 1, autoplay: 3000, }); var mySwiper = new Swiper('.relatedSwiper', { slidesPerView : 2, autoplay: 4000, spaceBetween : 50, updateOnImagesReady : true, }); } else { var mySwiper = new Swiper('.customer-swiper', { pagination: '.customer-pagination', paginationClickable: true, slidesPerView: 2, loop: true, calculateHeight: true, }); var mySwiper = new Swiper('.caseSwiper', { slidesPerView : 3, autoplay: 3000, }); var mySwiper = new Swiper('.relatedSwiper', { slidesPerView : 4, autoplay: 4000, spaceBetween : 50, updateOnImagesReady : true, }); } $('.problem ul li').click(function () { if ($(this).children('div').hasClass('active')) { $(this).children('div').removeClass('active'); } else { $(this).children('div').addClass('active'); } }); $("#languageButton").hover(function () { $(".languageBox").addClass('active').show(); $(".footer").css("position", "relative"); }, function () { $(".languageBox").removeClass('active').hide(); }); $(".languageBox").hover(function () { $(this).addClass('active').show(); }, function () { $(this).removeClass('active').hide(); }); $('.choice2').click(function () { $(this).next('ul').show(); $(this).removeClass('choice-active2'); }); $('.p-select2 ul li').click(function () { $(this).parent('ul').hide(); $(this).parents('.countryBox').children('input[name="tel"]').val('+' + $(this).val()); $(this).parent('ul').prev('.choice2').attr('style', $(this).children('i').attr('style')).css({ "background-image": "url(/js/images/flags.png) " }); }); $('.pWrap').each(function () { var boxHeight = $(this).height(); var pHeight = $(this).children('p').height(); var pNum = $(this).children('p').length; if (pHeight * pNum > boxHeight) { $(this).children('.openAll').show(); } else { $(this).children('.openAll').hide(); } }); $('.openButton').click(function () { $('.openAll').hide(); $(this).parents('.pWrap').css({ 'overflow': 'auto' }); }); var arrInput = ['.rightContact ul li input[name=name]', '.rightContact ul li input[name=tel]', '.rightContact ul li input[name=email]', '.rightContact ul li textarea']; for (let i = 0; i < arrInput.length; i++) { $(arrInput[i]).blur(function () { var txt = $(this).val(); if (!txt) { $(this).parents('li').addClass('err'); } else { $(this).parents('li').removeClass('err'); } }); }; $('.rightContact button').click(function () { var name = $("input[name='name']").val(); var tel = $("input[name='tel']").val(); var email = $("input[name='email']").val(); var country = $("input[name='country']").val(); var content = $("#mescontent").val(); var fromurl = window.location.href; if ($('.err').length > 0) { return false; }; $.ajax({ type: "post", url: "/messageadd", data: { name: name, tel: tel, email: email, country: country, content: content, fromurl: fromurl }, success: function (res) { var res = eval("(" + res + ")"); alert(res.msg); } }) for (let i = 0; i < arrInput.length; i++) { if (!$(arrInput[i]).val()) { $(arrInput[i]).parents('li').addClass('err'); } }; return false; }); // $('.productTxt').each(function(){ // var ptxtHeight = $(this).height(); // $(this).prev('.productPic').css({'height':ptxtHeight+'px'}); // }); $('.view-video').click(function(){ $('.videoBox video')[0].play(); $('.videoBox').fadeIn(); }); $('.videoBox i').click(function(){ $('.videoBox video')[0].pause(); $('.videoBox').fadeOut(); }); $('.view-email').click(function(){ $('.viewMessage').fadeIn(); }); $('.viewMessage i').click(function(){ $('.viewMessage').fadeOut(); }); $(function(){ $('.reviewMain>li').each(function(){ var reviewStar = $(this).find('#bright').attr('data-num'); $(this).find('#bright').css({'width':reviewStar * 16 + 'px'}); }); function getCookie(cname){ var name = cname + "="; var ca = document.cookie.split(';'); for (let i = 0; i < ca.length; i++) { if(ca[i].indexOf(name)==1){ return true } }; }; $('.awesome').click(function(){ var awesomeNum = $(this).find('span').text(); var addNum = Number(awesomeNum)+1; var userId = $(this).attr('data-user'); var dataid = $(this).attr('data-id'); if($(this).hasClass('active')){ $(this).removeClass('active'); $(this).find('span').text(Number(awesomeNum)-1); document.cookie = userId+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"; $.ajax({ type: "post", url: "/addclicknum", data: { id: dataid,type:2 }, success: function (res) { } }); }else{ $(this).addClass('active'); $(this).find('span').text(addNum); document.cookie=userId+"="+addNum; $.ajax({ type: "post", url: "/addclicknum", data: { id: dataid,type:1 }, success: function (res) { } }); }; }); function getCookie(){ var arrayCookie = document.cookie.split(';'); for (let i = 0; i < arrayCookie.length; i++) { if(arrayCookie[i].indexOf('userName')==1){ let index = arrayCookie[i].lastIndexOf("="); let newStr = arrayCookie[i].substring(0,index); var obj = $('.awesome[data-user='+newStr+']'); obj.addClass('active'); }; }; }; getCookie(); $('.reviewImages ul li img').click(function(){ let thisImgSrc = $(this).attr('src'); $('#bigImgBox div img').attr('src',thisImgSrc); $('#bigImgBox').show(); }); $('#bigImgBox i').click(function(){ $('#bigImgBox').hide(); }); $('.viewBigPic img').css({'display':'block'}); if (windowWidth > 768) { // 图片放大镜 $('.enterprise_product_view .enterprise_container').css({'position':'relative'}); $('.viewBigPic').css({'position':'absolute','left':'510px','top':'0','width':'500px','height':'400px','overflow':'hidden','background':'#fff','z-index':'9'}).hide(); $('.viewBigPic img').css({'display':'block','position':'absolute'}); $('.view-left .view').css({'position':'relative'}); $('.viewBigSolid').css({'position':'absolute','width':'100px','background':'rgba(255,255,255,.4)','height':'100px','z-index':'9','border':'1px solid rgba(255,255,255,1)'}).hide(); window.addEventListener('load', function () { var boxWrap = document.querySelector('.enterprise_product_view .enterprise_container'); var box = document.querySelector('.view-left .view'); var yy = document.querySelector('.viewBigSolid'); var big = document.querySelector('.viewBigPic'); box.addEventListener('mouseover', function () { yy.style.display = 'block'; big.style.display = 'block'; let activeViewPic = $('.view-pic-top .swiper-slide.swiper-slide-active img').attr('src'); $('.viewBigPic img').attr('src',activeViewPic); }) box.addEventListener('mouseout', function () { yy.style.display = 'none'; big.style.display = 'none'; }) box.addEventListener('mousemove', function (e) { var x = e.pageX - boxWrap.offsetLeft; var y = e.pageY - boxWrap.offsetTop; var width = x - yy.offsetWidth / 2; var height = y - yy.offsetHeight / 2; if (width <= 0) { width = 0; } else if (width >= box.offsetWidth - yy.offsetWidth) { width = box.offsetWidth - yy.offsetWidth; } if (height <= 0) { height = 0; } else if (height >= box.offsetHeight - yy.offsetHeight) { height = box.offsetHeight - yy.offsetHeight; } yy.style.left = width + 'px'; yy.style.top = height + 'px'; var bigimg = document.querySelector('.viewBigPic>img'); // 大图片的移动距离=遮挡层移动距离*大图片最大移动距离/遮挡层最大移动距离 var bigx = width * (bigimg.offsetWidth - big.offsetWidth) / (box.offsetWidth - yy.offsetWidth); var bigy = height * (bigimg.offsetHeight - big.offsetHeight) / (box.offsetHeight - yy.offsetHeight); bigimg.style.left = -bigx + 'px'; bigimg.style.top = -bigy + 'px'; }) }) } });