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
xuqi
2015-10-15 21:07:33 +0800
Commit
1ff4f3d86f6c55330780771cf066ab810a58ae24
1 parent
fb21da1b
guang detail data structure
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
docs/data-structure.md
template/m.yohobuy.com/actions/guang/detail/index.phtml
docs/data-structure.md
View file @
1ff4f3d
...
...
@@ -351,7 +351,7 @@
{
//onlyOne
relatedReco: {
onlyOne: true, //若只有一个商品,传此字段为true
id: 1, //必须字段
thumb: '',
name: '',
salePrice: 123,
...
...
template/m.yohobuy.com/actions/guang/detail/index.phtml
View file @
1ff4f3d
...
...
@@ -66,7 +66,7 @@
{
{#if
relatedReco
}
}
<div
class=
"post-block related-reco-block clearfix"
>
<h
2
>相关推荐</h
2
>
{
{#if
relatedReco.
onlyOne
}
}
{
{#if
relatedReco.
id
}
}
{
{#with
relatedReco
}
}
<div
class=
"one-good"
>
<img
class=
"thumb lazy"
data-original=
{
{thumb
}
}>
...
...
Please
register
or
login
to post a comment