Merge branch 'feature/wap325' of git.dev.yoho.cn:web/yohobuy into feature/wap325
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -167,6 +167,9 @@ class SideModel | @@ -167,6 +167,9 @@ class SideModel | ||
167 | $result['styleClass'] = strtolower($data['sort_name_en']); | 167 | $result['styleClass'] = strtolower($data['sort_name_en']); |
168 | $result['url'] = Helpers::getFilterUrl($data['sort_url']); | 168 | $result['url'] = Helpers::getFilterUrl($data['sort_url']); |
169 | $result['img'] = Helpers::getImageUrl($data['sort_ico'], 60, 60, 1); | 169 | $result['img'] = Helpers::getImageUrl($data['sort_ico'], 60, 60, 1); |
170 | + if (isset($data['sort_name_color'])) { | ||
171 | + $result['color'] = $data['sort_name_color']; | ||
172 | + } | ||
170 | 173 | ||
171 | return $result; | 174 | return $result; |
172 | } | 175 | } |
-
Please register or login to post a comment