Authored by yyq

banner size & side

1 {{#brandBrowse}} 1 {{#brandBrowse}}
2 <div class="brand-collect left-modular"> 2 <div class="brand-collect left-modular">
3 - <h2 class="title">{{title}}</h2> 3 + {{#if title}}
  4 + <h2 class="title">{{title}}</h2>
  5 + {{/if}}
4 <ul class="left-list"> 6 <ul class="left-list">
5 {{#each list}} 7 {{#each list}}
6 <li class="{{#if cur}} on {{/if}}"><a href="{{url}}">{{brandName}}</a></li> 8 <li class="{{#if cur}} on {{/if}}"><a href="{{url}}">{{brandName}}</a></li>
@@ -11,7 +13,9 @@ @@ -11,7 +13,9 @@
11 13
12 {{#recommend}} 14 {{#recommend}}
13 <div class="classic-recommend left-modular"> 15 <div class="classic-recommend left-modular">
14 - <h2 class="title">{{title}}</h2> 16 + {{#if title}}
  17 + <h2 class="title">{{title}}</h2>
  18 + {{/if}}
15 <ul class="left-list"> 19 <ul class="left-list">
16 {{#each list}} 20 {{#each list}}
17 <li> 21 <li>
@@ -34,7 +38,9 @@ @@ -34,7 +38,9 @@
34 38
35 {{#hotRecommend}} 39 {{#hotRecommend}}
36 <div class="sell-recommend left-modular"> 40 <div class="sell-recommend left-modular">
37 - <h2 class="title">{{title}}</h2> 41 + {{#if title}}
  42 + <h2 class="title">{{title}}</h2>
  43 + {{/if}}
38 <ul class="left-list"> 44 <ul class="left-list">
39 {{#each list}} 45 {{#each list}}
40 <li> 46 <li>

426 Bytes | W: | H:

275 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -302,11 +302,11 @@ class ShopModel @@ -302,11 +302,11 @@ class ShopModel
302 $result = array( 302 $result = array(
303 'banner' => '', 303 'banner' => '',
304 'isShowShopName' => false, 304 'isShowShopName' => false,
305 - 'bannerHeight' => 150 305 + 'bannerHeight' => 200
306 ); 306 );
307 307
308 if (!empty($data['resource_data'][0]['shopSrc'])) { 308 if (!empty($data['resource_data'][0]['shopSrc'])) {
309 - $result['banner'] = self::imageView2($data['resource_data'][0]['shopSrc'], 1150, 150); 309 + $result['banner'] = self::imageView2($data['resource_data'][0]['shopSrc'], 1150, 200);
310 } 310 }
311 311
312 if (!empty($data['resource_data'][0]['detailSrc'])) { 312 if (!empty($data['resource_data'][0]['detailSrc'])) {
@@ -479,7 +479,7 @@ class ShopModel @@ -479,7 +479,7 @@ class ShopModel
479 } 479 }
480 480
481 return array( 481 return array(
482 - 'title' => isset($result[0]['title']) ? $result[0]['title'] : '经典推荐', 482 + 'title' => isset($result[0]['title']) ? $result[0]['title'] : '',
483 'list' => $result 483 'list' => $result
484 ); 484 );
485 } 485 }
@@ -505,7 +505,7 @@ class ShopModel @@ -505,7 +505,7 @@ class ShopModel
505 } 505 }
506 506
507 return array( 507 return array(
508 - 'title' => isset($result[0]['title']) ? $result[0]['title'] : '热销推荐', 508 + 'title' => isset($result[0]['title']) ? $result[0]['title'] : '',
509 'list' => $result 509 'list' => $result
510 ); 510 );
511 } 511 }