Sfoglia il codice sorgente

feat:移动端底部广告位移除悬浮、二级站首页文案区分登录前后场景

yangfeng 10 mesi fa
parent
commit
0974c7a7c7

+ 5 - 5
resource/staticres/js/mobile/detail.js

@@ -7,11 +7,11 @@ var pageDetail = {
     this.bindEvents()
   },
   bindEvents: function () {
-    var _this = this
-    this.isImgLoad(function () {
-      var adHeight = _this.$adBottomImg.height()// 获取图片高度
-      _this.$pageMain.css('padding-bottom', adHeight + 'px')
-    })
+    // var _this = this
+    // this.isImgLoad(function () {
+    //   var adHeight = _this.$adBottomImg.height()// 获取图片高度
+    //   _this.$pageMain.css('padding-bottom', adHeight + 'px')
+    // })
     this.goLogin()
   },
   goLogin: function () {

+ 1 - 1
resource/template/mobile/components/tag-ad-bottom.html

@@ -1,4 +1,4 @@
-<div class="tag-ad-bottom fixed">
+<div>
   {{range $k,$v:=Ad "jybxseo-mobile-detail-bottom" -1}}
   {{if $v}}
   <a class="tag-ad-bottom-container" href='{{GetConfigVal "mobileWebDomain"}}/{{$v.S_link}}'>

+ 1 - 1
resource/template/pc/area_index.html

@@ -46,7 +46,7 @@
             <a class="btn color-main" target="_blank" href="{{GetJyWebDomain}}/page_workDesktop/">工作台</a>
           </div>
           <div class="action-words">
-            <h2 class="words-title">登录后即可免费享受权益</h2>
+            <h2 class="words-title">{{if not $global.hasLogin}}登录后即可免费享受权益{{else}}可享免费权益清单{{end}}</h2>
             <p class="words-text">免费搜索标讯 - <span>不限次、行业、地区</span></p>
             <p class="words-text">免费查看标讯 - <span>不限次、不遮挡</span></p>
             <p class="words-text">免费订阅商机 - <span>52分钟极速推送商机</span></p>