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
xuqi
9 years ago
Commit
b8ea1b6f3db11a114dabd4b79e37ba7ec84827f8
1 parent
9e8f5c33
guang docs
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
100 additions
and
100 deletions
docs/web-data-structure.md
template/www.yohobuy.com/actions/index/guang/detail.phtml
docs/web-data-structure.md
View file @
b8ea1b6
...
...
@@ -604,106 +604,10 @@
}
}
## 站点头部
{
gobuytype: 'gobuyboys',//购物车样式
searchcate: 'searchcateboys', //搜索栏样式
navbars:
[
{//一级导航
name_cn: '男生',
name_en: 'BOYS',
link: '',
classname: 'boys',
index_main: 0,
subnav:
[
{
name: '新品到着',
link: '',
index_sub:0,
thirdnav:
[
{
title: '上装',
branditems:
[
{
brandname: '背心',
link: ''
},
{
brandname: 'T恤',
link: ''
},
{
brandname: '衬衫',
link: ''
},
{
brandname: 'POLO',
link: ''
},
{
brandname: '毛衣/针织',
link: ''
}]
}
]
}, {
name: '品牌一览',
link: '',
thirdnav:
[
]
}]
}],
myyoho: {
email: 'caomei@163.com',
viptype: '普通会员',
currentscore: 495,
totalscore: 600,
cardtype: '银卡',
infolist:
[
{
name: '待处理的订单',
link: '',
num: '0'
}, {
name: '我的收藏',
link: '',
num: '1'
}, {
name: '我的优惠券',
link: '',
num: '2'
}, {
name: '我的YOHO币',
link: '',
num: '1'
}, {
name: '我的退货换货',
link: '',
num: '1'
}],
updlink: ''
},
gobuy: {
gobuynum: 3
},
breadcrumbnav:
[
{
notend: {
link: 'http://www.yohobuy.com',
name: 'BOYS首页'
}
}, {
notend: {
link: 'http://www.yohobuy.com',
name: '上衣'
}
}, {
isend: {
link: 'http://list.yohobuy.com/?msort=1
&
gender=1,3',
name: '衬衫'
}
}]
}
## 逛详情页
{
guangDetailPage: true, //引用逛详情页js
detail:{
guang:{
id: 1, //详情页id
header: {
title: '', //大标题
...
...
@@ -812,4 +716,100 @@
]
}
}
}
## 站点头部
{
gobuytype: 'gobuyboys',//购物车样式
searchcate: 'searchcateboys', //搜索栏样式
navbars:
[
{//一级导航
name_cn: '男生',
name_en: 'BOYS',
link: '',
classname: 'boys',
index_main: 0,
subnav:
[
{
name: '新品到着',
link: '',
index_sub:0,
thirdnav:
[
{
title: '上装',
branditems:
[
{
brandname: '背心',
link: ''
},
{
brandname: 'T恤',
link: ''
},
{
brandname: '衬衫',
link: ''
},
{
brandname: 'POLO',
link: ''
},
{
brandname: '毛衣/针织',
link: ''
}]
}
]
}, {
name: '品牌一览',
link: '',
thirdnav:
[
]
}]
}],
myyoho: {
email: 'caomei@163.com',
viptype: '普通会员',
currentscore: 495,
totalscore: 600,
cardtype: '银卡',
infolist:
[
{
name: '待处理的订单',
link: '',
num: '0'
}, {
name: '我的收藏',
link: '',
num: '1'
}, {
name: '我的优惠券',
link: '',
num: '2'
}, {
name: '我的YOHO币',
link: '',
num: '1'
}, {
name: '我的退货换货',
link: '',
num: '1'
}],
updlink: ''
},
gobuy: {
gobuynum: 3
},
breadcrumbnav:
[
{
notend: {
link: 'http://www.yohobuy.com',
name: 'BOYS首页'
}
}, {
notend: {
link: 'http://www.yohobuy.com',
name: '上衣'
}
}, {
isend: {
link: 'http://list.yohobuy.com/?msort=1
&
gender=1,3',
name: '衬衫'
}
}]
}
\ No newline at end of file
...
...
template/www.yohobuy.com/actions/index/guang/detail.phtml
View file @
b8ea1b6
{
{>
layout/header
}
}
{
{#
detail
}
}
{
{#
guang
}
}
<div
class=
"guang-detail-page guang-page yoho-page clearfix"
data-id=
"{{id}}"
>
<div
class=
"left-side detail-body"
>
{
{#
header
}
}
...
...
@@ -52,7 +52,7 @@
<div
class=
"recos clearfix"
>
{
{#
recos
}
}
<div
class=
"commodity-info"
>
{
{#withInfo
}
}
{
{#
withInfo
}
}
{
{>
product/good
}
}
{
{/
withInfo
}
}
</div>
...
...
@@ -182,6 +182,6 @@
{
{>
guang/right-side
}
}
</div>
</div>
{
{/
detail
}
}
{
{/
guang
}
}
{
{>
layout/footer
}
}
...
...
Please
register
or
login
to post a comment