Authored by biao

update for banner

... ... @@ -2,9 +2,8 @@
<div class="slide-wrapper">
<ul>
{{# slider}}
<li style="{{#if bgColor}}background:{{bgColor}}{{/if}}">
<a href="{{url}}" target= "_blank">
<img class="lazy" data-original="{{image src 1150 570}}" alt="">
<li class="banner-item" style="{{#if bgColor}}background-color:{{bgColor}}{{/if}}; background-image:url('{{image src 1150 570}}')">
</a>
{{# tips}}
<div class="slide-tips">
... ...
.home-page {
$sliderHeight: 600px;
margin: 10px auto 0;
.top-slider-container {
height: $sliderHeight;
}
... ... @@ -12,6 +10,11 @@
left: 0;
right: 0;
height: $sliderHeight;
.banner-item {
background-position: center;
background-repeat: no-repeat;
}
}
.slide-pagination {
... ...
... ... @@ -5,7 +5,7 @@
@extend .resource-container;
height: calc($textHeight+$imgHeight+60px);/* 60px is the height of the floor header */
height: calc($textHeight+$imgHeight+90px);/* 60px is the height of the floor header */
.arrival-item-box {
box-sizing: border-box;
... ...