wesmiler 5 anni fa
parent
commit
3fcb176f7a

+ 1 - 1
public/themes/mjmls/index/index/floor/phb.html

@@ -1,5 +1,5 @@
-
 <div class="rank-content mob_none">
+    <img class="bg lazyload" data-src="/themes/mjmls/static/images/bg1.png" >
     <div class="container">
         <div class="fl rank-left">
             <h2 class="hb-title"><i class="fa fa-line-chart"></i>本月人气品牌<a href="/top10/" target="_blank">更多 ></a></h2>

+ 7 - 1
public/themes/mjmls/static/css/index.css

@@ -978,8 +978,14 @@
 	padding-bottom: 30px;
 	background: url(../images/bg1.png) center no-repeat;
 	background-size: cover;
+	position: relative;
+}
+.rank-content .bg {
+	position: absolute;
+	top: 0;
+	z-index: 1;
+	height: 100%;
 }
-
 .rank-left {
 	width: 880px;
 }