slide with no lazyload of first img & return top z-index
Showing
2 changed files
with
6 additions
and
0 deletions
@@ -4,7 +4,11 @@ | @@ -4,7 +4,11 @@ | ||
4 | {{# list}} | 4 | {{# list}} |
5 | <li style="{{#if bgColor}}background:{{bgColor}}{{/if}}"> | 5 | <li style="{{#if bgColor}}background:{{bgColor}}{{/if}}"> |
6 | <a href="{{href}}" target= "_blank"> | 6 | <a href="{{href}}" target= "_blank"> |
7 | + {{#if @first}} | ||
8 | + <img src="{{img}}"> | ||
9 | + {{^}} | ||
7 | <img class="lazy" data-original="{{img}}" alt=""> | 10 | <img class="lazy" data-original="{{img}}" alt=""> |
11 | + {{/if}} | ||
8 | </a> | 12 | </a> |
9 | {{# tips}} | 13 | {{# tips}} |
10 | <div class="slide-tips"> | 14 | <div class="slide-tips"> |
@@ -344,6 +344,8 @@ | @@ -344,6 +344,8 @@ | ||
344 | filter: alpha(opacity=50); | 344 | filter: alpha(opacity=50); |
345 | bottom: 20px; | 345 | bottom: 20px; |
346 | cursor: pointer; | 346 | cursor: pointer; |
347 | + z-index: 4; | ||
348 | + | ||
347 | &:hover { | 349 | &:hover { |
348 | opacity: 0.9; | 350 | opacity: 0.9; |
349 | filter: alpha(opacity=90); | 351 | filter: alpha(opacity=90); |
-
Please register or login to post a comment