Authored by lijing

修改图片,添加next

@@ -53,7 +53,7 @@ const agreement = (req, res) => { @@ -53,7 +53,7 @@ const agreement = (req, res) => {
53 }, parameter)); 53 }, parameter));
54 }; 54 };
55 55
56 -const about = (req, res) => { 56 +const about = (req, res, next) => {
57 let responseData = { 57 let responseData = {
58 pageHeader: headerModel.setNav({ 58 pageHeader: headerModel.setNav({
59 navTitle: '关于有货', 59 navTitle: '关于有货',
@@ -67,7 +67,7 @@ const about = (req, res) => { @@ -67,7 +67,7 @@ const about = (req, res) => {
67 67
68 aboutModel.about().then(result => { 68 aboutModel.about().then(result => {
69 res.render('agreement/about', Object.assign(responseData, {wxFooter: result})); 69 res.render('agreement/about', Object.assign(responseData, {wxFooter: result}));
70 - }); 70 + }).catch(next);
71 }; 71 };
72 72
73 module.exports = { 73 module.exports = {
@@ -9,5 +9,5 @@ @@ -9,5 +9,5 @@
9 {{> wx-footer}} 9 {{> wx-footer}}
10 </div> 10 </div>
11 {{/ wxFooter}} 11 {{/ wxFooter}}
12 - <img class="focus-pic" src="{{imgSrc 'img/passport/focus.png'}}" /> 12 + <img class="focus-pic" src="{{imgSrc 'img/passport/focus.jpg'}}" />
13 </div> 13 </div>