Authored by 李靖

增加title,滑动优化

@@ -201,7 +201,8 @@ const detailIndex = (req, res, next) => { @@ -201,7 +201,8 @@ const detailIndex = (req, res, next) => {
201 return res.render('guang/detail', Object.assign({ 201 return res.render('guang/detail', Object.assign({
202 css: yield css('guang/detail.css'), 202 css: yield css('guang/detail.css'),
203 gender: gender, 203 gender: gender,
204 - localStyle: processContents.css 204 + localStyle: processContents.css,
  205 + title: detail.getArticle.article_title
205 }, data)); 206 }, data));
206 })().catch(next); 207 })().catch(next);
207 }; 208 };
@@ -126,6 +126,7 @@ @@ -126,6 +126,7 @@
126 overflow-y: hidden; 126 overflow-y: hidden;
127 margin: 20px 0; 127 margin: 20px 0;
128 background-color: #fff; 128 background-color: #fff;
  129 + -webkit-overflow-scrolling: touch;
129 } 130 }
130 .good-scroll { 131 .good-scroll {
131 height: 133px; 132 height: 133px;