From bb31fb6d52f461b8e802c2a6752e423565ef8433 Mon Sep 17 00:00:00 2001 From: wushijishan <65406369+wushijishan@users.noreply.github.com> Date: Fri, 30 Oct 2020 00:37:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=8C=E6=9F=84APP?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=9B=BE=E7=89=87=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#6019)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/erbingapp/news.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/routes/erbingapp/news.js b/lib/routes/erbingapp/news.js index 868b126e27..b09d19920c 100644 --- a/lib/routes/erbingapp/news.js +++ b/lib/routes/erbingapp/news.js @@ -19,6 +19,13 @@ module.exports = async (ctx) => { description += `
`; } else if (item.acontent.indexOf('104129') !== -1) { description += `
`; + } else if (item.acontent.indexOf('.html') !== -1) { + description += `
More`; + } else if (item.acontent.indexOf('"imgs') !== -1) { + const imgs = item.acontent.split(','); + for (let i = 1; i < imgs.length; i++) { + description += `
`; + } } else { const imgs = item.acontent.split(','); for (let i = 0; i < imgs.length; i++) {