...
|
...
|
@@ -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
|
|
|
);
|
|
|
}
|
...
|
...
|
|