From 5233475029530061b32c0a7c4d7d462c0329d45f Mon Sep 17 00:00:00 2001 From: xiongxiaoyang <773861846@qq.com> Date: Sun, 17 Nov 2019 14:16:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=BC=AB=E7=94=BB=E5=8F=AF?= =?UTF-8?q?=E6=8C=89tag=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/books/book_detail.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/novel-front/src/main/resources/templates/books/book_detail.html b/novel-front/src/main/resources/templates/books/book_detail.html index f2aae04..38b25d3 100644 --- a/novel-front/src/main/resources/templates/books/book_detail.html +++ b/novel-front/src/main/resources/templates/books/book_detail.html @@ -141,6 +141,7 @@ +
@@ -308,9 +309,15 @@ var innerHtml = ""; for(var i=0; i< bookTag.length;i++){ var tag = bookTag[i]; - innerHtml+=("
  • \n" + - " "+tag+"\n" + - "
  • "); + if($("#catidHidden").val() == 8) { + innerHtml += ("
  • \n" + + " " + tag + "\n" + + "
  • "); + }else{ + innerHtml += ("
  • \n" + + " " + tag + "\n" + + "
  • "); + } } $("#tagLi").html(innerHtml);