Authored by 李靖

增加title,滑动优化

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