From 2b8eb6383681ff81cfe883f5f398c47189db7b0d Mon Sep 17 00:00:00 2001 From: xxy <1179705413@qq.com> Date: Sun, 1 Dec 2019 12:04:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=BC=AB=E7=94=BB=E5=BC=B9?= =?UTF-8?q?=E5=B9=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- novel-front/novel-front.iml | 101 ++++ .../src/main/resources/application.yml | 2 +- .../templates/books/book_content.html | 436 +++++++++--------- .../templates/books/book_detail.html | 2 - 4 files changed, 321 insertions(+), 220 deletions(-) diff --git a/novel-front/novel-front.iml b/novel-front/novel-front.iml index eb5b6e4..c85b29f 100644 --- a/novel-front/novel-front.iml +++ b/novel-front/novel-front.iml @@ -5,4 +5,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/novel-front/src/main/resources/application.yml b/novel-front/src/main/resources/application.yml index e58095d..de5b42e 100644 --- a/novel-front/src/main/resources/application.yml +++ b/novel-front/src/main/resources/application.yml @@ -14,7 +14,7 @@ spring: config: classpath:ehcache.xml thymeleaf: mode: LEGACYHTML5 #去除thymeleaf的html严格校验thymeleaf.mode=LEGACYHTML5 - cache: true # 是否开启模板缓存,默认true,建议在开发时关闭缓存,不然没法看到实时 + cache: false # 是否开启模板缓存,默认true,建议在开发时关闭缓存,不然没法看到实时 freemarker: template-loader-path: classpath:/templates #设定freemarker文件路径 默认为src/main/resources/templatestemplate-loader-path=classpath:/templates charset: UTF-8 # 模板编码 diff --git a/novel-front/src/main/resources/templates/books/book_content.html b/novel-front/src/main/resources/templates/books/book_content.html index eddc529..a5ae916 100644 --- a/novel-front/src/main/resources/templates/books/book_content.html +++ b/novel-front/src/main/resources/templates/books/book_content.html @@ -1,6 +1,4 @@ - - @@ -41,6 +39,201 @@ } window.setInterval("reinitIframe()", 200); + + + +