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.

48 lines
2.2 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
  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>
  5. <script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script>
  6. <meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body>
  7. <div class="classreturn loginsignup">
  8. <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>
  9. <div class="ds-in-bl tit center"><span>搜索</span></div>
  10. <div class="ds-in-bl nav_menu"><a href="javascript:void(0);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/class1.png" alt="菜单"></a></div>
  11. </div>
  12. @include('weixin.common.headerNav')
  13. <div class="cl search_pl">
  14. <form method="get" action="<?php echo route('weixin_goods_list'); ?>" id="sourch_form">
  15. <input type="text" name="keyword" id="keyword" value="" placeholder="搜索商品">
  16. <a href="javascript:;" onclick="ajaxsecrch()"><img src="<?php echo env('APP_URL'); ?>/images/weixin/sea.png"></a>
  17. </form>
  18. <div class="cl"></div>
  19. </div>
  20. <script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/layer.js"></script>
  21. <script>
  22. function ajaxsecrch()
  23. {
  24. if($.trim($('#keyword').val()) != '')
  25. {
  26. $("#sourch_form").submit();
  27. }
  28. else
  29. {
  30. layer.msg('请输入搜索关键字', {
  31. time: 3000, //3s后自动关闭
  32. });
  33. }
  34. }
  35. </script>
  36. <div class="hot_keyword_box">
  37. <div class="tit_18 mt10 mb10">
  38. <span>热门搜索</span>
  39. </div>
  40. <div class="hot_keyword"><?php if($goods_searchword_list){foreach($goods_searchword_list as $v){ ?>
  41. <a href="<?php echo route('weixin_goods_list',array('keyword'=>$v['name'])); ?>" class="ht"><?php echo $v['name'] ?></a><?php }} ?>
  42. </div>
  43. </div>
  44. @include('weixin.common.footer')
  45. </body></html>