Merge branch 'feature/growthdetail' of git.yoho.cn:fe/yohobuywap-node into feature/growthdetail
Showing
5 changed files
with
25 additions
and
6 deletions
@@ -83,3 +83,22 @@ exports.getHis = (req, res, next) => { | @@ -83,3 +83,22 @@ exports.getHis = (req, res, next) => { | ||
83 | res.json(result); | 83 | res.json(result); |
84 | }).catch(next); | 84 | }).catch(next); |
85 | }; | 85 | }; |
86 | + | ||
87 | +/** | ||
88 | + * 会员升级引导页面 | ||
89 | + */ | ||
90 | +exports.upgrade = (req, res) => { | ||
91 | + let responseData = { | ||
92 | + module: 'home', | ||
93 | + page: 'grade-new', | ||
94 | + pageHeader: headerModel.setNav({ | ||
95 | + navTitle: '会员等级' | ||
96 | + }), | ||
97 | + title: '会员等级', | ||
98 | + width750: true, | ||
99 | + localCss: true, | ||
100 | + pageFooter: true | ||
101 | + }; | ||
102 | + | ||
103 | + res.render('grade-new/upgrade', responseData); | ||
104 | +}; |
@@ -153,8 +153,8 @@ router.get('/getaddress.json', addressController.newGetAddress); // TODO 模拟 | @@ -153,8 +153,8 @@ router.get('/getaddress.json', addressController.newGetAddress); // TODO 模拟 | ||
153 | 153 | ||
154 | router.get('/logistic', auth, orderDetailController.logistic); // 查看物流页面 | 154 | router.get('/logistic', auth, orderDetailController.logistic); // 查看物流页面 |
155 | 155 | ||
156 | -router.get('/grade', auth, gradeNew.index); // 会员等级 | ||
157 | -router.get('/gradeNew/content', auth, gradeNew.content); // app要提供我的等级单独tab部分页面 | 156 | +router.get('/grade', auth, gradeNew.upgrade); // 会员等级 |
157 | +router.get('/gradeNew/content', auth, gradeNew.upgrade); // app要提供我的等级单独tab部分页面 | ||
158 | router.get('/gradeNew/grow', auth, gradeNew.grow); // 成长记录 | 158 | router.get('/gradeNew/grow', auth, gradeNew.grow); // 成长记录 |
159 | router.get('/gradeNew/getHis', gradeNew.getHis); // 成长记录 | 159 | router.get('/gradeNew/getHis', gradeNew.getHis); // 成长记录 |
160 | 160 |
apps/home/views/action/grade-new/upgrade.hbs
0 → 100644
1 | +<img src="//cdn.yoho.cn/grade/vip-upgrade.jpg?imageMogr2/quality/60" alt=""> |
public/static/grade/vip-upgrade.jpg
0 → 100644
310 KB
-
Please register or login to post a comment