更新:新闻展示标题添加title属性
parent
3488c86fca
commit
ce194295d5
|
@ -31,7 +31,7 @@
|
|||
<div class="pull-right">
|
||||
<div class="imgs"><img src="{:getImgSrc($item, '__IMG__/default_bg.jpg')}" ></div>
|
||||
<div class="info">
|
||||
<span>{$item['title'] ?? ''}</span>
|
||||
<span title="{$item['title'] ?? ''}">{$item['title'] ?? ''}</span>
|
||||
<p>{:nl2br($item['summary'] ?? '')}</p>
|
||||
<i>了解详情+</i>
|
||||
</div>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<div class="pull-right">
|
||||
<div class="imgs"><img src="{:getImgSrc($item, '__IMG__/default_bg.jpg')}" ></div>
|
||||
<div class="info">
|
||||
<span>{$item['title'] ?? ''}</span>
|
||||
<span title="{$item['title'] ?? ''}">{$item['title'] ?? ''}</span>
|
||||
<p>{:nl2br($item['summary'] ?? '')}</p>
|
||||
<i>了解详情+</i>
|
||||
</div>
|
||||
|
@ -56,7 +56,7 @@
|
|||
<div class="pull-right">
|
||||
<div class="imgs"><img src="{:getImgSrc($item, '__IMG__/default_bg.jpg')}" ></div>
|
||||
<div class="info">
|
||||
<span>{$item['title'] ?? ''}</span>
|
||||
<span title="{$item['title'] ?? ''}">{$item['title'] ?? ''}</span>
|
||||
<p>{:nl2br($item['summary'] ?? '')}</p>
|
||||
<i>了解详情+</i>
|
||||
</div>
|
||||
|
@ -81,7 +81,10 @@
|
|||
<ul>
|
||||
{if isset($cateList['dynamics']['items']) && count($cateList['dynamics']['items']) > 0}
|
||||
{foreach $cateList['dynamics']['items'] as $item}
|
||||
<li><a href="{:url('article/detail', ['id'=>$item['id']])}"><span>{$item['title'] ?? ''}</span><i>{$item['create_time']|date="Y年m月d日"}</i></a></li>
|
||||
<li><a href="{:url('article/detail', ['id'=>$item['id']])}">
|
||||
<span title="{$item['title'] ?? ''}">{$item['title'] ?? ''}</span>
|
||||
<i>{$item['create_time']|date="Y年m月d日"}</i></a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</ul>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
{if isset($prev) && count($prev) >0}
|
||||
<a href="{:url('article/detail', ['id' => $prev.id, 'source'=>$currentCateId])}">上一篇</a>
|
||||
{/if}
|
||||
{if (isset($prev) && count($prev) >0) && (isset($next) && count($next) >0)} / {/if}
|
||||
{if (isset($prev) && count($prev) >0) && (isset($next) && count($next) >0)}/{/if}
|
||||
{if isset($next) && count($next) >0}
|
||||
<a href="{:url('article/detail', ['id' => $next.id, 'source'=>$currentCateId])}">下一篇</a>
|
||||
{/if}
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<div class="pull-right">
|
||||
<ul>
|
||||
{foreach $honor.items as $item}
|
||||
<li>{$item.title}</li>
|
||||
<li title="{$item.title}">{$item.title}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue