Authored by wangqing

增加一级菜单的选中类

@@ -75,7 +75,7 @@ class HomeModel @@ -75,7 +75,7 @@ class HomeModel
75 'name_en' => $val['sort_name_en'], 75 'name_en' => $val['sort_name_en'],
76 'link' => $val['sort_url'], 76 'link' => $val['sort_url'],
77 'icon' => $val['sort_ico'], 77 'icon' => $val['sort_ico'],
78 - 'classname' => str_replace(' ', '', strtolower($val['sort_name_en'])) == $channel ? $channel : '', 78 + 'classname' => str_replace(' ', '', strtolower($val['sort_name_en'])) == $channel ? $channel .' cure' : '',
79 'index_main' => $index_main ++, 79 'index_main' => $index_main ++,
80 'content_code' => $val['content_code'], 80 'content_code' => $val['content_code'],
81 'is_hot' => $val['is_hot'] == 'Y' ? true : false, 81 'is_hot' => $val['is_hot'] == 'Y' ? true : false,