currency.js
1.03 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
/**
* [个人中心]yoho币
* @author: jiangmin
* @date: 2016/07/11
*/
'use strict';
const mcHandler = require('../models/menu-crumb-handler');
// const currencyModel = require('../models/currency');
/**
* yoho币页面加载
*/
const index = (req, res) => {
res.render('index', {
module: 'me',
page: 'currency',
isMe: true,
content: {
nav: mcHandler.getMeCrumb(),
navigation: mcHandler.getSideMenu('YOHO币'),
banner: 'http://placehold.it/150x120',
currency: true,
tabs: [
{
text: '全部明细',
isActive: true,
type: 'all'
},
{
text: '全部收入',
type: 'paying'
},
{
text: '全部支出',
type: 'delivering'
}
],
title: 'YOHO币'
}
});
};
module.exports = {
index
};