Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Showing
3 changed files
with
4 additions
and
11 deletions
@@ -95,12 +95,5 @@ $win.scroll(function() { | @@ -95,12 +95,5 @@ $win.scroll(function() { | ||
95 | updateLayerPosition(); | 95 | updateLayerPosition(); |
96 | }); | 96 | }); |
97 | 97 | ||
98 | -$win.on('resize', function(){ | ||
99 | - console.log('resize'); | ||
100 | -}); | ||
101 | - | ||
102 | -$win.on('scrollstop', function(){ | ||
103 | - console.log('stop'); | ||
104 | -}); | ||
105 | 98 | ||
106 | $doc.on('ready', updateLayerPosition); | 99 | $doc.on('ready', updateLayerPosition); |
@@ -135,7 +135,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); | @@ -135,7 +135,7 @@ $suggest: sprite-map("me/suggest/*.png",$spacing: 5px); | ||
135 | 135 | ||
136 | a { | 136 | a { |
137 | color: #444; | 137 | color: #444; |
138 | - display: block; | 138 | + display: inline-block; |
139 | } | 139 | } |
140 | 140 | ||
141 | > span { | 141 | > span { |
@@ -9,9 +9,9 @@ | @@ -9,9 +9,9 @@ | ||
9 | <div class="suggest-content" id="suggest-content"> | 9 | <div class="suggest-content" id="suggest-content"> |
10 | {{# suggestContent}} | 10 | {{# suggestContent}} |
11 | <div class="suggest-item" data-id="{{suggest_id}}"> | 11 | <div class="suggest-item" data-id="{{suggest_id}}"> |
12 | - {{# imgUrl}} | ||
13 | - <img class="lazy" data-original="{{.}}" alt=""/> | ||
14 | - {{/ imgUrl}} | 12 | + {{#if imgUrl}} |
13 | + <img class="lazy" data-original="{{imgUrl}}" alt=""/> | ||
14 | + {{/if}} | ||
15 | <h2>{{title}}</h2> | 15 | <h2>{{title}}</h2> |
16 | <p>{{content}}</p> | 16 | <p>{{content}}</p> |
17 | 17 |
-
Please register or login to post a comment