Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:230) in /www/wwwroot/www.85520057.com/js.php on line 27
/*-----------------------------------------------------------*/
/*copyright by 动力无限 www.btoe.cn*/
/*邮箱 btoe@btoe.cn*/
/*合作电话 400-0599-360*/
/*版权所有违者必究*/
/*-----------------------------------------------------------*/
//search
window.onload = function () {
$('.search_s').click(function () {
var keywords = $('#keywords').val();
if (keywords == "") {
alert('关键字不能为空!')
$("#keywords").focus();
return false;
} else {
window.open('search_' + keywords + '.html', '_self')
}
})
}
//荣誉资质
const businessLicense = document.querySelector('.businessLicense');
const businessLicenseBox = document.querySelector('.businessLicenseBox');
businessLicense.addEventListener('click', () => {
businessLicenseBox.style.display = 'block';
setTimeout(() => {
businessLicenseBox.style.opacity = '1';
}, 10);
});
const businessLicenseClose = document.querySelector('.businessLicenseClose');
businessLicenseClose.addEventListener('click', () => {
businessLicenseBox.style.opacity = '0';
setTimeout(() => {
businessLicenseBox.style.display = 'none';
}, 300);
});
var element = document.getElementById("businessLicenseImg");
element.style.fill = "#FF0000";
//鼠标跟随样式
$(function () {
var cursor = ''
$('body').append(cursor)
$(document).on('mousemove', function (e) {
$('.follower').css({
left: e.clientX,
top: e.clientY
});
});
$(document).on("mouseenter", "a", function () {
$('.follower span').css({
'width': '10px',
'height': '10px',
'top': '0px',
'left': '0px',
'transition': '.5s'
})
});
$(document).on("mouseleave", "a", function () {
$('.follower span').css({
'width': '20px',
'height': '20px',
'top': '-10px',
'left': '-10px',
'transition': '.5s'
})
});
if (window.innerWidth < 1200) {
$('#c_public_htmlCode-15542567538626617').hide();
}
})
// end
//笔记本默认放大150% 处理方式
function detectZoom() {
var ratio = 0,
screen = window.screen,
ua = navigator.userAgent.toLowerCase();
if (window.devicePixelRatio !== undefined) {
ratio = window.devicePixelRatio;
} else if (~ua.indexOf('msie')) {
if (screen.deviceXDPI && screen.logicalXDPI) {
ratio = screen.deviceXDPI / screen.logicalXDPI;
}
} else if (window.outerWidth !== undefined && window.innerWidth !== undefined) {
ratio = window.outerWidth / window.innerWidth;
}
if (ratio) {
ratio = Math.round(ratio * 100);
}
return ratio;
}
function getWindowHeight() {
var zoom = document.body.style.zoom;
var height = $(window).height();
if (zoom) {
return height / zoom;
}
return height;
}
function getWindowWidth() {
var zoom = document.body.style.zoom;
var width = $(window).width();
if (zoom) {
return width / zoom;
}
return width;
}
window.onresize = function () {
handleScreen()
}
function handleScreen() {
const m = detectZoom();
//alert(m)
document.body.style.zoom = 100 / Number(m);
}
if (detectZoom() == 150) {
document.body.style.zoom = 0.666667;
} else if (detectZoom() == 125) {
document.body.style.zoom = 0.8;
}
$(function () {
$('#xunpanText').hover(function () {
var xunpanText = $(this).data('tiptitle');
$('#xunpantip').css({
top: $(this).outerHeight(true) + 10 + 'px'
})
$('#xunpantip').text(xunpanText)
$('#xunpantip').addClass('xunpantextactive')
}, function () {
$('#xunpantip').removeClass('xunpantextactive')
})
})
/* 导航 */
$('.nav_xiala_xx .w1200 li > a').hover(function () {
$(this).next('.nav_erji').stop().slideDown(400);
}, function () {
$(this).next('.nav_erji').stop().slideUp(400);
$(this).siblings().stop();
});
$('.nav_xiala_xx .w1200 li').mouseleave(function () {
$(this).children('.nav_erji').slideUp(400);
});
$(function () {
var w1 = $(window).width();
var l1 = $(".nav_xiala_xx .nav_erji").eq(0).parent().offset().left;
$(".nav_xiala_xx .nav_erji").eq(0).css('left', -l1);
var l2 = $(".nav_xiala_xx .nav_erji").eq(1).parent().offset().left;
$(".nav_xiala_xx .nav_erji").eq(1).css('left', -l2);
var l3 = $(".nav_xiala_xx .nav_erji").eq(2).parent().offset().left;
$(".nav_xiala_xx .nav_erji").eq(2).css('left', -l3);
$(".nav_xiala_xx .nav_erji").css('width', w1);
event.stopPropagation();
});
$(".nav_xiala_xx .w1200 li").on("mouseover", function () {
setTimeout(() => {
$(this).find(".top").stop().css({
"transform": "translateY(0)",
"transition-delay": ".2s"
})
$(this).find(".bottom").stop().css({
"transform": "translateY(0)",
"transition-delay": ".4s"
})
}, 200)
})
$(".nav_xiala_xx .w1200 li").on("mouseleave", function () {
setTimeout(() => {
$(this).find(".top").stop().css({
"transform": "translateY(20px)",
"transition-delay": ".2s"
})
$(this).find(".bottom").stop().css({
"transform": "translateY(20px)",
"transition-delay": ".1s"
})
}, 200)
})
$(".pro_l_list li:first").addClass("casehover");
$(".pro_l_box .pro_l_nr").eq(0).show();
$(".pro_l_list li").hover(function () {
$(this).addClass("casehover").siblings().removeClass("casehover");
$(".pro_l_box .pro_l_nr").hide().eq($(this).index()).show();
}, function () {
});
//提交
$(function () {
$('.submit-btn').on('click', function () {
var kcontent = $('.xqcontent').val(); //内容
var kuser = $('.username').val(); //名字
var kphones = $('.usertel').val(); //电话
var kcode = $('.codeText').val().trim();//验证码的input
// var kemail = $('.useremail').val();
var reg = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
if (kuser == "") {
alert('姓名不能为空!')
$(".username").focus();
return false;
}
if (kphones == "") {
alert('号码不能为空!')
$(".usertel").focus();
return false;
}
if (!reg.test(kphones)) {
alert('号码填写有误!')
$(".usertel").focus();
return false;
}
if (kcontent == "" || kcontent.length < 10) {
alert('留言内容必须大于10字!')
$(".xqcontent").focus();
return false;
}
if (kcode == "") { //验证码的input
alert('验证码不能为空')
$(".codeText").focus();
return false;
}
$.post('/api/message.ashx?action=add', {
"kcontent": '信息:' + kcontent,
"kuser": kuser,
"kphones": kphones,
"kcode": kcode //验证码的程序调用
}, function (res) {
if (res == 1) {
alert("留言提交成功");
$('.xqcontent').val('');
$('.username').val('');
$('.usertel').val('');
$('.codeText').val('');
} else {
alert("留言提交失败")
}
})
})
})
$('.submit-qc').on('click', function () {
$('.xqcontent').val('');
$('.username').val('');
$('.usertel').val('');
$('.codeText').val('');//验证码的input
});
//验证码刷新
$(".imgcode").click(function () { //验证码图片刷新
$(this)[0].src = '/api/message.ashx?action=code&' + Math.random()
});
// 搜索
$('.searchIco .hide').click(function () {
$(".searchBox").removeClass("searchShow");
$(".searchIco").removeClass("top");
});
$('.searchIco .show').click(function () {
$(".searchBox").addClass("searchShow");
$(".searchIco").addClass("top");
});
$('.searchIco .hide').click(function () {
$(".searchBox").removeClass("searchShow");
$(".searchIco").removeClass("top");
});
function sethome(obj, vrl) {
try {
obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl)
} catch (e) {
if (window.netscape) {
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect")
} catch (e) {
alert("此操作被浏览器拒绝!\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。")
}
var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
prefs.setCharPref('browser.startup.homepage', vrl)
} else {
alert("您的浏览器不支持,请按照下面步骤操作:\n1.打开浏览器设置。\n2.点击设置网页。\n3.输入:" + vrl + "点击确定。")
}
}
}
function collect(sTitle, sURL) {
try {
window.external.addFavorite(sURL, sTitle)
} catch (e) {
try {
window.sidebar.addPanel(sTitle, sURL, "")
} catch (e) {
alert("加入收藏失败,请使用Ctrl+D进行添加")
}
}
}
function pageScroll() {
//把内容滚动指定的像素数(第一个参数是向右滚动的像素数,第二个参数是向下滚动的像素数)
window.scrollBy(0, -100);
//延时递归调用,模拟滚动向上效果
scrolldelay = setTimeout('pageScroll()', 100);
//获取scrollTop值,声明了DTD的标准网页取document.documentElement.scrollTop,否则取document.body.scrollTop;因为二者只有一个会生效,另一个就恒为0,所以取和值可以得到网页的真正的scrollTop值
var sTop = document.documentElement.scrollTop + document.body.scrollTop;
//判断当页面到达顶部,取消延时代码(否则页面滚动到顶部会无法再向下正常浏览页面)
if (sTop == 0) clearTimeout(scrolldelay);
}