ajax_index.html 807 B

12345678910111213141516171819202122232425
  1. <{if $eventsData}>
  2. <{foreach from=$eventsData item=events}>
  3. <dl>
  4. <dt><a href="<{$events.url}>"><img src="<{$web_cfg.cdn}>/public/static/img/bg_alpha.png" data-ks-lazyload="<{$events.img_url}>"></a></dt>
  5. <dd><h5><{$events.events_name}></h5></dd>
  6. <dd>
  7. <{if $events.rday>=1}>
  8. <span class="time">
  9. <em class="icon-time"></em>剩余<{$events.rday}>天</span>
  10. <{elseif $events.type != 9}>
  11. <span class="time">
  12. <em class="icon-time"></em>已结束</span>
  13. <{/if}>
  14. <{if $events.type == 9}>
  15. <span>阅读 <{$events.click_num}></span>
  16. <span>点赞 <{$events.likes}></span>
  17. <{else}>
  18. <span>参与<{$events.user_total}>人</span>
  19. <{/if}>
  20. </dd>
  21. </dl>
  22. <{/foreach}>
  23. <{/if}>