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)}