//=== viewid:dh_style_28_1662515309473 ===//
$(function(){
$("#dh_style_28_1662515309473 li a").attr("target","_blank");
})
//=== viewid:dh_style_28_1662515309473 ===//
/*pc,鎵嬫満鏄剧ず闅愯棌*/
function is_mobile(){
return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767);
}
var is_mobile_boolean = is_mobile();
$(function(){
/*pc,鎵嬫満鏄剧ず闅愯棌*/
$("#dh_style_28_1662515309473 li").each(function(){
if($(this).find("ul") && $(this).find("ul").length != 0){
$(this).children("a").removeAttr('href');
if(is_mobile_boolean){
$(this).children("a").attr('onclick','navSwtich(this)');
}
}
});
})
//=== viewid:dh_style_28_1662515309473 ===//
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_1662515309473(){
$("#dh_style_28_1662515309473 .menuUl>li").each(function(){
$(this).find(".menuUl03").css("left",'100%');
})
}
$(window).resize(function() {
subLeft_dh_style_28_1662515309473();
})
$(function(){
$("#dh_style_28_1662515309473 .fa-navicon").click(function(){
$("#dh_style_28_1662515309473").addClass('clearTransform');
$("#dh_style_28_1662515309473 .menuUlCopy").each(function(){
$(this).siblings(".fa").show();
})
})
subLeft_dh_style_28_1662515309473();
$("#dh_style_28_1662515309473 .subBox").css("top",$("#dh_style_28_1662515309473 .menuUl_box").height());
if($("#dh_style_28_1662515309473 .menuUl").hasClass("noHover")){
var tabNum = 0;
$("#dh_style_28_1662515309473 .menuUl>li").find(".Onsub").each(function(){
tabNum += 1;
$(this).parent().attr("tabNum",tabNum)
})
$("#dh_style_28_1662515309473 .menuUl>li .Onsub").mouseover(function(){
$("#dh_style_28_1662515309473 .subBox").show();
var index = $(this).parent().attr("tabNum");
$("#dh_style_28_1662515309473 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide();
$("#dh_style_28_1662515309473 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide();
})
$("#dh_style_28_1662515309473 .subBox").mouseleave(function(){
$(this).hide();
});
$("#dh_style_28_1662515309473 .menuUl>li .Nosub").mouseover(function(){
$("#dh_style_28_1662515309473 .subBox").hide();
})
//椋庢牸41 42
}
})
var color = $('#dh_style_28_1662515309473 .menuStyle_28 .menuUl02 .subMenu02').css('background-color');
$('#dh_style_28_1662515309473 .menuStyle_28').append(``);
$('#dh_style_28_1662515309473 .menuStyle_28 .menuUl02 .subMenu02').mouseover(function(){
let that = $(this);
setTimeout(function(){
var hoverColor = that.css('background-color');
$('#dh_style_28_1662515309473 .menuStyle_28').append(``);
},100);
});
//=== viewid:clock_style_1_1662516122036,video_style_02_1681184982194 ===//
$(document).ready(function(){
});
//=== viewid:clock_style_1_1662516122036 ===//
//--
$(function(){
var viewid="clock_style_1_1662516122036";
var sys_url="viewid=clock_style_1_1662516122036&name=clock&style=style_1&langid=0&pageid=301417&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.moreParamsclock_style_1_1662516122036;
}
}
RequestURL(viewid,sys_url,moreParams);
});
//--
//=== viewid:clock_style_1_1662516122036 ===//
var timeclock_style_1_1662516122036 = "2024-03-12 23:59:59";
var endDayclock_style_1_1662516122036 = new Date(Date.parse(timeclock_style_1_1662516122036));
// var weekNum = endDayclock_style_1_1662516122036.getDay(); //杩斿洖0-6 0瀵瑰簲鐨勬槸鍛ㄦ棩
var starttimeclock_style_1_1662516122036 = timeclock_style_1_1662516122036.replace(new RegExp("-","gm"),"/");
var dayArrclock_style_1_1662516122036 = new Array(),hourArrclock_style_1_1662516122036 = new Array(),minuteArrclock_style_1_1662516122036 = new Array(),secondArrclock_style_1_1662516122036 = new Array();
function getTimeFunc_clock_style_1_1662516122036() {
var endTimeclock_style_1_1662516122036 = (new Date(starttimeclock_style_1_1662516122036)).getTime();
var nowTimeclock_style_1_1662516122036 = new Date();
nowTimeclock_style_1_1662516122036 = nowTimeclock_style_1_1662516122036.getTime();
var centerTimeclock_style_1_1662516122036 = endTimeclock_style_1_1662516122036 - nowTimeclock_style_1_1662516122036;
let daysclock_style_1_1662516122036 = Math.floor(centerTimeclock_style_1_1662516122036 / (1000 * 60 * 60 * 24));
銆€銆€let hoursclock_style_1_1662516122036 = Math.floor((centerTimeclock_style_1_1662516122036 % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
銆€銆€let minutesclock_style_1_1662516122036 = Math.floor((centerTimeclock_style_1_1662516122036 % (1000 * 60 * 60)) / (1000 * 60));
銆€銆€let secondsclock_style_1_1662516122036 = Math.floor(centerTimeclock_style_1_1662516122036 % (1000 * 60) / 1000);
var timerclock_style_1_1662516122036 = '';
if( centerTimeclock_style_1_1662516122036 <= 0 && timerclock_style_1_1662516122036) {
clearInterval(timerclock_style_1_1662516122036);
daysclock_style_1_1662516122036 = hoursclock_style_1_1662516122036 = minutesclock_style_1_1662516122036 = secondsclock_style_1_1662516122036 = 0;
}
if( centerTimeclock_style_1_1662516122036 <= 0) {
daysclock_style_1_1662516122036 = hoursclock_style_1_1662516122036 = minutesclock_style_1_1662516122036 = secondsclock_style_1_1662516122036 = 0;
}
// 椋庢牸6娓叉煋
// 椋庢牸7娓叉煋
var html_days = '',html_hours = '',html_minutes = '',html_seconds = '';
}
getTimeFunc_clock_style_1_1662516122036();
var timerclock_style_1_1662516122036 = setInterval(getTimeFunc_clock_style_1_1662516122036,1000);
//=== viewid:clock_style_1_1662516122036 ===//
$(function () {
start_clock_clock_style_1_1662516122036();
});
function start_clock_clock_style_1_1662516122036() {
setTimeout(update_clock_clock_style_1_1662516122036, 1000);
}
function update_clock_clock_style_1_1662516122036() {
var clock = $('#clock_style_1_1662516122036 .clock'),
options = {
'timezone':clock.attr('data-timezone'),
'with_leading_zeros':clock.attr('data-with_leading_zeros'),
'hour_format':clock.attr('data-hour_format'),
'template':clock.attr('data-template')
},
time = get_time_info(options);
clock.find('.year').html(time['year']);
clock.find('.month').html(time['month']);
clock.find('.date').html(time['date']);
clock.find('.hours').html(time['hours']);
clock.find('.minutes').html(time['minutes']);
clock.find('.seconds').html(time['seconds']);
clock.find('.am-pm').html(time['am-pm']);
clock.find('.year').html(time['year']);
setTimeout(update_clock_clock_style_1_1662516122036, 1000);
}
function get_time_info(options) {
var date = get_time_in_zone(options.timezone), result;
result = {
'year' : date.getFullYear(),
'month' : _val(date.getMonth() + 1, options.with_leading_zeros),
'date' : _val(date.getDate(), options.with_leading_zeros),
'hours' : _val(options.hour_format == 12 && date.getHours() > 12 ? date.getHours() % 12 : date.getHours(), options.with_leading_zeros),
'minutes' : _val(date.getMinutes(), true),
'seconds' : _val(date.getSeconds(), true),
'am-pm' : date.getHours() < 12 ? 'AM' : 'PM',
'week-index' : date.getDay()
};
var weeks, months, am_pm;
switch(options.template) {
case 'english':
weeks = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sept', 'Oct', 'Nov', 'Dec'];
result['month'] = months[result['month'] - 1];
break;
case 'default': default:
weeks = ['鏄熸湡澶?, '鏄熸湡涓€', '鏄熸湡浜?, '鏄熸湡涓?, '鏄熸湡鍥?, '鏄熸湡浜?, '鏄熸湡鍏?];
am_pm = ['涓婂崍', '涓嬪崍'];
result['am-pm'] = result['am-pm'] == 'am' || result['am-pm'] == 'AM' ? am_pm[0] : am_pm[1];
break;
}
result['week-name'] = weeks ? weeks[result['week-index']] : '';
return result;
}
function get_timezone_offset(timezone) {
var timezone_list = {
'Etc/GMT+5': -5,
'UTC': 0,
'GMT+0': 0,
'Etc/GMT-8': 8,
'PRC': 8,
'Etc/GMT-9': 9
};
return timezone_list[timezone] !== undefined ? timezone_list[timezone] : 0;
}
function get_utc_time() {
var date = new Date(), local = date.getTime(), offset = date.getTimezoneOffset() * 60000;
return local + offset;
}
function get_time_in_zone(timezone) {
return new Date(get_utc_time() + 3600000 * get_timezone_offset(timezone));
}
function _val(val, with_leading_zeros) {
return '' + (val < 10 && with_leading_zeros ? '0' : '') + val;
}
//=== viewid:text_style_04_1662516323615 ===//
//=== viewid:text_style_04_1662516323615 ===//
if(false) {
if(0 == 2 || 0 == 3){
$('#text_style_04_1662516323615 #listUl1 li').each(function (i) {
if (i < 1) {
$(this).show();
} else {
$(this).hide();
}
})
}
}
$(function(){
var box1 = $('#text_style_04_1662516323615 .conDiv');
var box2 = $('#text_style_04_1662516323615 .listDiv');
var ul1 = $('#text_style_04_1662516323615 #listUl1');
var ul2 = $('#text_style_04_1662516323615 #listUl2');
var item_num = 0, main_num = 0, padding_num = 0, margin_num = 0, type_num = 0;
var direction = 0;
var rollDirection = 'left';
if(!false){
function heightFunc(){
$('#text_style_04_1662516323615 #listUl1 li').each(function(i){
if( direction == 2 || direction == 3) {
padding_num = parseFloat($(this).css('paddingBottom')) + parseFloat($(this).css('paddingTop'));
margin_num = parseFloat($(this).css('marginBottom')) + parseFloat($(this).css('marginBottom'));
type_num = $(this).height();
}else{
padding_num = parseFloat($(this).css('paddingLeft')) + parseFloat($(this).css('paddingRight'));
margin_num = parseFloat($(this).css('marginLeft')) + parseFloat($(this).css('marginRight'));
$(this).width('auto');
ul2.find('li').eq(i).width('auto');
type_num = $(this).width();
}
if (i < 1) {
item_num += type_num + padding_num + margin_num;
}
main_num += type_num + padding_num + margin_num;
});
if( direction == 2 || direction == 3 ) {
rollDirection = 'top';
box1.height(item_num);
}else{
rollDirection = 'left';
ul1.css('width','auto');
ul2.css('width','auto');
box2.width(main_num*2+5);
if(main_num <= $('#text_style_04_1662516323615 .scrollDiv').width()){
ul1.width($('#text_style_04_1662516323615 .scrollDiv').width());
ul2.width($('#text_style_04_1662516323615 .scrollDiv').width());
box2.width($('#text_style_04_1662516323615 .scrollDiv').width()*2+5);
main_num = $('#text_style_04_1662516323615 .scrollDiv').width();
}
}
}
heightFunc();
$(window).resize(function(){
item_num = 0;
main_num = 0;
heightFunc();
});
ul2.html(ul1.html());
var value = 0;
var speed = 40;
if( direction == 0 || direction == 3) {
box2.css(rollDirection,'0px');
}else{
box2.css(rollDirection,-main_num+'px');
}
function scrollFunc(){
if(direction == 0 || direction == 3){
if(parseInt(box2.css(rollDirection)) <= -main_num) {
value = 0;
}else{
value --;
}
}else{
if(parseInt(box2.css(rollDirection)) >= 0) {
value = -main_num;
}else{
value = parseInt(box2.css(rollDirection)) + 1;
}
}
box2.css(rollDirection,value+'px');
}
var timer = setInterval(scrollFunc,speed);
box1.mouseover(function(){
clearInterval(timer);
}).mouseout(function(){
timer = setInterval(scrollFunc,speed);
});
}
});
//=== viewid:qqol_style_05_1662543356067 ===//
$('#qqol_style_05_1662543356067 .item_box.backup').click(function(){
$('html , body').animate({scrollTop: 0},'slow');
});
//=== viewid:qqol_style_05_1662543356067 ===//
//璐墿杞
if(typeof showcart !== 'function'){
function showcart(){
var langid = 0;
if (langid==0 && BodyIsFt) langid = 1;
if(window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767)){
location.href = "//s143js.nicebox.cn/exusers/u_cart.php?idweb=25415&act=show&lang="+langid+"&ismobile=1";
}else{
document.getElementById("boxName").innerHTML="鏌ョ湅璐墿杞?;
if(document.getElementById("boxClose")) document.getElementById("boxClose").innerHTML="脳";
document.getElementById("showiframe").src="//s143js.nicebox.cn/exusers/u_cart.php?idweb=25415&act=show&lang="+langid+"&v=9";
box.Show({width:'1000px', height:'600px'});
}
}
}
//鍒ゆ柇鏄惁鏄墜鏈?鐢ㄤ簬澶勭悊QQ鐢佃剳绔強鎵嬫満绔摼鎺ヤ笉涓€鑷撮棶棰
var mobile_flag = isMobile();
if(mobile_flag){
$('#qqol_style_05_1662543356067 .qq_pc').hide();
$('#qqol_style_05_1662543356067 .qq_mobile').show();
}
function isMobile() {
var userAgentInfo = navigator.userAgent;
var mobileAgents = [ "Android", "iPhone", "SymbianOS", "Windows Phone", "iPad","iPod"];
var mobile_flag = false;
//鏍规嵁userAgent鍒ゆ柇鏄惁鏄墜鏈
for (var v = 0; v < mobileAgents.length; v++) {
if (userAgentInfo.indexOf(mobileAgents[v]) > 0) {
mobile_flag = true;
break;
}
}
var screen_width = window.screen.width;
var screen_height = window.screen.height;
//鏍规嵁灞忓箷鍒嗚鲸鐜囧垽鏂槸鍚︽槸鎵嬫満
if(screen_width < 500 && screen_height < 800){
mobile_flag = true;
}
return mobile_flag;
}
//=== viewid:qqol_style_05_1662543356067 ===//
// 瀵硅緭鍏ュ唴瀹逛腑鐨勫皷鎷彿銆佸紩鍙风瓑杩涜杞箟
function html_encode(str) {
var s = "";
if (str.length == 0) return "";
s = str.replace(/&/g, "&");
s = s.replace(//g, ">");
s = s.replace(/ /g, " ");
s = s.replace(/\'/g, "'");
s = s.replace(/\"/g, """);
s = s.replace(/\n/g, "
");
return s;
}
function html_decode(str) {
var s = "";
if (str.length == 0) return "";
s = str.replace(/&/g, "&");
s = s.replace(//g, ">");
s = s.replace(/ /g, " ");
s = s.replace(/'/g, "\'");
s = s.replace(/"/g, "\"");
s = s.replace(/
/g, "\n");
return s;
}
//=== viewid:dh_style_47_1691244610968 ===//
$(function(){
//涓嬬骇鏍忕洰灞曞紑鏀剁缉
$('.menuStyle_47 .mainMenuText,.menuStyle_47 .subMenu02Text').unbind('click').click(function(){
$(this).siblings('.menuUl').slideToggle();
$(this).children('.fa.fa-angle-down').toggleClass('open');
$(this).parent().siblings().children('.menuUl').slideUp();
$(this).parent().siblings().children('.mainMenuText,.subMenu02Text').children('.fa.fa-angle-down').removeClass('open');
});
//鐐瑰嚮鏍忕洰鏁翠綋灞曞紑
$('.menuStyle_47 .menuBtn .menuIcon').unbind('click').click(function(){
$(this).parent().siblings('.bgView').show();
$(this).parents('.style_47.dh').addClass('clearTransform');
});
//鐐瑰嚮鏍忕洰鏁翠綋鏀剁缉
$('.menuStyle_47 .bgView,.menuStyle_47 .closeBtn').unbind('click').click(function(){
hideDhFunc($(this).parents('.menuStyle_47'));
});
//鏍忕洰鏁翠綋鏀剁缉浜嬩欢
function hideDhFunc(parentObj){
parentObj.find('.bgView').hide();
}
//鐐瑰嚮璺宠浆
$('.menuStyle_47 .menuLink').unbind('click').click(function(){
let modelParent = $(this).parents('.menuStyle_47');
let newWinShow = modelParent.attr('newWinShow'); //on
let sonLength = $(this).siblings('.fa-angle-down').length;
if(newWinShow != 'on' || sonLength==0){
stopPropagation();
window.open($(this).attr('url'),modelParent.attr('target'));
}
});
$('.menuStyle_47 .hideBgView').unbind('click').click(function(){
stopPropagation();
});
//闃绘鍐掓场
function stopPropagation(e) {
e = e ||window.event;
if(e.stopPropagation) { //W3C闃绘鍐掓场鏂规硶
e.stopPropagation();
} else{
e.cancelBubble = true; //IE闃绘鍐掓场鏂规硶
}
}
});
//=== viewid:dh_style_47_1691244610968 ===//
$(function(){
$("#dh_style_47_1691244610968 li a").attr("target","_blank");
})
//=== viewid:dh_style_47_1691244610968 ===//
/*pc,鎵嬫満鏄剧ず闅愯棌*/
function is_mobile(){
return window.screen.width<767 || ($('body').width() > 0 && $('body').width() < 767);
}
var is_mobile_boolean = is_mobile();
$(function(){
/*pc,鎵嬫満鏄剧ず闅愯棌*/
$("#dh_style_47_1691244610968 li").each(function(){
if($(this).find("ul") && $(this).find("ul").length != 0){
$(this).children("a").removeAttr('href');
if(is_mobile_boolean){
$(this).children("a").attr('onclick','navSwtich(this)');
}
}
});
})
//=== viewid:dh_style_47_1691244610968 ===//
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_47_1691244610968(){
$("#dh_style_47_1691244610968 .menuUl>li").each(function(){
$(this).find(".menuUl03").css("left",'100%');
})
}
$(window).resize(function() {
subLeft_dh_style_47_1691244610968();
})
$(function(){
$("#dh_style_47_1691244610968 .fa-navicon").click(function(){
$("#dh_style_47_1691244610968").addClass('clearTransform');
$("#dh_style_47_1691244610968 .menuUlCopy").each(function(){
$(this).siblings(".fa").show();
})
})
subLeft_dh_style_47_1691244610968();
$("#dh_style_47_1691244610968 .subBox").css("top",$("#dh_style_47_1691244610968 .menuUl_box").height());
if($("#dh_style_47_1691244610968 .menuUl").hasClass("noHover")){
var tabNum = 0;
$("#dh_style_47_1691244610968 .menuUl>li").find(".Onsub").each(function(){
tabNum += 1;
$(this).parent().attr("tabNum",tabNum)
})
$("#dh_style_47_1691244610968 .menuUl>li .Onsub").mouseover(function(){
$("#dh_style_47_1691244610968 .subBox").show();
var index = $(this).parent().attr("tabNum");
$("#dh_style_47_1691244610968 .subBox .subItems").eq(index-1).fadeIn(100).siblings().hide();
$("#dh_style_47_1691244610968 .subBox .subMenuImgArea .subMenuImgCon").eq(0).fadeIn(100).siblings().hide();
})
$("#dh_style_47_1691244610968 .subBox").mouseleave(function(){
$(this).hide();
});
$("#dh_style_47_1691244610968 .menuUl>li .Nosub").mouseover(function(){
$("#dh_style_47_1691244610968 .subBox").hide();
})
//椋庢牸41 42
}
})
//=== viewid:dh_style_menu2_01_1694574455815,dh_style_menu2_01_1658150006131,dh_style_menu2_01_1658309047446,dh_style_menu2_01_1615986167500 ===//
// 椋庢牸style_menu2_03 浜や簰
//=== viewid:image_style_11_1603697139845 ===//
$(function(){
let obj = $("#image_style_11_1603697139845");
let picItems = obj.find("li.imgItems");
let num = 0;
let picBox;
picItems.click(function(){
let topH = $(window).scrollTop();
let index = $(this).index();
let curPic = $(this).find(".theimgdiv").css("backgroundImage");
let curIcon,curIconStyle,curPicStyle;
if(curPic){
curPic = curPic.replace('url(','').replace(')','').replaceAll('"','').replaceAll("'",'');
curPicStyle = '';
curIcon = '';
curIconStyle = 'display:none;';
}else{
curPic = '';
curPicStyle = 'display:none;';
curIcon = $(this).find(".bbx-new-font").text();
curIconStyle = $(this).find(".bbx-new-font").attr('style');
}
num = index;
let html = "