Browse Source

feat: 超级订阅落地页添加购买大会员提示

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 4 months ago
parent
commit
8d361df277
2 changed files with 21 additions and 2 deletions
  1. 14 2
      src/web/staticres/css/subscribe_new.css
  2. 7 0
      src/web/templates/pc/subscribe_new.html

+ 14 - 2
src/web/staticres/css/subscribe_new.css

@@ -143,9 +143,9 @@
 
 .sub-contrast .contrast-header {
   width: 100%;
-  height: 31px;
 }
 .sub-contrast .contrast-header .contrast-header-title{
+  margin-bottom: 8px;
   height: 78px;
   background: url("/images/subscribe/contrast-header.png") no-repeat center center;
   background-size: contain;
@@ -170,10 +170,22 @@
   background-position: center;
 }
 
+.sub-contrast .contrast-main-line {
+  margin-top: 40px;
+  text-align: center;
+  line-height: 24px;
+  font-size: 16px;
+  color: #686868;
+}
+.sub-contrast .contrast-main-line > span {
+  color: #C98F37;
+  cursor: pointer;
+}
+
 .sub-contrast .contrast-main {
   width: 100%;
   min-height: 1020px;
-  margin-top: 120px;
+  margin-top: 16px;
 }
 
 .sub-contrast .contrast-main .contrast-main-center {

+ 7 - 0
src/web/templates/pc/subscribe_new.html

@@ -248,6 +248,9 @@
             <span class="split-box--after"></span>
         </div>
     </div>
+    <div class="contrast-main-line">
+      超级订阅不包含超前项目(拟建项目、采购意向)服务。如需超前项目服务,请<span>购买大会员</span>
+    </div>
     <div class="contrast-main">
         <div class="contrast-main-center">
             <div class="center-left">
@@ -669,6 +672,10 @@
           var href = $(this).attr('data-href');
           window.open(href);
         })
+        $('.contrast-main-line span').click(function () {
+          location.href = '/swordfish/page_big_pc/big/pc/page/buy_commit'
+        })
+
     })
 
 </script>