Ver Fonte

采美百科上测试

喻文俊 há 3 anos atrás
pai
commit
614d688bee

+ 10 - 6
src/main/resources/static/js/encyclopedia/index.js

@@ -48,14 +48,18 @@ $(function () {
         //         floor.$floor.find('.more .icon').removeClass('arrowup');
         //     }
         // });
-        if($('.floor-list .floor .section').length < 6 ){
-            $('.more-btn').hide()
-        }
+        $('.floor-list .floor').each(function(index, el){
+            if($(el).find('.section').length < 6){
+                $(el).find('.more-btn').hide();
+            }
+        });
     } else {
         // 移动端
-        if($('.floor-list .floor-title .h5-more-btn a').length < 6 ){
-            $('.more-btn').hide()
-        }
+        $('.floor-list .floor').each(function(index, el){
+            if($(el).find('.section').length < 6){
+                $(el).find('.h5-more-btn').hide();
+            }
+        });
         offset = getScrollOffset(['.navbar', '.category']);
         stickyResponse('#category', getScrollOffset('.banner'), function (e) {
             if (e.sticky) {

+ 1 - 1
src/main/resources/templates/supplier-center/article/article-list.html

@@ -25,7 +25,7 @@
                 <span>&gt;</span>
                 <span>文章列表</span>
             </div>
-            <div class="hot-tip">温馨提示:发布文章有利于曝光您的店铺商品,提高成交量(发布并且审核通过后,可在信息中心搜索您的文章)</div>
+            <div class="hot-tip">温馨提示:多发布文章,发布文章有利于曝光您的店铺商品,提高成交量(发布并且审核通过后,可在信息中心搜索您的文章)</div>
         </div>
         <div class="wrap clear">
             <!--左侧导航-->