Authored by yyq

Merge branch 'release/1.0' of git.yoho.cn:fe/yoho-blk into release/1.0

1 {{# classicBrands}} 1 {{# classicBrands}}
2 <div class="brand-img-box {{#if right}}right{{/if}} {{#if bottomSpace}}mb10{{/if}}"> 2 <div class="brand-img-box {{#if right}}right{{/if}} {{#if bottomSpace}}mb10{{/if}}">
3 - <a href="{{url}}" target="_blank">  
4 {{# big}} 3 {{# big}}
5 - <img class="big-img" src="{{image src 565 340}}" alt="big-img"> 4 + <a href="{{url}}" target="_blank">
  5 + <img class="big-img" src="{{image src 565 340}}">
  6 + </a>
6 {{/ big}} 7 {{/ big}}
  8 +
7 {{# small}} 9 {{# small}}
8 - <img class="small-img {{#if @first}}first{{/if}}" src="{{image src 281 285}}" alt="big-img">  
9 - {{/ small}} 10 + <a href="{{url}}" target="_blank">
  11 + <img class="small-img {{#if @first}}first{{/if}}" src="{{image src 281 285}}">
10 </a> 12 </a>
  13 + {{/ small}}
11 </div> 14 </div>
12 {{/ classicBrands}} 15 {{/ classicBrands}}
@@ -15,9 +15,11 @@ @@ -15,9 +15,11 @@
15 {{/each}} 15 {{/each}}
16 </ul> 16 </ul>
17 {{#banner}} 17 {{#banner}}
  18 + {{#if image}}
18 <a href="{{url}}"> 19 <a href="{{url}}">
19 <img class="banner-img" data-original="{{image banner 150 120}}"> 20 <img class="banner-img" data-original="{{image banner 150 120}}">
20 </a> 21 </a>
  22 + {{/if}}
21 {{/banner}} 23 {{/banner}}
22 </div> 24 </div>
23 25
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 <div class="brand-products slide-container"> 26 <div class="brand-products slide-container">
27 {{#if noNewProduct}} 27 {{#if noNewProduct}}
28 <p class="no-product-info"> 28 <p class="no-product-info">
29 - 暂无新品, 去<a href="/{{siteUrl}}/brand" target="_blank">名牌频道</a>看看吧 29 + 暂无新品, 去<a href="/product/shop/{{brandDomain}}{{#if shopId}}?shopId={{shopId}}{{/if}}" target="_blank">名牌频道</a>看看吧
30 </p> 30 </p>
31 {{^}} 31 {{^}}
32 <div class="slide-switch"> 32 <div class="slide-switch">
@@ -125,6 +125,15 @@ @@ -125,6 +125,15 @@
125 padding: 5px; 125 padding: 5px;
126 margin-top: 8px; 126 margin-top: 8px;
127 } 127 }
  128 +
  129 + .consignee {
  130 + display: block;
  131 + float: left;
  132 + max-width: 140px;
  133 + overflow: hidden;
  134 + white-space: nowrap;
  135 + text-overflow: ellipsis;
  136 + }
128 } 137 }
129 138
130 .address-chosed { 139 .address-chosed {
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 </p> 10 </p>
11 11
12 <p class="name-and-phone"> 12 <p class="name-and-phone">
13 - {{consignee}} 13 + <em class="consignee">{{consignee}}</em>
14 <span class="phone bold">{{mobile}}</span> 14 <span class="phone bold">{{mobile}}</span>
15 </p> 15 </p>
16 16