12345678910111213141516171819202122232425 |
- <{if $eventsData}>
- <{foreach from=$eventsData item=events}>
- <dl>
- <dt><a href="<{$events.url}>"><img src="<{$web_cfg.cdn}>/public/static/img/bg_alpha.png" data-ks-lazyload="<{$events.img_url}>"></a></dt>
- <dd><h5><{$events.events_name}></h5></dd>
- <dd>
- <{if $events.rday>=1}>
- <span class="time">
- <em class="icon-time"></em>剩余<{$events.rday}>天</span>
- <{elseif $events.type != 9}>
- <span class="time">
- <em class="icon-time"></em>已结束</span>
- <{/if}>
- <{if $events.type == 9}>
- <span>阅读 <{$events.click_num}></span>
- <span>点赞 <{$events.likes}></span>
- <{else}>
- <span>参与<{$events.user_total}>人</span>
- <{/if}>
- </dd>
- </dl>
- <{/foreach}>
- <{/if}>
|