...
|
...
|
@@ -56,7 +56,6 @@ class FloorProcess |
|
|
$result[] = $build;
|
|
|
}
|
|
|
$build = array();
|
|
|
|
|
|
return $result;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -87,6 +86,7 @@ class FloorProcess |
|
|
foreach ($data as &$one) {
|
|
|
$one['url'] = Helpers::getFilterUrl($one['url']);
|
|
|
$one['img'] = Helpers::getImageUrl($one['src'], 98, 98);
|
|
|
$one['className'] = (count($data) == 8) ? 'icons-item-eight' : 'icons-item-ten';
|
|
|
unset($one['src']);
|
|
|
}
|
|
|
$result['iconsEnter']['list'] = $data;
|
...
|
...
|
@@ -108,6 +108,7 @@ class FloorProcess |
|
|
foreach ($data as &$one) {
|
|
|
$one['url'] = Helpers::getFilterUrl($one['url']);
|
|
|
$one['img'] = Helpers::getImageUrl($one['src'], 98, 98);
|
|
|
$one['className'] = (count($data) == 8) ? 'icons-item-eight' : 'icons-item-ten';
|
|
|
unset($one['src']);
|
|
|
}
|
|
|
$result['iconsEnter']['list'] = $data;
|
...
|
...
|
@@ -288,8 +289,8 @@ class FloorProcess |
|
|
|
|
|
foreach ($data as $key => &$value) {
|
|
|
if ($key == 'title') {
|
|
|
$urlParam = array('id' => 4);
|
|
|
//isset(self::$channel[$type]) && $urlParam['gender'] = self::$channel[$type];
|
|
|
$urlParam = array('id' => 4);
|
|
|
//isset(self::$channel[$type]) && $urlParam['gender'] = self::$channel[$type];
|
|
|
$value['more_url'] = Helpers::url('', $urlParam, 'guang');
|
|
|
}
|
|
|
if ($key == 'list' && is_array($value)) {
|
...
|
...
|
@@ -334,7 +335,8 @@ class FloorProcess |
|
|
foreach ($data['list'] as $kk => &$one) {
|
|
|
if ($kk == 0) {
|
|
|
$one['img'] = Helpers::getImageUrl($one['src'], 253, 383);
|
|
|
} else {
|
|
|
}
|
|
|
else {
|
|
|
$one['img'] = Helpers::getImageUrl($one['src'], 191, 191);
|
|
|
}
|
|
|
if (isset($one['url'])) {
|
...
|
...
|
@@ -446,9 +448,9 @@ class FloorProcess |
|
|
{
|
|
|
// URL附加参数
|
|
|
$param = '';
|
|
|
/*if (isset(self::$channel[$type])) {
|
|
|
$param = '/?gender=' . self::$channel[$type];
|
|
|
}*/
|
|
|
/* if (isset(self::$channel[$type])) {
|
|
|
$param = '/?gender=' . self::$channel[$type];
|
|
|
} */
|
|
|
|
|
|
$result = array();
|
|
|
$result['hotBrandsScroll']['name'] = $data['title']['title'];
|
...
|
...
|
@@ -514,4 +516,4 @@ class FloorProcess |
|
|
$result['notice']['img'] = Helpers::getImageUrl($data['img'], 110, 25);
|
|
|
return $result;
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
|
|
} |
...
|
...
|
|