From d025d3d51422d6869dc4c325d209c50a89de82ad Mon Sep 17 00:00:00 2001 From: xiongxiaoyang Date: Sun, 24 May 2020 02:04:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/mobile/book/book_ranking.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/novel-front/src/main/resources/templates/mobile/book/book_ranking.html b/novel-front/src/main/resources/templates/mobile/book/book_ranking.html index 354dcb4..d3a0693 100644 --- a/novel-front/src/main/resources/templates/mobile/book/book_ranking.html +++ b/novel-front/src/main/resources/templates/mobile/book/book_ranking.html @@ -185,7 +185,7 @@ }*/ if(book.bookDesc){ - book.bookDesc = book.bookDesc.replace(/<[^>]+>/g,"").replace(/\s+/g,""); + book.bookDesc = book.bookDesc.replace(/<[^>]+>/g,"").replace(/\s+/g,"").replace(/ /g,""); } bookListHtml += ("
\n" + @@ -206,7 +206,7 @@ " \n" + "
类别:"+book.catName+"
\n" + "
状态:"+(book.bookStatus==0?'连载':'完结')+"
\n" + - "
更新:"+book.lastIndexUpdateTime+"\n" + + "
更新:"+book.lastIndexUpdateTime.substr(0,11)+"\n" + "
\n" + "
简介:"+(book.bookDesc?(book.bookDesc.length>20?(book.bookDesc.substr(0,20)+"..."):book.bookDesc):book.bookDesc)+"
\n" + "\n" +