events_vote_content.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <{if $info.events_hd_tips}>
  2. <h2><{$info.events_hd_tips}></h2>
  3. <{/if}>
  4. <{if $voteInfo.vote_type == 1}>
  5. <!--<div class="vote_show_box2" id="vote_show_box2">
  6. <{foreach from=$voteInfo.vote item=vote}>
  7. <div class="radio_cell" data-voteid="<{$vote.id}>">
  8. <label for="radio-2-<{$vote.id}>" class="lable_div" data-voteid="<{$vote.id}>" >
  9. <div class="data_cell_box vote_box" data-voteid="<{$vote.id}>" >
  10. <p class="dv_title dv_title_default"><{$vote.title}></p>
  11. <{assign var=total_num value=$vote.num+$vote.add_num}>
  12. <p class="data_show_cell"><em style="width:0px;" data-num="<{$total_num}>"></em><b><{$vote.per_num}>%</b></p>
  13. </div>
  14. </label>
  15. </div>
  16. <{/foreach}>
  17. </div>-->
  18. <div class="vote_txt_box clear">
  19. <{foreach from=$voteInfo.vote item=vote name=votebox}>
  20. <div class="radio_cell" data-voteid="<{$vote.id}>">
  21. <label for="radio-2-<{$vote.id}>" class="lable_div" data-voteid="<{$vote.id}>" >
  22. <div class="vt_cell vote_box" data-voteid="<{$vote.id}>">
  23. <div class="vt_index"><span class="vt_num"><em><{$smarty.foreach.votebox.iteration}></em></span></div>
  24. <div class="vt_title"><span><{$vote.title}></span></div>
  25. <{assign var=total_num value=$vote.num+$vote.add_num}>
  26. <p class="data_show_cell vt_total_bg"><em style="width:0px;" class="vt_total_line bg_color" data-num="<{$total_num}>"></em></p>
  27. <div class="vt_total_num font_color"><{$vote.per_num}>%</div>
  28. </div>
  29. </label>
  30. </div>
  31. <{/foreach}>
  32. </div>
  33. <{else}>
  34. <div class="vote_show_box">
  35. <div class="vote_cell_row clear">
  36. <div class="vote_item_show clear">
  37. <{foreach from=$voteInfo.vote item=vote}>
  38. <dl class="vote_item">
  39. <dt>
  40. <img src="<{$web_cfg.cdn}>/public/static/img/vote_img_bg.jpg">
  41. <div class="vote_img_thumb" style="background-image:url(<{$vote.img_url}>);"></div>
  42. <{assign var=total_num value=$vote.num+$vote.add_num}>
  43. <div class="vote_btn bg_color" data-voteid="<{$vote.id}>" data-num="<{$total_num}>"><span <{if $eventsStatus=='STATUS_LIMITATIONS' || $eventsStatus=='STATUS_HAS_END'}>class="h_selected" <{/if}>></span><p class="total_num_show"><{$total_num}></p></div>
  44. </dt>
  45. <dd>
  46. <p class="vote_name"><{$vote.title}></p>
  47. </dd>
  48. </dl>
  49. <{/foreach}>
  50. </div>
  51. </div>
  52. </div>
  53. <{/if}>
  54. </section>
  55. <section class="applycont">