产品具有:氟路系统3大抗寒措施和水路系统3大防冻措施
超低温空气热泵热水机组在-25℃可以正常使用,是一款特别适合我国黄河以北地区制热水供暖的节能设备
li>span').click(function () {
if ($(this).text() == '+') {
$(this).text('-');
$('.tree ul[parent=' + $(this).attr('name') + ']').show();
} else {
$(this).text('+');
$('.tree ul[parent=' + $(this).attr('name') + ']').hide();
}
});
$('*:contains(¥0)').each(function () {
if ($(this).html() == '¥0' || $(this).html() == '¥0元') {
$(this).html('面议');
}
});
});
$(document).ready(function () {
$('搜本店').appendTo($('.search'));
$('.preview ul li').click(function () {
$('.preview > div:eq(0) img').attr('src', $(this).find('img').attr('src'));
})
window.scroll_preview = {
interval: null,
div_width: $('.preview > div:eq(1) > div').width(),
ul_width: $('.preview ul > li:last-of-type').position().left + $('.preview ul > li:last-of-type').width() + 6,
};
$('.preview > div b').mouseover(function () {
window.scroll_preview['speed'] = ($(this).index() - 1) * -3;
if (window.scroll_preview.div_width < window.scroll_preview.ul_width) {
window.scroll_preview['interval'] = setInterval(function () {
var u_l = $('.preview ul').position().left;
u_l += window.scroll_preview.speed;
if ((u_l <= 0 && window.scroll_preview.speed > 0) || (u_l >= -window.scroll_preview.ul_width + window.scroll_preview.div_width + window.scroll_preview.speed && window.scroll_preview.speed < 0)) {
$('.preview ul').css({ 'left': u_l + 'px' });
}
}, 20);
}
})
$('.preview > div b').mouseout(function () {
clearInterval(window.scroll_preview['interval'])
})
$('.price ~ *').each(function () {
if (!$(this).find('span').text()) {
$(this).remove();
}
})
$('input[type=button].submit').click(function () {
if ($(this).val().trim() == '提交留言') {
var that = this;
var ids = 'txtname,txtphone,txtcom,txtemail,content'.split(',');
var att = 'name,mobile,org,email,content'.split(',');
var d = {};
for (var i in ids) {
d[att[i]] = $('#' + ids[i]).val().trim();
}
if (!d['name']) {
ZENG.msgbox.show('请填写您的姓名', 5, 3000)
$('#txtname').focus();
return;
}
if (!d['mobile']) {
ZENG.msgbox.show('请填写您的联系电话', 5, 3000)
$('#txtphone').focus();
return;
}
if (!/^(1[0-9]{10}|0[1-9][0-9]{8}|0[\d]+[-]\d{7,8}([-]\d+)?)$/gi.test(d['mobile'])) {
ZENG.msgbox.show('请填写正确的手机号码或带区号的座机号码,仅支持数字和减号', 5, 3000)
$('#txtphone').focus();
return;
}
if (!d['org']) {
ZENG.msgbox.show('请填写您的单位名称', 5, 3000)
$('#txtcom').focus();
return;
}
if (d['email'] && !/^[a-z0-9_\.-]+@[a-z0-9_-]+(\.[a-z0-9_-]+)+$/.test(d['email'])) {
ZENG.msgbox.show('请填写正确的电子信箱或者不填', 5, 3000)
$('#txtemail').focus();
return;
}
if (!d['content']) {
ZENG.msgbox.show('请填写您的留言内容', 5, 3000)
$('#content').focus();
return;
}
//if (!d['safecode']) {
// ZENG.msgbox.show('请填写正确的图形验证码', 5, 3000)
// $('#safecode').focus();
// return;
//}
d['url'] = location.href;
$(this).attr('value', ' 正在提交 ');
$.ajax({
url: '/ajax/comment.aspx',
type: 'POST',
data: d,
success: function (data) {
var r = eval('(' + data + ')');
if (r['error']) {
ZENG.msgbox.show(r['error'], 5, 3000);
$(that).attr('value', ' 提交留言 ');
} else {
ZENG.msgbox.show('留言提交成功', 4, 3000);
$(that).attr('value', ' 提交成功 ');
$('#mask').click();
}
$(that).parent().parent().find('img').click();
}
});
}
});
})