mirror of https://github.com/1099438829/apeblog
修复主题摘要的问题
This commit is contained in:
parent
d8b6ad3b82
commit
552e012903
|
|
@ -401,6 +401,7 @@ function tpl_get_list($orderBy, $pageSize, $cid, $type, $table = 'article', $whe
|
|||
'model' => $documentListModel,
|
||||
'lists' => $lists
|
||||
];
|
||||
//dd($re);
|
||||
return $re;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content">
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['description'],100)}</a>
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['abstract'],100)}</a>
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content">
|
||||
<a target="_blank" href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['abstract'],100)}</a>
|
||||
<a target="_blank" href="{$field['url']}">{:cn_substr($field['abstract'],100)}</a>
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
{if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
|
||||
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
|
||||
<div class="post-item-content">
|
||||
{:cn_substr($field['abstract'],100)}
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
|
|
|
|||
|
|
@ -118,8 +118,8 @@
|
|||
{if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
|
||||
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||
</h2>
|
||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
|
||||
{:cn_substr($field['description'],100)}
|
||||
<div class="post-item-content">
|
||||
{:cn_substr($field['abstract'],100)}
|
||||
</div>
|
||||
<div class="post-item-info">
|
||||
<div class="post-item-meta">
|
||||
|
|
|
|||
Loading…
Reference in New Issue