...
|
...
|
@@ -117,7 +117,8 @@ $('.info-list .title, .one-good .reco-name').each(function() { |
|
|
});
|
|
|
|
|
|
//offset.left约等于marginLeft的值则表示介绍被换行,则清除intro的paddingTop让其更靠近头像和作者名
|
|
|
if ($authorIntro && (parseInt($authorIntro.offset().left, 10) === parseInt($authorIntro.css('margin-left'), 10))) {
|
|
|
if ($authorIntro.offset()
|
|
|
&& (parseInt($authorIntro.offset().left, 10) === parseInt($authorIntro.css('margin-left'), 10))) {
|
|
|
$authorIntro.css('padding-top', 0);
|
|
|
}
|
|
|
|
...
|
...
|
|