Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Lynnic
9 years ago
Commit
e1c7d7c8fadfb25f27cf32f2c37b68df9e379457
1 parent
2839ef98
data-structure数据结构修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
docs/data-structure.md
template/m.yohobuy.com/actions/product/detail/consults.phtml
docs/data-structure.md
View file @
e1c7d7c
...
...
@@ -1096,13 +1096,13 @@
'vipLevel' : {
'list' : [
{
'text' : '¥284.00'
'text' : '¥284.00',
'currentLevel':true
},
...
]
},
'goodsDiscount' : {
'listLength' : 2,
'list' : [
{
'text' : '【BACK TO SCHOOL】满¥499赠送Paul Franke帽子一个,多买多送!'
...
...
@@ -1234,12 +1234,29 @@
},
'cartInfo' : {
'numInCart' : 3,
'goodsInstore' : 0,
'isCollect':true//
'cartUrl':'购物车url',
'addToCartUrl':'添加购物车url',
'soldOut':'已售罄',
'notForSale':'非卖品'
},
'introUrl' : '',
'id' : '',
'preferenceUrl' :''
}
### 咨询列表页面
{
'link' : '咨询表单跳转url',
'consults':{
'list' :
[
{
'question':'',
'time':'',
'answer':''
}
...
]
}
}
### 支付中心
{
...
...
template/m.yohobuy.com/actions/product/detail/consults.phtml
View file @
e1c7d7c
...
...
@@ -22,13 +22,9 @@
<p>
{
{answer
}
}</p>
</div>
</div>
{
{/list
}
}
</div>
{
{/
consults
}
}
{
{#if
loadmore
}
}
<input
id=
"loadMoreUrl"
type=
"hidden"
value=
"{{loadMoreUrl}}"
>
{
{/if
}
}
</div>
{
{>
layout/footer
}
}
...
...
Please
register
or
login
to post a comment