浏览代码

Merge branch 'hotfix/v4.8.31.1_s' of qmx/jy into hotfix/v4.8.31.1

zhangyuhan 2 年之前
父节点
当前提交
50ff9edaaf

+ 1 - 1
src/web/staticres/brand/css/index.css

@@ -6,7 +6,7 @@
   display: block!important;
 }
 #public-nav{
-  /* height: 152px !important; */
+   height: 152px;
 }
 /* 结束 */
 /* 头部按钮 及文案 */

+ 11 - 4
src/web/staticres/public-pc/css/header-nav.css

@@ -14,7 +14,7 @@
 
 .advertising_position {
   width: 100%;
-  /* height: 80px; */
+  height: 80px;
   display: none;
   cursor: pointer;
 }
@@ -33,9 +33,16 @@
   display: none;
 
 }
+.advertising_position .one img {
+  right: -18px;
+}
+.advertising_position .two img {
+  left: -18px;
+}
 .advertising_position .one img,
 .advertising_position .two img{
-  width: 100%;
+  position: absolute;
+  top: 0;
   height: 100%;
 }
 
@@ -128,11 +135,11 @@
   background-color: #E0E0E0;
 }
 .public-nav.light-bg-light-color .logo_box .logo_desc .nav-logo-line{
- 
+
   background-color: rgba(255, 255, 255, 0.4)!important;
 }
 .public-nav.light-bg-dark-color .logo_box .logo_desc .nav-logo-line{
- 
+
   background-color: #E0E0E0!important;
 }
 

+ 0 - 13
src/web/templates/pc/brand/index.html

@@ -520,19 +520,6 @@
     $('.pc-index-bottom .bottom-member-ad').unbind('click').click(function () {
       window.open(bottom_img[0].s_link)
     })
-    var imgheight = ($(window).width()*0.11)/2
-    // $('.advertising_position_index img').eq(0).height()
-    $('.jy-index').css({'padding-top':imgheight+'px'});
-      $('#public-nav').css({'height':(imgheight+72)+'px'});
-      $('.advertising_position_index').css({'height':imgheight+'px'});
-      $('.advertising_position_index a').css({'height':imgheight+'px'}); 
-    $(window).resize(function () {//当浏览器大小变化时
-      var imgheight = ($(window).width()*0.11)/2
-      $('.jy-index').css({'padding-top':imgheight+'px'});
-      $('#public-nav').css({'height':(imgheight+72)+'px'});
-      $('.advertising_position_index').css({'height':imgheight+'px'});
-      $('.advertising_position_index a').css({'height':imgheight+'px'}); 
-    })
   })
 </script>
 </html>

+ 0 - 13
src/web/templates/pc/index.html

@@ -852,19 +852,6 @@
         }
       }
     })
-    var imgheight = ($(window).width()*0.11)/2
-    // $('.advertising_position_brand img').eq(0).height()
-    $('.jy-index').css({'padding-top':imgheight+'px'});
-      $('#public-nav').css({'height':(imgheight+72)+'px'});
-      $('.advertising_position_brand').css({'height':imgheight+'px'});
-      $('.advertising_position_brand a').css({'height':imgheight+'px'}); 
-    $(window).resize(function () {//当浏览器大小变化时
-      var imgheight = ($(window).width()*0.11)/2 //根据比例计算图片宽度
-      $('.jy-index').css({'padding-top':imgheight+'px'});
-      $('#public-nav').css({'height':(imgheight+72)+'px'});
-      $('.advertising_position_brand').css({'height':imgheight+'px'});
-      $('.advertising_position_brand a').css({'height':imgheight+'px'}); 
-    })
   })
   // 弹窗(优化一下?)
   var times = new Date().getTime();