mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
新增动态的样式;
This commit is contained in:
@@ -63,6 +63,23 @@
|
||||
<div class="post-list">
|
||||
{volist name='list_post' id='post'}
|
||||
|
||||
{switch $post['tpl_name'] }
|
||||
{case event }
|
||||
<div class="post-event">
|
||||
<div class="post-event-header">
|
||||
<div class="post-event-avatar" style="background-image: url({$site_logo_box});">
|
||||
|
||||
</div>
|
||||
<div class="post-event-nickname">
|
||||
{:get_system_config('default_author')}
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-event-body">
|
||||
{$post->content_html|raw}
|
||||
</div>
|
||||
</div>
|
||||
{/case}
|
||||
{default /}
|
||||
<a href="{:url('Post/read',['uid'=>$post.uid])}" class="post-item" onmouseover="$(this).find('.poster').addClass('layui-anim-scale')" onmouseout="$(this).find('.poster').removeClass('layui-anim-scale')">
|
||||
{notempty name='$post->getData("poster")'}
|
||||
|
||||
@@ -82,6 +99,7 @@
|
||||
</div>
|
||||
|
||||
</a>
|
||||
{/switch}
|
||||
{/volist}
|
||||
{empty name='list_post'}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user