events_turntable_content.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <{if $turntableData.events.events_hd_tips}>
  2. <h2><{$turntableData.events.events_hd_tips}></h2>
  3. <{/if}>
  4. <div class="pro_list_box">
  5. <{foreach from=$turntableData.prize item=prize name=turntable}>
  6. <{if $prize.display == 1}>
  7. <dl>
  8. <dt>
  9. <img src="<{$web_cfg.cdn}>/public/static/img/item_img.jpg">
  10. <p class="img_cover" style="background-image:url(<{$prize.img_url}>);"></p>
  11. </dt>
  12. <dd>
  13. <p class="pro_name"><{$prize.prize_name}></p>
  14. <p class="pro_num"><{$prize.prize_num}>份</p>
  15. </dd>
  16. </dl>
  17. <{/if}>
  18. <{/foreach}>
  19. </div>
  20. <{if $info.share_button == 2 || $info.buy_button == 2}>
  21. <section class="button-wrapper">
  22. <{if $info.share_button == 2 && $info.type == 4}>
  23. <a class="button share_buttons" node-type="share" href="<{$info.thisUrl}>/share"><{$info.share_button_tips}></a>
  24. <{elseif $info.share_button == 2}>
  25. <a class="button share_button" node-type="share"><{$info.share_button_tips}></a>
  26. <{/if}>
  27. <{if $info.buy_button == 2}>
  28. <a class="button buy_button" data-weixin="<{$info.buy_button_link}>" data-app="<{$info.buy_button_app}>" href="<{$info.buy_button_link}>"><{$info.buy_button_tips}></a>
  29. <{/if}>
  30. </section>
  31. <{/if}>