...
|
...
|
@@ -9,6 +9,7 @@ use Plugin\Helpers; |
|
|
*/
|
|
|
class FloorProcess
|
|
|
{
|
|
|
|
|
|
/**
|
|
|
* 频道参数
|
|
|
*
|
...
|
...
|
@@ -34,9 +35,9 @@ class FloorProcess |
|
|
|
|
|
$build = array();
|
|
|
foreach ($data['list'] as $v) {
|
|
|
if (empty($v)) {
|
|
|
continue;
|
|
|
}
|
|
|
if (empty($v)) {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
$fun = $v['template_name'];
|
|
|
if (empty($v['data']) || !is_callable("self::$fun")) {
|
...
|
...
|
@@ -207,7 +208,7 @@ class FloorProcess |
|
|
foreach ($data['list'] as &$one) {
|
|
|
if (isset($one['url'])) {
|
|
|
$one['url'] = Helpers::getFilterUrl($one['url']);
|
|
|
isset(self::$channel[$type]) && $one['url'] .= '?gender='.self::$channel[$type];
|
|
|
isset(self::$channel[$type]) && $one['url'] .= '?gender=' . self::$channel[$type];
|
|
|
}
|
|
|
$one['img'] = Helpers::getImageUrl($one['src'], 158, 174);
|
|
|
unset($one['src']);
|
...
|
...
|
@@ -303,11 +304,11 @@ class FloorProcess |
|
|
unset($one['src']);
|
|
|
}
|
|
|
|
|
|
// 区别多张图与一张图
|
|
|
if (count($data['big_image']) > 1) {
|
|
|
$result['big_image']['big_list'] = $data['big_image'];
|
|
|
unset($data['big_image']);
|
|
|
}
|
|
|
// 区别多张图与一张图
|
|
|
if (count($data['big_image']) > 1) {
|
|
|
$result['big_image']['big_list'] = $data['big_image'];
|
|
|
unset($data['big_image']);
|
|
|
}
|
|
|
|
|
|
foreach ($data['list'] as $kk => &$one) {
|
|
|
if ($kk == 0) {
|
...
|
...
|
|