Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
2016-01-19 16:05:55 +0800
Commit
7bde9e0d7736f970547bb84b1832f9dbb9f2072f
1 parent
cfb376af
code review by fei.hong: do modify product detail add colors paramerter sizeName
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
7bde9e0
...
...
@@ -247,6 +247,7 @@ class DetailModel
foreach
(
$colorList
as
$value
)
{
// 各个尺码的颜色,每行显示一个颜色的对应尺码
$sizeGroup
[
$i
][
'size'
]
=
$sizeList
[
$value
[
'skcId'
]
];
$sizeGroup
[
$i
][
'colorId'
]
=
$value
[
'skcId'
];
// 默认颜色
$colorGroup
[
0
][
'color'
][]
=
$value
;
...
...
Please
register
or
login
to post a comment