ajax_events.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <{if $type == 'prize'}>
  2. <{if $userEventsData}>
  3. <{foreach from=$userEventsData item=v}>
  4. <li><img src="<{$web_cfg.cdn}>/public/static/img/bg_alpha.png" data-ks-lazyload="<{$v.user.headimgurl}>" width="80" height="80"><span>用户 <{$v.user.mobile}> 在 <{$v.user.cdate}> 获得 <{$v.user.events}> <{$v.user.ext}>。</span></li>
  5. <{/foreach}>
  6. <{/if}>
  7. <{elseif $type == 'help'}>
  8. <{if $helpData}>
  9. <{foreach from=$helpData item=v}>
  10. <li>
  11. <div>
  12. <{if $userDatas[$v.uid].headimgurl}>
  13. <img src="<{$web_cfg.cdn}>/public/static/img/bg_alpha.png" data-ks-lazyload="<{$userDatas[$v.uid].headimgurl}>" />
  14. <{else}>
  15. <img src="<{$web_cfg.cdn}>/public/static/img/bg_alpha.png" data-ks-lazyload="http://news.mydrivers.com/Img/20110518/04481549.png" />
  16. <{/if}><span><{if $userDatas[$v.uid].nickname}><{$userDatas[$v.uid].nickname}><{else}>游客<{/if}></span>
  17. </div>
  18. <div><span>助力值<{$v.num}></span></div>
  19. </li>
  20. <{/foreach}>
  21. <{/if}>
  22. <{elseif $type == 'feedback'}>
  23. <{if $fdData}>
  24. <{foreach from=$fdData item=v}>
  25. <li>
  26. <img src="<{$web_cfg.cdn}>/public/static/img/bg_alpha.png" data-ks-lazyload="<{$v.user.headimgurl}>">
  27. <div class="dt">
  28. <span><{$v.user.mobile}> 的用户 <{$v.user.cdate}> 评价了 <{$v.user.events}>活动:</span>
  29. <div class="imgs">
  30. <{foreach from=$v.pic item=v1}>
  31. <img src="<{$web_cfg.cdn}>/public/static/img/bg_alpha.png" data-ks-lazyload="<{$v1}>">
  32. <{/foreach}>
  33. </div>
  34. <p><{$v.content}></p>
  35. </div>
  36. </li>
  37. <{/foreach}>
  38. <{/if}>
  39. <{/if}>