Authored by zhangxiaoru

editorialpre

... ... @@ -461,7 +461,7 @@ const _getArticlePre = (id, appType) => {
id: id,
app_type: appType
}).then((result) => {
//console.log(result.message);
// console.log(result.message);
// result.code = 200;
// result.data = {
// articleIdPre: 34288,
... ... @@ -512,7 +512,7 @@ const _getArticleNext = (id, appType) => {
nextArticle.nextChapter = list.title;
return nextArticle;
})
});
} else {
logger.error('The next article is not 200');
... ...
... ... @@ -234,7 +234,7 @@ $('.left').click(function() {
$goods.animate({left: '+=930px'});
});
console.log($('.chapter-left').find('a').text().length)
console.log($('.chapter-left').find('a').text().length);
if (pre.text().length > 20) {
pre.text(pre.text().substring(0, 19) + '...');
... ...