소스 검색

feat:画像芝麻报告增加场景文案

yangfeng 3 일 전
부모
커밋
f1e0ab1463
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/web/staticres/common-module/mobile-portrayal-footer/js/mobile-portrayal-footer.js

+ 1 - 1
src/web/staticres/common-module/mobile-portrayal-footer/js/mobile-portrayal-footer.js

@@ -230,7 +230,7 @@ var mobilePortrayalFooter = {
         if (packageType < 0 && expiredDay) {
           return `<div class="gray-tip-box">您的权益已过期${expiredDay}天,<br>开通权益享特惠</div>`
         } else {
-          return `<div class="highlight-tip-box">${discountMsg}</div>`
+          return  discountMsg ? `<div class="highlight-tip-box">${discountMsg}</div>` : `<p class="gray-tip-box"><span class="highlight-text">开通招投标综合分析权益,<br>看报告更优惠!</span></p>`
         }
       }
     },