猜你喜欢

换一批

对比栏

隐藏对比栏
对比 清空对比栏
ar barcodeW=$('.tiaoxingma').css('width'); $('.tiaoxingma').css('height', barcodeW); $(window).on('resize', function(){ barcodeW=$('.tiaoxingma').css('width'); $('.tiaoxingma').css('height', barcodeW); }) } // .floor-goods-pics-wrapper下面的img高度自适应 // var goodsPicW=$('.floor-goods-pics-wrapper img').css('width'); // var goodsPicH=$('.floor-goods-pics-wrapper img').css('height',goodsPicW); $(window).on('resize', function(){ goodsPicW=$('.floor-goods-pics-wrapper img').css('width'); // goodsPicH=$('.floor-goods-pics-wrapper img').css('height',goodsPicW); }) //右侧导航滑动显示内容 $("#floor_content_right li:not(lastChild)").on('mouseenter', function(){ $(this).addClass('selectFloor').siblings().removeClass("selectFloor"); $(this).removeClass('noselectFloor').siblings().addClass("noselectFloor"); }) $("#floor_content_right li:not(lastChild)").on('mouseleave', function(){ $(this).removeClass('selectFloor').siblings().removeClass("selectFloor"); $(this).addClass('noselectFloor').siblings().addClass("noselectFloor"); }) })