From 552e012903de8b70be55b883177f22e29794b3be Mon Sep 17 00:00:00 2001 From: liyukun <1099438829@qq.com> Date: Mon, 11 Apr 2022 19:20:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=BB=E9=A2=98=E6=91=98?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/common.php | 1 + public/template/default/pc/article/search.html | 2 +- public/template/default/pc/article/tag.html | 2 +- public/template/default/pc/category/list_default.html | 2 +- public/template/default/pc/index/index.html | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/index/common.php b/app/index/common.php index b17ceab..ab75d59 100644 --- a/app/index/common.php +++ b/app/index/common.php @@ -401,6 +401,7 @@ function tpl_get_list($orderBy, $pageSize, $cid, $type, $table = 'article', $whe 'model' => $documentListModel, 'lists' => $lists ]; + //dd($re); return $re; } diff --git a/public/template/default/pc/article/search.html b/public/template/default/pc/article/search.html index 0da1b5d..5245ce3 100644 --- a/public/template/default/pc/article/search.html +++ b/public/template/default/pc/article/search.html @@ -41,7 +41,7 @@ {:cn_substr($field['title'],20)}
- {:cn_substr($field['description'],100)} + {:cn_substr($field['abstract'],100)}
diff --git a/public/template/default/pc/article/tag.html b/public/template/default/pc/article/tag.html index 1ef7a97..c88eaec 100644 --- a/public/template/default/pc/article/tag.html +++ b/public/template/default/pc/article/tag.html @@ -41,7 +41,7 @@ {:cn_substr($field['title'],20)}
- {:cn_substr($field['abstract'],100)} + {:cn_substr($field['abstract'],100)}
diff --git a/public/template/default/pc/category/list_default.html b/public/template/default/pc/category/list_default.html index 9c02cf7..56884fb 100644 --- a/public/template/default/pc/category/list_default.html +++ b/public/template/default/pc/category/list_default.html @@ -40,7 +40,7 @@ {if $field['is_top']==1}置顶{/if} {:cn_substr($field['title'],20)} -
+
{:cn_substr($field['abstract'],100)}
diff --git a/public/template/default/pc/index/index.html b/public/template/default/pc/index/index.html index ed8b712..fa8ec30 100644 --- a/public/template/default/pc/index/index.html +++ b/public/template/default/pc/index/index.html @@ -118,8 +118,8 @@ {if $field['is_top']==1}置顶{/if} {:cn_substr($field['title'],20)} -
- {:cn_substr($field['description'],100)} +
+ {:cn_substr($field['abstract'],100)}