标签使用demo
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<style>
|
<style>
|
||||||
html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans-serif; font-weight: 100; height: 100vh; margin: 0;}
|
html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans-serif; font-weight: 100; height: 80vh; margin: 0;}
|
||||||
.top{text-align: right; line-height: 35px; padding: 0 20px;}
|
.top{text-align: right; line-height: 35px; padding: 0 20px;}
|
||||||
.top a{color: #333333; padding: 0 10px}
|
.top a{color: #333333; padding: 0 10px}
|
||||||
.full-height {height: 90vh;}
|
.full-height {height: 90vh;}
|
||||||
@@ -27,12 +27,18 @@ html, body {background-color: #fff; color: #636b6f; font-family: 'Raleway', sans
|
|||||||
<a href="{:url('/user/index/register')}">注册</a>
|
<a href="{:url('/user/index/register')}">注册</a>
|
||||||
<a href="{:url('/user/index/login')}">登录</a>
|
<a href="{:url('/user/index/login')}">登录</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>导航标签使用示例(全局)</div>
|
||||||
{sent:nav tree="false" type="1" name="item"}
|
{sent:nav tree="false" type="1" name="item"}
|
||||||
<li><a href="{$item['url']}">{$item['title']}</a></li>
|
<li><a href="{$item['url']}">{$item['title']}</a></li>
|
||||||
{/sent:nav}
|
{/sent:nav}
|
||||||
|
|
||||||
|
<div>模型内容标签使用示例(全局)</div>
|
||||||
{sent:doc model="article" limit="10" cid="1"}
|
{sent:doc model="article" limit="10" cid="1"}
|
||||||
<li><a href="{:url('/article/detail-'.$item['id'])}">{$item['title']}</a></li>
|
<li><a href="{:url('/article/detail-'.$item['id'])}">{$item['title']}</a></li>
|
||||||
{/sent:doc}
|
{/sent:doc}
|
||||||
|
<div>后台系统配置信息标签使用(全局)</div>
|
||||||
|
{$config['web_site_url']}
|
||||||
<div class="flex-center position-ref full-height">
|
<div class="flex-center position-ref full-height">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="title m-b-md">
|
<div class="title m-b-md">
|
||||||
|
|||||||
Reference in New Issue
Block a user