Authored by ccbikai

Merge branch 'feature/sale' into release/4.8

@@ -3,14 +3,14 @@ @@ -3,14 +3,14 @@
3 <div class="left-container"> 3 <div class="left-container">
4 {{# left}} 4 {{# left}}
5 <a href="{{url}}"> 5 <a href="{{url}}">
6 - <div class="thumb-row-box left-thumb-row-box" style="background-image:url({{image src 275 160}})"></div> 6 + <div class="thumb-row-box left-thumb-row-box" style="background-image:url({{image src 276 296}})"></div>
7 </a> 7 </a>
8 {{/ left}} 8 {{/ left}}
9 </div> 9 </div>
10 <div class="right-container"> 10 <div class="right-container">
11 {{# right}} 11 {{# right}}
12 <a href="{{url}}"> 12 <a href="{{url}}">
13 - <div class="thumb-row-box right-thumb-row-box {{#if @first}}first{{/if}}" style="background-image:url({{image src 275 160}})"></div> 13 + <div class="thumb-row-box right-thumb-row-box {{#if @first}}first{{/if}}" style="background-image:url({{image src 276 134}})"></div>
14 </a> 14 </a>
15 {{/ right}} 15 {{/ right}}
16 </div> 16 </div>
@@ -297,6 +297,13 @@ function search(opt) { @@ -297,6 +297,13 @@ function search(opt) {
297 } 297 }
298 } 298 }
299 299
  300 + $('.good-detail-text .name').each(function() {
  301 + var $this = $(this),
  302 + $title = $this.find('a');
  303 +
  304 + $title[0].mlellipsis(2);
  305 + });
  306 +
300 nav.reload = false; 307 nav.reload = false;
301 nav.page = page; 308 nav.page = page;
302 309
@@ -304,13 +311,6 @@ function search(opt) { @@ -304,13 +311,6 @@ function search(opt) {
304 loading.hideLoadingMask(); 311 loading.hideLoadingMask();
305 312
306 window.rePosFooter(); 313 window.rePosFooter();
307 -  
308 - $('.good-detail-text .name').each(function() {  
309 - var $this = $(this),  
310 - $title = $this.find('a');  
311 -  
312 - $title[0].mlellipsis(2);  
313 - });  
314 }, 314 },
315 error: function() { 315 error: function() {
316 tip.show('网络断开连接了~'); 316 tip.show('网络断开连接了~');
@@ -8,8 +8,8 @@ @@ -8,8 +8,8 @@
8 8
9 .thumb-row-box { 9 .thumb-row-box {
10 display: inline-block; 10 display: inline-block;
11 - width: 275px;  
12 - height: 132px; 11 + width: 276px;
  12 + height: 134px;
13 border-radius: 0; 13 border-radius: 0;
14 background-size: 100% 100%; 14 background-size: 100% 100%;
15 background-repeat: no-repeat; 15 background-repeat: no-repeat;
@@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
22 } 22 }
23 23
24 .left-thumb-row-box { 24 .left-thumb-row-box {
25 - height: 308px; 25 + height: 296px;
26 } 26 }
27 27
28 .left-container { 28 .left-container {
@@ -31,13 +31,13 @@ @@ -31,13 +31,13 @@
31 31
32 .right-container { 32 .right-container {
33 float: right; 33 float: right;
34 - width: 275px;  
35 - height: 280px; 34 + width: 276px;
  35 + height: 296px;
36 border-radius: 4px; 36 border-radius: 4px;
37 margin: 0; 37 margin: 0;
38 38
39 .right-thumb-row-box { 39 .right-thumb-row-box {
40 - margin: 44px 0 0; 40 + margin: 28px 0 0;
41 } 41 }
42 } 42 }
43 } 43 }