//=== viewid:dh_style_28_1609309284309,dh_style_03_1521620558328 ===//
/*pc,鎵嬫満鏄剧ず闅愯棌*/
function is_mobile(){
return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767);
}
var is_mobile_boolean = is_mobile();
$(function(){
/*pc,鎵嬫満鏄剧ず闅愯棌*/
})
//=== viewid:dh_style_28_1609309284309 ===//
function navSwtich(obj) {
$(obj).siblings(".menuUlCopy").slideToggle(200);
$(obj).toggleClass('ontoggle');
$(obj).parent().siblings().find(".menuUlCopy").slideUp(200);
$(obj).parent().siblings().find(".fa-angle-down").removeClass('ontoggle');
}
function subLeft_dh_style_28_1609309284309(){
$("#dh_style_28_1609309284309 .menuUl>li").each(function(){
$(this).find(".menuUl03").css("left",'100%');
})
}
$(window).resize(function() {
subLeft_dh_style_28_1609309284309();
})
$(function(){
$("#dh_style_28_1609309284309 .fa-navicon").click(function(){
$("#dh_style_28_1609309284309").addClass('clearTransform');
$("#dh_style_28_1609309284309 .menuUlCopy").each(function(){
$(this).siblings(".fa").show();
})
})
subLeft_dh_style_28_1609309284309();
$("#dh_style_28_1609309284309 .subBox").css("top",$("#dh_style_28_1609309284309 .menuUl_box").height());
if($("#dh_style_28_1609309284309 .menuUl").hasClass("noHover")){
var tabNum = 0;
$("#dh_style_28_1609309284309 .menuUl>li").find(".Onsub").each(function(){
tabNum += 1;
$(this).parent().attr("tabNum",tabNum)
})
$("#dh_style_28_1609309284309 .menuUl>li .Onsub").mouseover(function(){
$("#dh_style_28_1609309284309 .subBox").show();
var index = $(this).parent().attr("tabNum");
$("#dh_style_28_1609309284309 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide();
$("#dh_style_28_1609309284309 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide();
})
$("#dh_style_28_1609309284309 .subBox").mouseleave(function(){
$(this).hide();
});
$("#dh_style_28_1609309284309 .menuUl>li .Nosub").mouseover(function(){
$("#dh_style_28_1609309284309 .subBox").hide();
})
//椋庢牸41 42
}
})
var color = $('#dh_style_28_1609309284309 .menuStyle_28 .menuUl02 .subMenu02').css('background-color');
$('#dh_style_28_1609309284309 .menuStyle_28').append(``);
$('#dh_style_28_1609309284309 .menuStyle_28 .menuUl02 .subMenu02').mouseover(function(){
let that = $(this);
setTimeout(function(){
var hoverColor = that.css('background-color');
$('#dh_style_28_1609309284309 .menuStyle_28').append(``);
},100);
});
//=== viewid:searchbox_style_03_1609316688819 ===//
function goUrl(formname){
var url = "http://www.baidu.com/baidu";
if (formname.si.value!=""){
formname.ct.value = "2097152";
}
else {
formname.ct.value = "0";
}
formname.action = url;
return true;
}
//=== viewid:homelink_style_01_1519638865656,productList_style_01_1519703974521,homelink_style_01_1536313015432 ===//
//=== viewid:liuyanban_style_01_1519713709982 ===//
//--
$(function(){
var viewid="liuyanban_style_01_1519713709982";
var sys_url="viewid=liuyanban_style_01_1519713709982&name=liuyanban&style=style_01&langid=0&pageid=130770&viewCtrl=default&isfb=1";
var moreParams='';
if(typeof(history.pushState) != 'undefined'){
var hstate=JSON.stringify(history.state);
if(hstate!='null'&& hstate!=null){
eval('var hjson = ' + hstate);
moreParams=hjson.moreParamsliuyanban_style_01_1519713709982;
}
}
RequestURL(viewid,sys_url,moreParams);
});
//--
//=== viewid:liuyanban_style_01_1519713709982 ===//
// 寤惰繜閲嶆柊鍒锋柊楠岃瘉鐮
setTimeout(function(){
let umg = "//s143js.nicebox.cn/codeimg.php?viewid=liuyanban_style_01_1519713709982&rnd="+Math.floor(Math.random() * ( 1000 + 1));
$("#liuyanban_style_01_1519713709982 .gf_code").css('background',"url("+umg+") right center no-repeat");
},500);
$('#liuyanban_style_01_1519713709982 .gformList').each(function(){
$(this).find('input').blur(function(){
var type = $(this).attr('name');
if(type == 'verification_code'){
return;
}
var check = $(this).attr('check');
var reg = new RegExp(check,"i");
var value = $(this).val();
if(reg.test(value)) {
$(this).removeClass('error');
}else {
$(this).addClass('error');
}
});
});