lottery_ajax_over_fetch.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. if(!empty($list)) {
  3. ?>
  4. <volist name="list" id="d">
  5. <div class="lottery_goods" <?php if($d['is_open_lottery'] == 1){ ?>onclick="location.href='{:U( 'Goods/lotteryinfo', array('goods_id' =>$d['goods_id']))}'"<?php } ?>>
  6. <img class="lottery_pic scrollLoading" src="{$index_ly_image}" data-echo="{$d.image}">
  7. <div class="lottery_info">
  8. <div class="lottery_left_time">
  9. <div class="lottery_left_time_head">截止时间:</div>
  10. <div class="lottery_left_time_detail">
  11. <span class="left_time_im"><?php echo date('m',$d['end_time']); ?></span>月
  12. <span class="left_time_im"><?php echo date('d',$d['end_time']); ?></span>日
  13. <span class="left_time_im"><?php echo date('H',$d['end_time']); ?></span>:
  14. <span class="left_time_im"><?php echo date('i',$d['end_time']); ?></span>
  15. </div>
  16. </div>
  17. <div class="lottery_goods_name">{$d.name}</div>
  18. <div class="lottery_buy">
  19. <div class="lottery_price_all">
  20. <div class="lottery_sale_price">¥{$d.pinprice}</div>
  21. <div class="lottery_market_price">¥{$d.price}</div>
  22. </div>
  23. <?php if($d['is_open_lottery'] == 1){ ?>
  24. <div class="lottery_buy_button_result">查看中奖名单</div>
  25. <?php }else{ ?>
  26. <div class="lottery_buy_button_result">等待开奖</div>
  27. <?php } ?>
  28. </div>
  29. </div>
  30. </div>
  31. </volist>
  32. <?php } ?>