ajax_gifts.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <{foreach from=$newData item=v}>
  2. <dl>
  3. <dt><a href="<{$v.url}>"><img src="<{if $v.events_type==6&&$v.prize_type==2}><{$web_cfg.cdn}><{$v.prize_img_url}><{else}><{$v.prize_img_url}><{/if}>"></a></dt>
  4. <dd><p><{$v.prize_name}></p>
  5. <{if $v.feedback == 4}>
  6. <a class="red" href="<{$web_cfg.domain}>/?c=Express&lottery_data_id=<{$v.lottery_data_id}>">填写收货地址</a>
  7. <{elseif $v.feedback == 3}>
  8. <{if $v.events_type==6}>
  9. <a href="<{$v.virtual_data}>">查看二维码</a>
  10. <{else}>
  11. <a href="<{$web_cfg.domain}>/?c=FeedBack&lottery_data_id=<{$v.lottery_data_id}>">查看或修改评价</a>
  12. <{/if}>
  13. <{elseif $v.feedback == 2}>
  14. <a href="<{$web_cfg.domain}>/?c=FeedBack&lottery_data_id=<{$v.lottery_data_id}>">发表试用评价</a>
  15. <{elseif $v.feedback == 5}>
  16. <span class="disable">已过期</span>
  17. <{elseif $v.prize_type==2}>
  18. <{if $v.events_type==6}>
  19. <a href="<{$v.virtual_data}>">查看二维码</a>
  20. <{else}>
  21. <span>券:<{$v.virtual_data}></span>
  22. <{/if}>
  23. <{elseif $v.prize_express==1}>
  24. <{if $thisTime < $v.end_time_receive_prizes && $v.events_delivery==1 && !$v.express}>
  25. <a class="red" href="<{$web_cfg.domain}>/?c=Express&lottery_data_id=<{$v.lottery_data_id}>">填写收货地址</a>
  26. <{else}>
  27. <{if $thisTime > $v.end_time_receive_prizes && $v.express && $v.events_delivery==2}>
  28. <span>已发货</span>
  29. <{/if}>
  30. <{if $thisTime > $v.end_time_receive_prizes && !$v.express && $v.events_delivery==2 }>
  31. <span class="disable">已过期</span>
  32. <{/if}>
  33. <{/if}>
  34. <{/if}>
  35. </dd>
  36. </dl>
  37. <{/foreach}>