You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
3.0 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
  2. <title>商品列表</title><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
  3. <link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet">
  4. <script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script>
  5. <meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body style="background-color:#f1f1f1;">
  6. <div class="classreturn loginsignup">
  7. <div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div>
  8. <div class="ds-in-bl tit center"><span>商品列表</span></div>
  9. </div>
  10. <nav class="storenav">
  11. <ul class="table-cell">
  12. <li<?php if(!isset($_REQUEST['orderby'])){echo ' class="red"';} ?>>
  13. <a href="<?php $complexorder = $request_param;if(isset($complexorder['orderby'])){unset($complexorder['orderby']);}echo route('weixin_goods_list',$complexorder); ?>">
  14. <span class="lb">综合</span>
  15. </a>
  16. </li>
  17. <li<?php if(isset($_REQUEST['orderby']) && $_REQUEST['orderby']==1){echo ' class="red"';} ?>>
  18. <a href="<?php $saleorder = $request_param;$saleorder['orderby']=1;echo route('weixin_goods_list',$saleorder); ?>">
  19. <span class="dq">销量</span>
  20. </a>
  21. </li>
  22. <li<?php if((isset($_REQUEST['orderby']) && ($_REQUEST['orderby']==3 || $_REQUEST['orderby']==4))){echo ' class="red"';} ?>>
  23. <a href="<?php $priceorder = $request_param;if(isset($_REQUEST['orderby']) && $_REQUEST['orderby']==3){$priceorder['orderby']=4;}else{$priceorder['orderby']=3;}echo route('weixin_goods_list',$priceorder); ?>">
  24. <span class="jg">价格 </span>
  25. <i class="pr<?php if(isset($_REQUEST['orderby']) && $_REQUEST['orderby']==3){echo ' bpr1';}elseif(isset($_REQUEST['orderby']) && $_REQUEST['orderby']==4){echo ' bpr2';} ?>"></i>
  26. </a>
  27. </li>
  28. </ul><div class="cl"></div>
  29. </nav>
  30. <div class="floor">
  31. <?php if($goods_list){ ?>
  32. <ul class="goods_list" id="goods_list">
  33. <?php foreach($goods_list as $k=>$v){ ?>
  34. <li><a href="<?php echo $v['goods_detail_url']; ?>"><img alt="<?php echo $v['title']; ?>" src="<?php echo $v['litpic']; ?>"><div class="goods_info"><p class="goods_tit"><?php if($v['is_promote_goods']>0){ ?><span class="badge_comm" style="background-color:#f23030;">Hot</span> <?php } ?><?php echo $v['title']; ?></p><div class="goods_price">¥<b><?php echo $v['price']; ?></b><span class="fr"><?php echo $v['sale']; ?>人付款</span></div></div></a></li>
  35. <?php } ?>
  36. </ul><?php }else{ ?>
  37. <div style="text-align:center;line-height:40px;color:#999;">暂无记录</div><?php } ?>
  38. </div>
  39. @include('weixin.common.footer')
  40. </body></html>