order.js
1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* [个人中心]首页/我的订单
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2016/07/04
*/
'use strict';
/**
* 订单
*/
const index = (req, res) => {
res.render('index', {
module: 'me',
page: 'order',
isMe: true,
content: {
nav: [
{
link: '//www.yohoblk.com',
name: 'YOHO!BLK首页'
},
{
link: '//www.yohoblk.com/me',
name: '个人中心'
},
{
link: '//www.yohoblk.com/me',
name: '我的订单'
}
],
navigation: [
{
focus: true,
link: '/me/order',
name: '我的订单'
},
{
link: '/me/return',
name: '我的退/换货'
},
{
link: '/me/collection',
name: '我的收藏'
},
{
link: '/me/message',
name: '我的消息'
},
{
link: '/me/currency',
name: '我的YOHO币'
},
{
link: '/me/setting',
name: '个人设置'
},
{
link: '/me/address',
name: '收货地址'
}
],
banner: 'http://placehold.it/150x120',
order: true
}
});
};
module.exports = {
index
};