From 992a43df68b2faa2ad497e53358bf1e7076bf0ef Mon Sep 17 00:00:00 2001 From: sgjj <995959152@qq.com> Date: Wed, 24 Jun 2020 18:19:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=A0=87=E7=AD=BE=E8=A7=A3?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/net/mingsoft/cms/dao/IContentDao.xml | 2 +- src/main/webapp/templets/1/default/about.htm | 36 ++---------- .../webapp/templets/1/default/case-list.htm | 14 ++--- src/main/webapp/templets/1/default/head.htm | 30 +++++----- src/main/webapp/templets/1/default/index.htm | 58 +++++++++---------- .../webapp/templets/1/default/news-list.htm | 24 ++++---- .../webapp/templets/1/default/news-show.htm | 58 +++++++++---------- src/main/webapp/templets/1/default/search.htm | 6 +- 8 files changed, 101 insertions(+), 127 deletions(-) diff --git a/src/main/java/net/mingsoft/cms/dao/IContentDao.xml b/src/main/java/net/mingsoft/cms/dao/IContentDao.xml index 05ee0d9c..c698ca02 100644 --- a/src/main/java/net/mingsoft/cms/dao/IContentDao.xml +++ b/src/main/java/net/mingsoft/cms/dao/IContentDao.xml @@ -285,7 +285,7 @@ - and d.${item.key} like CONCAT("%",#{item.value},"%") + and d.${field.key} like CONCAT("%",#{item.value},"%") diff --git a/src/main/webapp/templets/1/default/about.htm b/src/main/webapp/templets/1/default/about.htm index 7798f829..8f3b4439 100644 --- a/src/main/webapp/templets/1/default/about.htm +++ b/src/main/webapp/templets/1/default/about.htm @@ -1,31 +1,5 @@ - - - - <#include "head-file.htm"/> - - - - <#include "head.htm"/> -
- - -
-
-
- <#include "menu-left.htm"/> -
- -
-
${field.title}
-
${field.content}
-
-
-
-
- <#include "footer.htm"/> - - \ No newline at end of file +<#include "head.htm"> +{ms:channel type=son} +[field.typetitle/] +{/ms:channel} +================== \ No newline at end of file diff --git a/src/main/webapp/templets/1/default/case-list.htm b/src/main/webapp/templets/1/default/case-list.htm index ddc9fd8d..7fb73957 100644 --- a/src/main/webapp/templets/1/default/case-list.htm +++ b/src/main/webapp/templets/1/default/case-list.htm @@ -6,33 +6,33 @@ <#include "head.htm"/> -
+
- <@arclist size=6 ispaging=true> + {ms:arclist size=6 ispaging=true}
- +
-
${item.title}
+
[field.title/]

- ${item.content} + [field.content/]

- + {/ms:arclist}
<#include "footer.htm"/> diff --git a/src/main/webapp/templets/1/default/head.htm b/src/main/webapp/templets/1/default/head.htm index 32a1cb5c..273b702d 100644 --- a/src/main/webapp/templets/1/default/head.htm +++ b/src/main/webapp/templets/1/default/head.htm @@ -1,17 +1,17 @@
- + -->
  • - 在线留言 + 在线留言
  • 技术支持
      @@ -54,7 +54,7 @@