mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 02:22:48 +08:00
新增置顶文章
This commit is contained in:
@@ -48,12 +48,12 @@
|
||||
<div>
|
||||
<input type="radio" name="index_tpl_name" value="articles_" title="资讯头条主题-'articles_'">
|
||||
</div>
|
||||
<div>
|
||||
<!-- <div>
|
||||
<input type="radio" name="index_tpl_name" value="documents_" title="文档主题-'documents_'">
|
||||
</div>
|
||||
<div>
|
||||
<input type="radio" name="index_tpl_name" value="blog_" title="博客主题-'blog_'">
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -12,6 +12,35 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="session border">
|
||||
<div class="header">
|
||||
推荐阅读
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="plus-post-list">
|
||||
{volist name='top_posts' id='post'}
|
||||
<a href="{:url('Post/read',['id'=>$post.id])}" class="plus-post-item"
|
||||
onmouseover="$(this).find('.poster').addClass('layui-anim-scale')"
|
||||
onmouseout="$(this).find('.poster').removeClass('layui-anim-scale')">
|
||||
{notempty name='$post->getData("poster")'}
|
||||
|
||||
<div class="poster layui-anim" style="background-image: url('{$post.poster}');"></div>
|
||||
{/notempty}
|
||||
|
||||
<div class="info">
|
||||
<div class="title">{$post.title}</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</a>
|
||||
{/volist}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="session border">
|
||||
<div class="header">
|
||||
更多
|
||||
|
||||
Reference in New Issue
Block a user