瀏覽代碼

feat: 支持芝麻权益卡相关显示2

zhangyuhan 1 周之前
父節點
當前提交
1f1e8a74ee

+ 1 - 1
src/jfw/modules/app/src/web/templates/commonPay/checkout.html

@@ -463,7 +463,7 @@
           }
         }
 
-        if (echoInfo['target-level']) {
+        if (echoInfo['target-level'] && echoInfo['target-level'] !== '单份') {
           $('.target-level-module').show()
         } else {
           $('.target-no-level-module').show()

+ 1 - 1
src/jfw/modules/app/src/web/templates/commonPay/paySuccess.html

@@ -105,7 +105,7 @@
               <div class="info-item"></div>
             {{else if eq .T.doType "analysisReport"}}
             <div class="analysis-report-container info-item" name="芝麻信用共建分析报告">
-              <p class="analysis-report-container target-level-module info-label">您已开通芝麻信用共建分析报告权益【<span name="target-level"></span>】,</p>
+              <p class="analysis-report-container target-level-module info-label" style="display: none">您已开通芝麻信用共建分析报告权益【<span name="target-level"></span>】,</p>
               <p class="analysis-report-container info-label">PDF版报告将发送至您的邮箱,请留意查收。</p>
               <p class="analysis-report-container info-label is-hight"><span name="target-email">{{.T.email}}</span></p>
             </div>

+ 3 - 3
src/web/templates/order/pc/paySuccess.html

@@ -112,8 +112,8 @@
             {{else if eq .T.orderType "analysisReport"}}
               <p style="margin-top: 6px;"> 购买成功!</p>
               <p class="file-info datapackage-money-tip-group">¥<span name="file-price"></span></p>
-              <p class="target-level-module analysis-report-container file-info" style="margin-top: 20px">芝麻信用共建分析报告</p>
-              <p class="target-level-module analysis-report-container file-info is-bold">权益卡:<span name="target-level"></span></p>
+              <p class="target-level-module analysis-report-container file-info" style="margin-top: 20px;display: none;">芝麻信用共建分析报告</p>
+              <p class="target-level-module analysis-report-container file-info is-bold"  style="display: none;">权益卡:<span name="target-level"></span></p>
 
               <p class="analysis-report-container file-info" style="margin-top: 16px">PDF版报告将发送至您的邮箱,请留意查收。</p>
               <p class="analysis-report-container file-info is-hight"><span name="target-email">{{.T.email}}</span></p>
@@ -256,7 +256,7 @@
         $("#analysis-report-countdown").text(count--);
         if (count < 1) {
           clearInterval(window.__report_timer__)
-          window.location.href = "/swordfish/page_big_pc/report/analysis/detail?code={{.T.orderCode}}";
+          // window.location.href = "/swordfish/page_big_pc/report/analysis/detail?code={{.T.orderCode}}";
         }
       }
 

+ 1 - 1
src/web/templates/weixin/commonPay/checkout.html

@@ -563,7 +563,7 @@
           }
         }
 
-        if (echoInfo['target-level']) {
+        if (echoInfo['target-level'] && echoInfo['target-level'] !== '单份') {
           $('.target-level-module').show()
         } else {
           $('.target-no-level-module').show()

+ 1 - 1
src/web/templates/weixin/commonPay/paySuccess.html

@@ -90,7 +90,7 @@
             <div class="info-item"></div>
             {{else if eq .T.doType "analysisReport"}}
             <div class="analysis-report-container info-item" name="芝麻信用共建分析报告">
-              <p class="analysis-report-container target-level-module info-label">您已开通芝麻信用共建分析报告权益【<span name="target-level"></span>】,</p>
+              <p class="analysis-report-container target-level-module info-label" style="display: none">您已开通芝麻信用共建分析报告权益【<span name="target-level"></span>】,</p>
               <p class="analysis-report-container info-label">PDF版报告将发送至您的邮箱,请留意查收。</p>
               <p class="analysis-report-container info-label is-hight"><span name="target-email">{{.T.email}}</span></p>
             </div>