Authored by zhangxiaoru

editori pre

... ... @@ -628,7 +628,7 @@ const shareData = () => {
* @param id
* @returns {*}
*/
const getDetailData = (id, uid, udid, appType) => {
const getDetailData = (id, appType, uid, udid) => {
return co(function *() {
let result = yield Promise.all([_getHeadData(id, appType, uid, udid),
_getArticleData(id),
... ...
... ... @@ -243,3 +243,11 @@ if (pre.text().length > 20) {
if (next.text().length > 20) {
next.text(next.text().substring(0, 19) + '...');
}
if ($('.chapter-left').find('a').text() === '') {
$('.chapter-left').hide();
}
if ($('.chapter-right').find('a').text() === '') {
$('.chapter-right').hide();
}
... ...