Showing
6 changed files
with
32 additions
and
0 deletions
apps/home/controllers/family.js
0 → 100644
1 | +'use strict'; | ||
2 | + | ||
3 | +//const headerModel = require('../../../doraemon/models/header'); // 头部model | ||
4 | +// const family = require('../models/family'); | ||
5 | + | ||
6 | +exports.familyIndex = (req, res) => { | ||
7 | + //let uid = req.user.uid; | ||
8 | + | ||
9 | + res.render('family/index', { | ||
10 | + page: 'family', | ||
11 | + title: 'family', | ||
12 | + width750: true, | ||
13 | + localCss: true | ||
14 | + }); | ||
15 | +}; |
apps/home/models/family.js
0 → 100644
@@ -31,6 +31,7 @@ const gradeNew = require(`${cRoot}/grade-new`); | @@ -31,6 +31,7 @@ const gradeNew = require(`${cRoot}/grade-new`); | ||
31 | const refund = require(`${cRoot}/refund`); | 31 | const refund = require(`${cRoot}/refund`); |
32 | const exchange = require(`${cRoot}/exchange`); | 32 | const exchange = require(`${cRoot}/exchange`); |
33 | const tideCommand = require(`${cRoot}/tide-command`); | 33 | const tideCommand = require(`${cRoot}/tide-command`); |
34 | +const family = require(`${cRoot}/family`); | ||
34 | 35 | ||
35 | // const myDetail = require(`${cRoot}/myDetail); | 36 | // const myDetail = require(`${cRoot}/myDetail); |
36 | 37 | ||
@@ -175,4 +176,6 @@ router.post('/return/exchange/submit', auth, exchange.submit); // AJAX 提交换 | @@ -175,4 +176,6 @@ router.post('/return/exchange/submit', auth, exchange.submit); // AJAX 提交换 | ||
175 | router.post('/return/exchange/cancel-apply', auth, exchange.cancelApply); // AJAX 取消换货申请 | 176 | router.post('/return/exchange/cancel-apply', auth, exchange.cancelApply); // AJAX 取消换货申请 |
176 | 177 | ||
177 | router.get('/tide-command', auth, tideCommand.tideCommand); // 设置潮流口令 | 178 | router.get('/tide-command', auth, tideCommand.tideCommand); // 设置潮流口令 |
179 | + | ||
180 | +router.get('/family', auth, family.familyIndex); // family首页 | ||
178 | module.exports = router; | 181 | module.exports = router; |
apps/home/views/action/family/index.hbs
0 → 100644
public/js/home/family.page.js
0 → 100644
1 | +require('home/family.page.css'); |
-
Please register or login to post a comment