优化标签,增加模型标签的使用demo

This commit is contained in:
2020-04-26 22:10:30 +08:00
parent dc279c9fad
commit 1a2fbeddd2
2 changed files with 5 additions and 2 deletions

View File

@@ -30,6 +30,9 @@ html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans
{sent:nav tree="false" type="1" name="item"}
<li><a href="{$item['url']}">{$item['title']}</a></li>
{/sent:nav}
{sent:doc model="article" limit="10" cid="1"}
<li><a href="{:url('/article/detail-'.$item['id'])}">{$item['title']}</a></li>
{/sent:doc}
<div class="flex-center position-ref full-height">
<div class="content">
<div class="title m-b-md">