Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
2016-01-27 15:57:26 +0800
Commit
ca9f5a8a892de9884ecbd334084c601ff9436083
1 parent
7a001fca
在侧边栏数据中添加color字段
Code Review Ry Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Index/Side.php
yohobuy/m.yohobuy.com/application/models/Index/Side.php
View file @
ca9f5a8
...
...
@@ -168,6 +168,9 @@ class SideModel
$result
[
'styleClass'
]
=
strtolower
(
$data
[
'sort_name_en'
]);
$result
[
'url'
]
=
Helpers
::
getFilterUrl
(
$data
[
'sort_url'
]);
$result
[
'img'
]
=
Helpers
::
getImageUrl
(
$data
[
'sort_ico'
],
60
,
60
,
1
);
if
(
isset
(
$data
[
'sort_name_color'
]))
{
$result
[
'color'
]
=
$data
[
'sort_name_color'
];
}
return
$result
;
}
...
...
Please
register
or
login
to post a comment