Authored by zhangxiaoru

index

'use strict';
//const headerModel = require('../../../doraemon/models/header'); // 头部model
// const family = require('../models/family');
exports.familyIndex = (req, res) => {
//let uid = req.user.uid;
res.render('family/index', {
page: 'family',
title: 'family',
width750: true,
localCss: true
});
};
... ...
... ... @@ -31,6 +31,7 @@ const gradeNew = require(`${cRoot}/grade-new`);
const refund = require(`${cRoot}/refund`);
const exchange = require(`${cRoot}/exchange`);
const tideCommand = require(`${cRoot}/tide-command`);
const family = require(`${cRoot}/family`);
// const myDetail = require(`${cRoot}/myDetail);
... ... @@ -175,4 +176,6 @@ router.post('/return/exchange/submit', auth, exchange.submit); // AJAX 提交换
router.post('/return/exchange/cancel-apply', auth, exchange.cancelApply); // AJAX 取消换货申请
router.get('/tide-command', auth, tideCommand.tideCommand); // 设置潮流口令
router.get('/family', auth, family.familyIndex); // family首页
module.exports = router;
... ...
<div class="yoho-family-page yoho-page">
<div class="family-heade">
<div class="header-top">
<button class="back iconfont" onclick="javascript:history.go(-1);">&#xe72e;</button>
<span>111</span>
</div>
</div>
</div>
\ No newline at end of file
... ...
require('home/family.page.css');
... ...
.yoho-family-page {
.family-heade {
background: linear-gradient(#46ba8e, #67c7c0);
}
}
... ...