5b7b305c173b5a3e72e96b6a15546533.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php /*a:1:{s:79:"/data/web/mall.valimart.net/app/home/view/default/member/member/order_info.html";i:1657785114;}*/ ?>
  2. <div class="pt20">
  3. <div class="mc-title">
  4. <h3><?php echo htmlentities(lang('shopping_cart')); ?></h3>
  5. </div>
  6. <div class="goods-rolling relative" id="mc-rolling-history">
  7. <?php if(!(empty($cart_list) || (($cart_list instanceof \think\Collection || $cart_list instanceof \think\Paginator ) && $cart_list->isEmpty()))): ?>
  8. <ul class="grid-list clearfix">
  9. <?php if(is_array($cart_list) || $cart_list instanceof \think\Collection || $cart_list instanceof \think\Paginator): if( count($cart_list)==0 ) : echo "" ;else: foreach($cart_list as $key=>$cart_info): ?>
  10. <li class="grid-items">
  11. <a class="thumb" target="_blank" href="<?php echo url('Goods/index',['goods_id'=>$cart_info['goods_id']]); ?>" title="<?php echo htmlentities($cart_info['goods_name']); ?>">
  12. <p class="grid-img">
  13. <img src="<?php echo goods_thumb($cart_info,240); ?>" alt="<?php echo htmlentities($cart_info['goods_name']); ?>"></p>
  14. <h3 class="grid-title"><span><?php echo htmlentities($cart_info['goods_name']); ?></span></h3>
  15. </a>
  16. </li>
  17. <?php endforeach; endif; else: echo "" ;endif; ?>
  18. </ul>
  19. <div class="grid-btn btn-prev"><span class="iconfont">&#xe686;</span></div>
  20. <div class="grid-btn btn-next"><span class="iconfont">&#xe687;</span></div>
  21. <?php else: ?>
  22. <dl class="null-tip pt20 pb20">
  23. <dt class="iconfont">&#xe69a;</dt>
  24. <dd>
  25. <h4><?php echo htmlentities(lang('shopping_cart_still_empty')); ?></h4>
  26. <h5><?php echo htmlentities(lang('with_settlement')); ?></h5>
  27. </dd>
  28. </dl>
  29. <?php endif; ?>
  30. </div>
  31. </div>
  32. <?php if(!(empty($cart_list) || (($cart_list instanceof \think\Collection || $cart_list instanceof \think\Paginator ) && $cart_list->isEmpty()))): ?>
  33. <script>
  34. //信息轮换
  35. $.getScript("<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.SuperSlide.2.1.1.js", function() {
  36. jQuery('#mc-rolling-history').slide({mainCell:"ul",effect:"left",prevCell:".btn-prev",nextCell:".btn-next",autoPlay:true,vis:4});
  37. });
  38. </script>
  39. <?php endif; ?>