Authored by 梁志锋

modify css

@@ -56,20 +56,15 @@ @@ -56,20 +56,15 @@
56 box-sizing: border-box; 56 box-sizing: border-box;
57 float: left; 57 float: left;
58 width: 213.3rem / $pxConvertRem; 58 width: 213.3rem / $pxConvertRem;
59 - height: 213.3rem / $pxConvertRem;  
60 overflow: hidden; 59 overflow: hidden;
61 .img-wrapper { 60 .img-wrapper {
62 - position: absolute;  
63 top: 0; 61 top: 0;
64 left: 0; 62 left: 0;
65 z-index: 0; 63 z-index: 0;
66 display: block; 64 display: block;
67 width: 213.3rem / $pxConvertRem; 65 width: 213.3rem / $pxConvertRem;
68 - height: 213.3rem / $pxConvertRem;  
69 img { 66 img {
70 width: 213.3rem / $pxConvertRem; 67 width: 213.3rem / $pxConvertRem;
71 - height: 213.3rem / $pxConvertRem;  
72 - max-width: 100%;  
73 max-height: 100%; 68 max-height: 100%;
74 } 69 }
75 } 70 }
@@ -83,20 +78,14 @@ @@ -83,20 +78,14 @@
83 box-sizing: border-box; 78 box-sizing: border-box;
84 float: left; 79 float: left;
85 width: 320rem / $pxConvertRem; 80 width: 320rem / $pxConvertRem;
86 - height: 320rem / $pxConvertRem;  
87 - overflow: hidden;  
88 .img-wrapper { 81 .img-wrapper {
89 - position: absolute;  
90 top: 0; 82 top: 0;
91 left: 0; 83 left: 0;
92 z-index: 0; 84 z-index: 0;
93 display: block; 85 display: block;
94 width: 320rem / $pxConvertRem; 86 width: 320rem / $pxConvertRem;
95 - height: 320rem / $pxConvertRem;  
96 img { 87 img {
97 width: 320rem / $pxConvertRem; 88 width: 320rem / $pxConvertRem;
98 - height: 320rem / $pxConvertRem;  
99 - max-width: 100%;  
100 max-height: 100%; 89 max-height: 100%;
101 } 90 }
102 } 91 }
@@ -6,9 +6,9 @@ @@ -6,9 +6,9 @@
6 {{/ title}} 6 {{/ title}}
7 7
8 {{# list}} 8 {{# list}}
9 - <div class="newfestival-recom-item clearfix"> 9 + <div class="newfestival-recom-item">
10 <a href="{{url}}" class="img-wrapper"> 10 <a href="{{url}}" class="img-wrapper">
11 - <img class="lazy" data-original="{{src}}" alt=""> 11 + <img class="lazy" data-original="{{src}}" alt="" style="display:block">
12 </a> 12 </a>
13 </div> 13 </div>
14 {{/ list}} 14 {{/ list}}