Authored by yyq

banner size & side

{{#brandBrowse}}
<div class="brand-collect left-modular">
{{#if title}}
<h2 class="title">{{title}}</h2>
{{/if}}
<ul class="left-list">
{{#each list}}
<li class="{{#if cur}} on {{/if}}"><a href="{{url}}">{{brandName}}</a></li>
... ... @@ -11,7 +13,9 @@
{{#recommend}}
<div class="classic-recommend left-modular">
{{#if title}}
<h2 class="title">{{title}}</h2>
{{/if}}
<ul class="left-list">
{{#each list}}
<li>
... ... @@ -34,7 +38,9 @@
{{#hotRecommend}}
<div class="sell-recommend left-modular">
{{#if title}}
<h2 class="title">{{title}}</h2>
{{/if}}
<ul class="left-list">
{{#each list}}
<li>
... ...

426 Bytes | W: | H:

275 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -302,11 +302,11 @@ class ShopModel
$result = array(
'banner' => '',
'isShowShopName' => false,
'bannerHeight' => 150
'bannerHeight' => 200
);
if (!empty($data['resource_data'][0]['shopSrc'])) {
$result['banner'] = self::imageView2($data['resource_data'][0]['shopSrc'], 1150, 150);
$result['banner'] = self::imageView2($data['resource_data'][0]['shopSrc'], 1150, 200);
}
if (!empty($data['resource_data'][0]['detailSrc'])) {
... ... @@ -479,7 +479,7 @@ class ShopModel
}
return array(
'title' => isset($result[0]['title']) ? $result[0]['title'] : '经典推荐',
'title' => isset($result[0]['title']) ? $result[0]['title'] : '',
'list' => $result
);
}
... ... @@ -505,7 +505,7 @@ class ShopModel
}
return array(
'title' => isset($result[0]['title']) ? $result[0]['title'] : '热销推荐',
'title' => isset($result[0]['title']) ? $result[0]['title'] : '',
'list' => $result
);
}
... ...