Authored by biao

update for style

... ... @@ -2,10 +2,10 @@
<div class="brand-img-box {{#if right}}right{{/if}} {{#if bottomSpace}}mb10{{/if}}">
<a href="{{url}}" target="_blank">
{{# big}}
<img class="big-img lazy-img" data-original="{{image src 565 340}}" alt="big-img">
<img class="big-img" src="{{image src 565 340}}" alt="big-img">
{{/ big}}
{{# small}}
<img class="small-img lazy-img {{#if @first}}first{{/if}}" data-original="{{image src 281 285}}" alt="big-img">
<img class="small-img {{#if @first}}first{{/if}}" src="{{image src 281 285}}" alt="big-img">
{{/ small}}
</a>
</div>
... ...
... ... @@ -302,7 +302,7 @@ function bindExpressEvent() {
}
$('.express-info').each(function(idx, el) {
if(!$(el).hasClass('hide')) {
if (!$(el).hasClass('hide')) {
$(el).addClass('hide');
}
});
... ... @@ -314,7 +314,7 @@ function bindExpressEvent() {
var $info = $this.find('.express-info');
$('.express-info').each(function(idx, el) {
if(!$(el).hasClass('hide')) {
if (!$(el).hasClass('hide')) {
$(el).addClass('hide');
}
});
... ...
... ... @@ -39,11 +39,12 @@
width: 140px;
height: 35px;
position: absolute;
bottom: 29px;
bottom: 50px;
background-color: white;
outline: none;
border: 1pX solid black;
font-size: 16px;
border: 2px solid black;
font-size: 14px;
font-weight: bold;
cursor: pointer;
}
}
... ...
... ... @@ -89,12 +89,12 @@
&.prev {
left: 50%;
margin-left: -620px;
margin-left: -615px;
}
&.next {
right: 50%;
margin-right: -620px;
margin-right: -615px;
}
&:hover {
... ... @@ -161,8 +161,8 @@
position: relative;
display: inline-block;
margin: 0 3px;
width: 9px;
height: 9px;
width: 10px;
height: 10px;
background: #ccc;
cursor: pointer;
z-index: 2;
... ...
... ... @@ -35,18 +35,22 @@
}
.brand-text-box {
$size: 16px;
$size: 14px;
$line-height: 1.4;
$lines-to-show: 3;
width: 0;
border: none;
padding-top: 35px !important;
padding-bottom: 50px !important;
p {
height: calc($size*$line-height*$lines-to-show);
width: calc($width-2*$space);
margin: 15px 0;
padding-right: $space;
font-size: $size;
font-weight: bold;
line-height: $line-height;
overflow: hidden;
-webkit-line-clamp: $lines-to-show;
... ... @@ -55,6 +59,7 @@
}
button {
width: 120px;
left: calc($width/2-$buttonWidth/2); /* stylelint-disable-line */
}
... ...