pay.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>精美时尚</title>
  7. <link href="css/global.css?v=0b04b240" rel="stylesheet"><link href="css/pay.css?v=0b04b240" rel="stylesheet"></head>
  8. <body>
  9. <div class="container">
  10. <div>
  11. <div class="h1">正在购买《xxxx》</div>
  12. <div class="list">
  13. <a class="item" bind-id="item" href="#"><p>购买10本</p><p>¥6</p></a>
  14. <a class="item" bind-id="item" href="#"><p>购买10本</p><p>¥6</p></a>
  15. <a class="item" bind-id="item" href="#"><p>购买10本</p><p>¥6</p></a>
  16. </div>
  17. </div>
  18. <div class='buytip' id="open"><p>购买说明</p></div>
  19. </div>
  20. <div class="mask fn-hide" id="layer">
  21. <div class="layer ">
  22. <h3 class="title">购买说明</h3>
  23. <div class="richtext">asdfsdf</div>
  24. <div class="btn-wrapper">
  25. <div class="button opposite" id="close">我知道了</div>
  26. </div>
  27. </div>
  28. </div>
  29. <div id="pay"></div>
  30. <script type="text/javascript" src="js/global.js?v=0b04b240"></script><script type="text/javascript" src="js/pay.js?v=0b04b240"></script></body>
  31. </html>
  32. <script>
  33. function pay(url)
  34. {
  35. $.get(url, function(t) {
  36. $("#pay").html(t);
  37. })
  38. }
  39. $(function()
  40. {
  41. $('#open').click(function(){
  42. $('#layer').show();
  43. });
  44. $('#close').click(function(){
  45. $('#layer').hide();
  46. })
  47. })
  48. </script>