|
@@ -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
|
}
|
|
@@ -561,12 +561,16 @@ class ShopModel |
|
@@ -561,12 +561,16 @@ class ShopModel |
561
|
),
|
561
|
),
|
562
|
''
|
562
|
''
|
563
|
),
|
563
|
),
|
|
|
564
|
+ 'title' => $resource['title'],
|
564
|
'brandName' => $resource['brandName'],
|
565
|
'brandName' => $resource['brandName'],
|
565
|
'cur' => ($brand === strval($resource['id']))
|
566
|
'cur' => ($brand === strval($resource['id']))
|
566
|
);
|
567
|
);
|
567
|
}
|
568
|
}
|
568
|
|
569
|
|
569
|
- return array('title' => '品牌集合', 'list' => $result);
|
570
|
+ return array(
|
|
|
571
|
+ 'title' => isset($result[0]['title']) ? $result[0]['title'] : '',
|
|
|
572
|
+ 'list' => $result
|
|
|
573
|
+ );
|
570
|
}
|
574
|
}
|
571
|
|
575
|
|
572
|
/**
|
576
|
/**
|