## 详情页实例
* [ ] 标题:{$result['title']}
* [ ] 分类:{$currentnav.name}
* [ ] 时间:{$result['update_time']|date='Y-m-d'}
* [ ] 内容:{$result['content']|raw|htmlspecialchars_decode}
*****
### 标签
```{SEO:tag id="vo" cache="2592000"}
<a target="_blank" href="{$vo.url}">{$vo.name}</ a>
{/SEO:tag}
```
### 相关文章
```
{SEO:tagnews limit="6" cache="604800" id="vo"}
<li><a href="{$vo.url}">{$vo.title}<span>{$vo['update_time']|date='Y-m-d'}</span></a></li>
{/SEO:tagnews}
```
### 上一篇 下一篇
```
<p class="up_pages fl tl">
{if !empty($last)}<span>上一篇</span>
<a href="{$last['url']}">{$last['title']}</a>
{/if}
</p>
<p class="next_pages fr tr">
{if !empty($next)}<span>下一篇</span>
<a href="{$next['url']}">{$next['title']}</a>
{/if}
</p>
```
### 整体案例解析
```
<div class="news_detail_tit tc">
<h1>{$result['title']}</h1>
</div>
<div class="news_detail_info">
<p>
<span class="sort">
<i class="iconfont"></i>
<em>分类:</em>
{$currentnav.name}
</span>
<span class="timebox">
<i class="iconfont"></i>
<em>发布时间:</em>
{$result['update_time']|date='Y-m-d'}
</span>
</p>
<p class="news_detail_line"></p>
</div>
<div class="news_detail_art">
<article>
{$result['content']|raw|htmlspecialchars_decode}
</article>
</div>
<div class="tag">
标签:<i class="icon-tag"></i>
{SEO:tag id="vo" cache="2592000"}
<a target="_blank" href="{$vo.url}">{$vo.name}</ a>
{/SEO:tag}
</div>
<p class="news_detail_line clearfix"></p>
<div class="tag_list">
<ul>
{SEO:tagnews limit="6" cache="604800" id="vo"}
<li><a href="{$vo.url}">{$vo.title}<span>{$vo['update_time']|date='Y-m-d'}</span></a></li>
{/SEO:tagnews}
<p class="clearfix"></p>
</ul>
</div>
<p class="news_detail_line clearfix"></p>
<div class="detail_next">
<p class="up_pages fl tl">
{if !empty($last)}<span>上一篇</span>
<a href="{$last['url']}">{$last['title']}</a>
{/if}
</p>
<p class="next_pages fr tr">
{if !empty($next)}<span>下一篇</span>
<a href="{$next['url']}">{$next['title']}</a>
{/if}
</p>
</div>
</div>
```