Authored by 沈志敏

修改样式

... ... @@ -6,8 +6,8 @@
<li class="swiper-slide">
<a href="{{url}}">
<img src="{{image2 img q=60}}" alt="">
<span class="brands-title">{{textCn}}</span>
</a>
<span class="brands-title">{{textCn}}</span>
</li>
{{/ list}}
</ul>
... ...
... ... @@ -97,8 +97,10 @@
li {
float: left;
padding-left: 5%;
padding-bottom: 5%;
width: 21.875%;
height: 140px;
position: relative;
a {
position: relative;
... ... @@ -113,14 +115,13 @@
display: inline-block;
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
.brands-title {
position: absolute;
left: 8px;
left: 40px;
right: 8px;
bottom: 8px;
bottom: -5px;
height: 28px;
line-height: 28px;
text-align: center;
... ...