更新:首页新闻添加title属性

virtual
zwesy 2020-12-09 10:15:34 +08:00
parent b627efaec3
commit 19a94f7425
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
{foreach $newsCate['items'] as $news}
<li>
<a href="{:url('article/detail', ['id'=>$news['id']])}">
<span>{$news['title']|raw}</span>
<span title="{$news['title']|raw}">{$news['title']|raw}</span>
<i>{$news['create_time']|date='Y年m月d日'}</i>
</a>
</li>