goodsDetail.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1, user-scalable=no" />
  7. <title>商品详情</title>
  8. </head>
  9. <style>
  10. .content {
  11. display: flex;
  12. flex-direction: column;
  13. align-items: center;
  14. justify-content: center;
  15. padding-bottom: 129px;
  16. }
  17. .itemContent {
  18. display: flex;
  19. justify-content: center;
  20. }
  21. .actImg {
  22. width: 355px;
  23. height: 290px;
  24. }
  25. .goodsTitle {
  26. margin-left: 20px;
  27. margin-right: 20px;
  28. margin-top: 10px;
  29. }
  30. .cashier_price {
  31. margin-top: 10px;
  32. color: red;
  33. margin-bottom: 10px;
  34. font-size: 20px;
  35. }
  36. .cashier_priceNumber {
  37. font-size: 30px;
  38. font-weight: 400;
  39. margin-left: 4px;
  40. }
  41. .dliver {
  42. width: 100%;
  43. height: 10px;
  44. background-color: #ECF1F4;
  45. }
  46. .orderContent {
  47. width: 100%;
  48. display: flex;
  49. flex-direction: row;
  50. margin-top: 15px;
  51. }
  52. .orderLeft {
  53. margin-left: 20px;
  54. margin-right: 25px;
  55. color: #818489;
  56. }
  57. .detail {
  58. margin-left: 20px;
  59. margin-right: 20px;
  60. margin-top: 15px;
  61. margin-bottom: 15px;
  62. font-size: 14px;
  63. }
  64. .logo {
  65. height: 100px;
  66. width: 100px;
  67. margin-top: 100px;
  68. margin-left: auto;
  69. margin-right: auto;
  70. margin-bottom: 25px;
  71. }
  72. .text-area {
  73. display: flex;
  74. justify-content: center;
  75. }
  76. .title {
  77. font-size: 18px;
  78. color: #8f8f94;
  79. }
  80. .btnView {
  81. width: 80%;
  82. margin-top: 30px;
  83. height: 33px;
  84. display: flex;
  85. line-height: 33px;
  86. color: #366092;
  87. justify-content: center;
  88. border: #1296db solid 1px;
  89. border-radius: 10px;
  90. }
  91. .cashier_footer {
  92. position: fixed;
  93. bottom: 0;
  94. left: 0;
  95. width: 100%;
  96. z-index: 10;
  97. text-align: center;
  98. display: flex;
  99. flex-direction: column;
  100. align-items: center;
  101. padding-bottom: 5px;
  102. background-color: white;
  103. /* cursor: pointer; */
  104. }
  105. .cashier_payBtn {
  106. width: 343px;
  107. height: 44px;
  108. background: rgb(133, 133, 133);
  109. border-radius: 4px;
  110. color: rgba(255, 255, 255, 0.85);
  111. line-height: 44px;
  112. margin-bottom: 20px;
  113. font-size: 16px;
  114. cursor: pointer;
  115. }
  116. </style>
  117. <body>
  118. <script language="javascript" type="text/javascript">
  119. function gotoOrder() {
  120. window.location.href = "orderConfirm.html";
  121. }
  122. </script>
  123. <div class="content">
  124. <swiper style="height: 300px;display: flex;align-items: center;justify-content: center;">
  125. <block>
  126. <swiper-item class="itemContent"><img class="actImg" mode="aspectFill"
  127. src="./img/mouse.png"></img>
  128. </swiper-item>
  129. </block>
  130. </swiper>
  131. <div class="goodsTitle">无线鼠标静音无声笔记本台式电脑游戏</div>
  132. <div class="cashier_price">
  133. <span>¥</span>
  134. <span class="cashier_priceNumber">0.01</span>
  135. </div>
  136. <div class="dliver"></div>
  137. <div class="orderContent">
  138. <div class="orderLeft">已选</div>
  139. <div>银色</div>
  140. </div>
  141. <div class="orderContent" style="margin-bottom: 15px;">
  142. <div class="orderLeft">送至</div>
  143. <div>上海 嘉定区</div>
  144. </div>
  145. <div class="dliver"></div>
  146. <div class="detail">
  147. 按键采用竞技游戏级别的微动开发,零延迟,回弹利索,提高工作效能。<br />
  148. 高品质静音按键,轻松使用不扰人。
  149. </div>
  150. <div class="cashier_footer">
  151. <div class="dliver"
  152. style="text-align: center;height:45px ;font-size: 13px;color: #F5A478;align-items: center;display: flex;justify-content: center;margin-bottom: 15px;">
  153. 本页面只用于演示收银台支付,不发货、不退款
  154. </div>
  155. <div class="cashier_payBtn" style="background: #FEAD0B" onclick="gotoOrder()">
  156. 立即购买
  157. </div>
  158. </div>
  159. </div>
  160. </body>
  161. </html>
  162. <script src="https://cdn.cloudpnr.com/opps/libs/jquery/jquery-2.1.2.min.js"></script>