index.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
  6. <meta name="apple-mobile-web-app-capable" content="yes">
  7. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  8. <meta name="format-detection" content="telphone=no, email=no" />
  9. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  10. <meta http-equiv="Pragma" content="no-cache" />
  11. <meta http-equiv="Expires" content="0" />
  12. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  13. <meta http-equiv="X-UA-Compatible" content="IE=8">
  14. <meta http-equiv="Cache" content="no-cache">
  15. <title>WaterO官方商城</title>
  16. <link rel="stylesheet" type="text/css" href="css/mui.min.css" />
  17. <style>
  18. .header { padding: 10px 0 7px 0; height: 65px; box-shadow: 0 0 0 #fff; background: #fff; }
  19. .header h6 { text-indent: 12px; color: #999; letter-spacing: 2px; }
  20. .go-index { width: 30%; margin-right: 1%; float: none; }
  21. .go-index img { width: 80%; padding-top: 5px; margin-left: 12px; max-width: 100px; }
  22. .swiper-container-horizontal>.swiper-pagination-bullets { bottom: 0; }
  23. .swiper-pagination-bullet-active { background: #63ccde; }
  24. .index-title { padding: 7px 12px 7px 12px; display: block; position: relative; }
  25. .index-title strong { font-size: 17px; }
  26. .index-title .mui-pull-right { color: #333; }
  27. .index-title font { display: inline-block; -webkit-transform: translateY(-1px); transform: translateY(-1px); }
  28. .pro-list .mui-media-object { background: #eff5f7; border-radius: 5px; display: block; }
  29. .pro-list:before,.pro-list:after {display: none;}
  30. .pro-list.mui-table-view.mui-grid-view>li:nth-child(odd) {padding: 10px 8px 0 14px;}
  31. .pro-list.mui-table-view.mui-grid-view>li:nth-child(even) {padding: 10px 0 0 22px;}
  32. .pro-list h6 {margin: 7px 0;color: #bbb;}
  33. .pro-list .pro-price {font-size: 14px;margin-top: 8px;}
  34. .pro-list .pro-price span {color: #db3f53;}
  35. .pro-list .pro-price s {color: #bbb;margin-left: 15px;}
  36. .pro-list2 .mui-media-object { background: #f2f2f2; border-radius: 5px; display: block; }
  37. .pro-list2:before,.pro-list2:after {display: none;}
  38. .pro-list2.mui-table-view.mui-grid-view>li:nth-child(odd) {padding: 10px 8px 0 14px;}
  39. .pro-list2.mui-table-view.mui-grid-view>li:nth-child(even) {padding: 10px 0 0 22px;}
  40. .pro-list2 h6 {margin: 7px 0;color: #bbb;}
  41. .pro-list2 .pro-price {font-size: 14px;margin-top: 8px;}
  42. .pro-list2 .pro-price span {color: #db3f53;}
  43. .pro-list2 .pro-price s {color: #bbb;margin-left: 15px;}
  44. </style>
  45. </head>
  46. <body>
  47. <!--header 开始-->
  48. <header class="mui-bar mui-bar-nav header">
  49. <h6>Ta 是一种生活方式</h6>
  50. </header>
  51. <!--header 结束-->
  52. <div class="mui-content" style="background: #fff;">
  53. <br>
  54. <br>
  55. <br>
  56. <div class="index-title go_web_shop">
  57. <strong>经典款净水机</strong><span class="mui-pull-right"><font>更多</font><span class="mui-icon mui-icon-arrowright"></span></span>
  58. </div>
  59. </div>
  60. <script src="js/mui.min.js"></script>
  61. <script src="js/jquery-2.1.1.min.js"></script>
  62. <script src="js/main.js"></script>
  63. <!-- <script src="js/wechat-utils-1.0.js"></script> -->
  64. </body>
  65. <script>
  66. //刷新用户信息
  67. $.ajax(base_path + '/getUserInfo?dates=' + new Date().getTime(), {
  68. dataType: 'json',
  69. type: 'post',
  70. timeout: 15000,
  71. xhrFields: {
  72. withCredentials: true
  73. },
  74. crossDomain: true,
  75. success: function(dt) {
  76. if(dt.isRedirect) {
  77. location.href = dt.redirectURL;
  78. } else {
  79. console.log("用户信息刷新成功");
  80. }
  81. },
  82. error: function(xhr, type, errorThrown) {
  83. console.log(xhr)
  84. }
  85. });
  86. </script>
  87. </html>