...
|
...
|
@@ -25,6 +25,15 @@ function setDetailText() { |
|
|
});
|
|
|
}
|
|
|
|
|
|
function setDefaultHeight() {
|
|
|
var $detailImg = $('.good-detail-img');
|
|
|
|
|
|
$detailImg.css({
|
|
|
height: $detailImg.find('img').height() - 1,
|
|
|
background: '#c3c3c3'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
setDetailText();
|
|
|
|
|
|
$('.detail-tab span').on('click', function() {
|
...
|
...
|
@@ -33,9 +42,19 @@ $('.detail-tab span').on('click', function() { |
|
|
|
|
|
if ($(this).index() === 1) {
|
|
|
setDetailText();
|
|
|
lazyLoad($('img.lazy'));
|
|
|
|
|
|
setTimeout(function() {
|
|
|
setDefaultHeight();
|
|
|
}, 2000);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
setTimeout(function() {
|
|
|
setDefaultHeight();
|
|
|
}, 2500);
|
|
|
|
|
|
|
|
|
window.setCookie('installmentUid', window.queryString.uid);
|
|
|
window.setCookie('udid', window.queryString.udid);
|
|
|
window.setCookie('clientType', window.queryString.client_type); |
...
|
...
|
|