...
|
...
|
@@ -75,7 +75,8 @@ class HomeModel |
|
|
'link' => $val['sort_url'],
|
|
|
'icon' => $val['sort_ico'],
|
|
|
'classname' => str_replace(' ', '', strtolower($val['sort_name_en'])) == $channel ? $channel : '',
|
|
|
'index_main' => $index_main++,
|
|
|
'index_main' => $index_main ++,
|
|
|
'content_code' => $val['content_code'],
|
|
|
'is_hot' => $val['is_hot'] == 'Y' ? true : false,
|
|
|
'is_new' => $val['is_new'] == 'Y' ? true : false,
|
|
|
// 'subnav' => array()
|
...
|
...
|
@@ -88,6 +89,7 @@ class HomeModel |
|
|
'link' => $sub['sort_url'],
|
|
|
'is_hot' => $sub['is_hot'] == 'Y' ? true : false,
|
|
|
'is_new' => $sub['is_new'] == 'Y' ? true : false,
|
|
|
'content_code' => $sub['content_code'],
|
|
|
// 'thirdnav' => array(),
|
|
|
'index_sub' => $index_sub ++
|
|
|
);
|
...
|
...
|
@@ -97,6 +99,7 @@ class HomeModel |
|
|
'title' => $thirdsub['sort_name'],
|
|
|
'name_en' => $thirdsub['sort_name_en'],
|
|
|
'link' => $thirdsub['sort_url'],
|
|
|
'content_code' => $thirdsub['content_code'],
|
|
|
// 'branditems' => array()
|
|
|
);
|
|
|
if (isset($thirdsub['sub'])) {
|
...
|
...
|
|