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.

40 lines
2.7 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
  1. <!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
  2. <title>LQYCMS微商城</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. <ul class="goods_list" id="goods_list">
  32. <?php foreach($goods_list as $k=>$v){ ?>
  33. <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 echo $v['title']; ?></p><div class="goods_price">¥<b><?php echo $v['price']; ?></b></div></div></a></li>
  34. <?php } ?>
  35. </ul>
  36. </div>
  37. @include('weixin.common.footer')
  38. </body></html>