猎豆优选官网

index.html 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  5. <meta name="keywords" content="猎豆优选,猎豆优选官网,省钱,淘宝优惠券,天猫优惠券,北美省钱快报,9块9包邮,聚划算,划算,淘实惠,实惠,优惠券,折扣,找券,便宜坊,网购,购物网站">
  6. <meta name="description" content="猎豆优选官网-每日更新天猫淘宝优惠券,更有9.9包邮专区,品牌优选,找券功能齐全。聚划算的优惠券,淘实惠的购物网站,大品牌商品可享折上折,各种超值商品只需一键搜索。特卖、低价、白菜价,尽在猎豆优选">
  7. <link rel="stylesheet" type="text/css" href="../common/common-css/reset.css"/>
  8. <link rel="stylesheet" type="text/css" href="../common/common-css/reset.css"/>
  9. <link rel="shortcut icon" type="image/x-icon" href="../favicon.ico" media="screen" />
  10. <link rel="stylesheet" type="text/css" href="../common/common-html/common-css.css"/>
  11. <script src="../common/common-js/browser.min.js"></script>
  12. <script src="../common/common-js/jquery-2.1.0.js"></script>
  13. <script src="../common/common-js/browser.min.js"></script>
  14. <script src="../config/url_api.js?v=1"></script>
  15. <title>酷炫优选赚钱秘籍</title>
  16. <style type="text/css">
  17. .container{
  18. width: 1100px;
  19. margin: auto;
  20. }
  21. .container img{
  22. width: 100%;
  23. }
  24. </style>
  25. </head>
  26. <body>
  27. <!--//头部-->
  28. <div id="item-list-head"></div>
  29. <!--<div class="head_item_nav"><ul></ul></div>-->
  30. <div class="container">
  31. <img src="https://kx-youhuiquan.oss-cn-beijing.aliyuncs.com/lieodu_gw/zhuanqiangonglue.png" />
  32. </div>
  33. <!--右部二维码-->
  34. <div id="item-list-evm"></div>
  35. </body>
  36. </html>
  37. <script type="text/babel" src="../common/common-html/common-js.js"></script>
  38. <script type="text/javascript">
  39. //导航栏目(商品分类)
  40. function navlistData(){
  41. $.ajax({
  42. type:"get",
  43. url: api.BASEURL + api.navList,
  44. headers:{
  45. sex:api.sex,
  46. source:api.source
  47. },
  48. dataType:"json",
  49. success:function(res) {
  50. if(res.errno == 0 && res.rst){
  51. if(res.rst.data){
  52. navListData = res.rst.data;
  53. var navListHtml = '';
  54. navListData.forEach(function (item,index) {
  55. navListHtml += `<li data-id=${item.id}><a href="../list/index.html?id=${item.id}&path=nav">${item.name}</a></li>`
  56. })
  57. $(".head_item_nav ul").html(navListHtml);
  58. }
  59. }
  60. },
  61. fail: function (err) {
  62. console.log(err)
  63. }
  64. });
  65. }
  66. $().ready(function () {
  67. $(window).scroll(function(){
  68. if($(window).scrollTop()>400){
  69. $('.head_item_nav').css({
  70. "position":"fixed",
  71. "top":"46px"
  72. })
  73. }else{
  74. $('.head_item_nav').css({
  75. "position":"static"
  76. })
  77. }
  78. });
  79. // navlistData();
  80. $('.head_item_nav').css('display','block')
  81. })
  82. </script>