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,
|
'model' => $documentListModel,
|
||||||
'lists' => $lists
|
'lists' => $lists
|
||||||
];
|
];
|
||||||
|
//dd($re);
|
||||||
return $re;
|
return $re;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="post-item-content">
|
<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>
|
||||||
<div class="post-item-info">
|
<div class="post-item-info">
|
||||||
<div class="post-item-meta">
|
<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>
|
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="post-item-content">
|
<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>
|
||||||
<div class="post-item-info">
|
<div class="post-item-info">
|
||||||
<div class="post-item-meta">
|
<div class="post-item-meta">
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
{if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
|
{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>
|
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
|
<div class="post-item-content">
|
||||||
{:cn_substr($field['abstract'],100)}
|
{:cn_substr($field['abstract'],100)}
|
||||||
</div>
|
</div>
|
||||||
<div class="post-item-info">
|
<div class="post-item-info">
|
||||||
|
|
|
||||||
|
|
@ -118,8 +118,8 @@
|
||||||
{if $field['is_top']==1}<span class="post-item-sticky">置顶</span>{/if}
|
{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>
|
<a href="{$field['url']}" style="white-space: nowrap;text-overflow: ellipsis;">{:cn_substr($field['title'],20)}</a>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="post-item-content" style="white-space: nowrap;text-overflow: ellipsis;">
|
<div class="post-item-content">
|
||||||
{:cn_substr($field['description'],100)}
|
{:cn_substr($field['abstract'],100)}
|
||||||
</div>
|
</div>
|
||||||
<div class="post-item-info">
|
<div class="post-item-info">
|
||||||
<div class="post-item-meta">
|
<div class="post-item-meta">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue