...
|
...
|
@@ -3,6 +3,7 @@ |
|
|
namespace Plugin\DataProcess;
|
|
|
|
|
|
use Plugin\Helpers;
|
|
|
use Plugin\Images;
|
|
|
|
|
|
/**
|
|
|
* 店铺楼层数据处理类
|
...
|
...
|
@@ -56,9 +57,8 @@ class ShopProcess |
|
|
*/
|
|
|
private static function shopInfo($data)
|
|
|
{
|
|
|
|
|
|
self::$shopData['shopName'] = '';
|
|
|
self::$shopData['logo'] = '';
|
|
|
self::$shopData['logoImg'] = Images::getImageUrl($data['data']['shop_logo'], 500, 500, 'shop');
|
|
|
self::$shopData['storeName'] = $data['data']['shop_name'];
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -101,10 +101,11 @@ class ShopProcess |
|
|
*/
|
|
|
private static function brandBrowse($data)
|
|
|
{
|
|
|
// print_r($data); exit;
|
|
|
foreach ($data as $val) {
|
|
|
self::$shopData['multi-list'][] = array(
|
|
|
'url' => '',
|
|
|
'img' => $val['brandIco'],
|
|
|
self::$shopData['multiList'][] = array(
|
|
|
'url' => Helpers::url('', '', $val['brandDomain']),
|
|
|
'img' => Images::getImageUrl($val['brandIco'], 640, 400),
|
|
|
'brandName' => $val['brandName']
|
|
|
);
|
|
|
}
|
...
|
...
|
@@ -154,7 +155,7 @@ class ShopProcess |
|
|
foreach ($data as $val) {
|
|
|
self::$shopData['hotList'][] = array(
|
|
|
'url' => $val['url'],
|
|
|
'img' => $val['src'],
|
|
|
'img' => Helpers::getImageUrl($val['src'], 235, 314),
|
|
|
'productName' => $val['productName'],
|
|
|
'salesPrice' => '¥'.$val['salesPrice'],
|
|
|
'presentPrice' => '¥'.$val['salesPrice']
|
...
|
...
|
|