Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
hf
9 years ago
Commit
df118ccee1eb5aae2fb11285f3d3c2b08a30c977
1 parent
8eee9974
code review by hf: do modify product detail page
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
df118cc
...
...
@@ -346,7 +346,7 @@ class DetailModel
$referenceList
=
array
();
// 判断是否显示参考尺码
$showReference
=
$boyReference
||
$girlReference
;
$showReference
=
(
$boyReference
&&
!
empty
(
$sizeInfo
[
'sizeInfoBo'
][
'sizeBoList'
][
0
][
'boyReferSize'
]))
||
(
$girlReference
&&
!
empty
(
$sizeInfo
[
'sizeInfoBo'
][
'sizeBoList'
][
0
][
'girlReferSize'
])
)
;
if
(
$showReference
)
{
$referenceList
[
0
]
=
array
(
'param'
=>
$referenceName
);
}
...
...
Please
register
or
login
to post a comment