Authored by 王水玲

分期优化

... ... @@ -25,14 +25,14 @@ function setDetailText() {
});
}
function setDefaultHeight() {
var $detailImg = $('.good-detail-img');
$detailImg.css({
height: $detailImg.find('img').height() - 1,
background: '#c3c3c3'
});
}
// function setDefaultHeight() {
// var $detailImg = $('.good-detail-img');
//
// $detailImg.css({
// height: $detailImg.find('img').height() - 1,
// background: '#c3c3c3'
// });
// }
setDetailText();
... ... @@ -44,16 +44,15 @@ $('.detail-tab span').on('click', function() {
setDetailText();
lazyLoad($('img.lazy'));
setTimeout(function() {
setDefaultHeight();
}, 2000);
// setTimeout(function() {
// setDefaultHeight();
// }, 2500);
}
});
setTimeout(function() {
setDefaultHeight();
}, 2500);
// setTimeout(function() {
// setDefaultHeight();
// }, 2500);
window.setCookie('installmentUid', window.queryString.uid);
window.setCookie('udid', window.queryString.udid);
... ...
... ... @@ -82,7 +82,7 @@
.title-box {
margin-left: 22px;
width: 240px;
width: 210px;
.product-name {
overflow: hidden;
... ...