Showing
3 changed files
with
8 additions
and
8 deletions
@@ -15,8 +15,8 @@ | @@ -15,8 +15,8 @@ | ||
15 | {{# list}} | 15 | {{# list}} |
16 | {{#unless @last}} | 16 | {{#unless @last}} |
17 | <li> | 17 | <li> |
18 | - <a href="{{href}}"> | ||
19 | - <img class="lazy" data-original="{{img}}" alt=""> | 18 | + <a href="{{href}}" target= "_blank"> |
19 | + <img class="lazy" data-original="{{img}}" alt="" > | ||
20 | </a> | 20 | </a> |
21 | </li> | 21 | </li> |
22 | {{/unless}} | 22 | {{/unless}} |
@@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
26 | {{# list}} | 26 | {{# list}} |
27 | {{#if @last}} | 27 | {{#if @last}} |
28 | <div class="last-item"> | 28 | <div class="last-item"> |
29 | - <a href="{{href}}"> | 29 | + <a href="{{href}}" target= "_blank"> |
30 | <img class="lazy" data-original="{{img}}" alt=""> | 30 | <img class="lazy" data-original="{{img}}" alt=""> |
31 | </a> | 31 | </a> |
32 | </div> | 32 | </div> |
@@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
43 | <ul class="img-list clearfix"> | 43 | <ul class="img-list clearfix"> |
44 | {{# imgBrand}} | 44 | {{# imgBrand}} |
45 | <li class="img-item"> | 45 | <li class="img-item"> |
46 | - <a href="{{href}}"> | 46 | + <a href="{{href}}" target= "_blank"> |
47 | <img src="{{img}}" alt=""> | 47 | <img src="{{img}}" alt=""> |
48 | </a> | 48 | </a> |
49 | </li> | 49 | </li> |
@@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
8 | <div class="debris-slider clearfix"> | 8 | <div class="debris-slider clearfix"> |
9 | <div class="left-col col"> | 9 | <div class="left-col col"> |
10 | {{# left}} | 10 | {{# left}} |
11 | - <a href="{{href}}"> | 11 | + <a href="{{href}}" target= "_blank"> |
12 | <img class="lazy" data-original="{{img}}"> | 12 | <img class="lazy" data-original="{{img}}"> |
13 | </a> | 13 | </a> |
14 | {{/ left}} | 14 | {{/ left}} |
@@ -17,7 +17,7 @@ | @@ -17,7 +17,7 @@ | ||
17 | <ul class="slide-wrapper"> | 17 | <ul class="slide-wrapper"> |
18 | {{# center}} | 18 | {{# center}} |
19 | <li> | 19 | <li> |
20 | - <a href="{{href}}"> | 20 | + <a href="{{href}}" target= "_blank"> |
21 | <img class="lazy" data-original="{{img}}"> | 21 | <img class="lazy" data-original="{{img}}"> |
22 | </a> | 22 | </a> |
23 | </li> | 23 | </li> |
@@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
34 | </div> | 34 | </div> |
35 | <div class="right-col col"> | 35 | <div class="right-col col"> |
36 | {{# right}} | 36 | {{# right}} |
37 | - <a href="{{href}}"> | 37 | + <a href="{{href}}" target= "_blank"> |
38 | <img class="lazy" data-original="{{img}}"> | 38 | <img class="lazy" data-original="{{img}}"> |
39 | </a> | 39 | </a> |
40 | {{/ right}} | 40 | {{/ right}} |
@@ -81,7 +81,7 @@ var $ = require('yoho.jquery'), | @@ -81,7 +81,7 @@ var $ = require('yoho.jquery'), | ||
81 | 81 | ||
82 | that._createHelper(); | 82 | that._createHelper(); |
83 | brandHtml = '\{{#brandList logoBrand}}' + | 83 | brandHtml = '\{{#brandList logoBrand}}' + |
84 | - '<a href="\{{href}}"><img class="lazy" data-original="\{{img}}" alt=""></a>' + | 84 | + '<a href="\{{href}}" target= "_blank"><img class="lazy" data-original="\{{img}}" alt=""></a>' + |
85 | '\{{/brandList}}'; | 85 | '\{{/brandList}}'; |
86 | brandTpl = Handlebars.compile(brandHtml); | 86 | brandTpl = Handlebars.compile(brandHtml); |
87 | that.$element.html(brandTpl(data)); | 87 | that.$element.html(brandTpl(data)); |
-
Please register or login to post a comment