zhouna 3 rokov pred
rodič
commit
65a4a28799
2 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 1 1
      src/css/cdssHorizontal.less
  2. 2 2
      src/js/cdssHorizontal.js

+ 1 - 1
src/css/cdssHorizontal.less

@@ -298,7 +298,7 @@
   left: 0;
   top: 5px;
   background: #fff;
-  border: 1px solid #3b9ed0;
+  border: 1px solid @bgcBlue;
   box-sizing: border-box;
   border-radius: 1px;
   padding: 0 0 0 80px;

+ 2 - 2
src/js/cdssHorizontal.js

@@ -510,8 +510,8 @@ function renderPushWarning() {
       moreInfo()
       const hasTipsNum = $(".moduleItem.tips").length;
       if (hasTipsNum) {
-        let tipsHei = $(".tips-cont .moduleBox")[0].scrollHeight;
-        if (tipsHei > 81) {
+        let tipNum = $(".tips-cont .billingPushItem").length;
+        if (tipNum > 3) {
           $(".tips-cont").append(`<span class="showMoreNewPage">更多</span>`)
           tipsMsg = result
           showMoreNewPage()