2016-09-24 14:13:22
质量工程师
$(function(){
$('.recruit-close-btn').click(function(){
$('.recruit-ajax-bg').stop().fadeOut();
})
$('.yaoqiu0').slimScroll({
width: '100%',
height: '100%',
color: '#53bcac', //滚动条颜色
size: '5px',
position :'right',
opacity: 1,
distance: '0',
railVisible: true, //是否 显示轨道
railColor: '#ddd', //轨道颜色
railOpacity: 1, //轨道透明度
railDraggable: true, //是否 滚动条可拖动
alwaysVisible: false, //是否 始终显示组件
railClass: 'slimScrollRail', //轨道div类名
disableFadeOut: true, //是否 鼠标经过可滚动区域时显示组件,离开时隐藏组件
});
})
$(function(){
var swiper11 = new Swiper('.m-right-banner', {
paginationClickable: true,
centeredSlides: false,
slidesPerView: 5,
spaceBetween: 0,
autoplay: false,
loop: false,
autoplayDisableOnInteraction: false,
slideToClickedSlide:false,
initialSlide:1,
breakpoints: {
600: {
slidesPerView: 4,
}
}
});
$(".recruit-wrap0").on('click','.join-items0',function(){
var _h0 = $('.recruit-dt-wrap').height();
var _hTop = $('.recruit-name').height();
var _hA = $('.toForm-a').height();
var _h0p = parseInt($('.recruit-dt-wrap').css('padding-bottom'));
$('.yaoqiu-wrap').height(_h0 - _hTop - _hA -_h0p);
// console.log($('.yaoqiu-wrap').height());
// console.log(_h0);
// console.log(_hTop);
// console.log(_hA);
// console.log(_h0p);
// console.log(_h0);
})
$('.join-dt').slimScroll({
width: '100%',
height: '100%',
color: '#e8e8e8', //滚动条颜色
size: '1px',
position :'right',
opacity: 1,
distance: '0',
railVisible: true, //是否 显示轨道
railColor: '#e9e9e9', //轨道颜色
railOpacity: 1, //轨道透明度
railDraggable: true, //是否 滚动条可拖动
alwaysVisible: false, //是否 始终显示组件
railClass: 'slimScrollRail', //轨道div类名
});
})