...
|
...
|
@@ -493,7 +493,7 @@ define('yohood', function(require, exports) { |
|
|
relatedTop = relatedPost.offset().top;
|
|
|
relatedH = relatedPost.outerHeight();
|
|
|
maxH = $('.limited-goods').offset().top;
|
|
|
if ($('.bd') > $(window).height()) {
|
|
|
if ($('.bd').outerHeight() > $(window).height()) {
|
|
|
$(window).on('scroll', function() {
|
|
|
if ($(this).scrollTop() >= relatedTop) {
|
|
|
relatedPost.addClass('fix');
|
...
|
...
|
@@ -636,7 +636,7 @@ define('yohood', function(require, exports) { |
|
|
tabTop = oTab.offset().top,
|
|
|
tabH = oTab.outerHeight(),
|
|
|
maxH = $('.limited-goods').offset().top;
|
|
|
if ($('.bd') > $(window).height()) {
|
|
|
if ($('.bd').outerHeight() > $(window).height()) {
|
|
|
$(window).on('scroll', function() {
|
|
|
if ($(this).scrollTop() >= tabTop) {
|
|
|
oTab.addClass('fix');
|
...
|
...
|
|