cart.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. .header {
  2. height: 100px;
  3. border-bottom: 2px solid #e77e11;
  4. }
  5. .header .w {
  6. height: 100%;
  7. display: flex;
  8. justify-content: space-between;
  9. }
  10. .header .w .header-left {
  11. display: flex;
  12. align-items: center;
  13. height: 100%;
  14. }
  15. .header .w .header-left img {
  16. width: 200px;
  17. height: 62px;
  18. }
  19. .header .w .header-left h1 {
  20. font-size: 30px;
  21. margin-left: 30px;
  22. }
  23. .header .w .header-left span {
  24. font-size: 30px;
  25. margin-left: 30px;
  26. }
  27. .header .w .header-right {
  28. height: 100%;
  29. display: flex;
  30. align-items: center;
  31. }
  32. .header .w .header-right h3 {
  33. font-size: 20px;
  34. margin-right: 10px;
  35. }
  36. .header .w .header-right h3 span {
  37. color: red;
  38. margin: 0 5px;
  39. }
  40. .header .w .header-right div {
  41. font-size: 20px;
  42. color: #e77e11;
  43. cursor: pointer;
  44. }
  45. .header .w .header-right div a {
  46. font-size: 20px;
  47. color: #e77e11;
  48. }
  49. .header .w .header-right div:hover {
  50. color: skyblue;
  51. }
  52. .header .w .header-right .destory {
  53. margin: 0 10px;
  54. }
  55. .list {
  56. background-color: #f5f5f5;
  57. padding: 20px 0;
  58. }
  59. .list .w table {
  60. background-color: #fff;
  61. width: 100%;
  62. }
  63. .list .w table thead {
  64. border-bottom: 1px solid #ccc;
  65. }
  66. .list .w table thead th {
  67. height: 70px;
  68. text-align: center;
  69. }
  70. .list .w table thead th input {
  71. margin: 0 10px;
  72. }
  73. .list .w table tbody tr {
  74. border-bottom: 1px solid #eee;
  75. height: 100%;
  76. }
  77. .list .w table tbody tr td {
  78. height: 100%;
  79. padding: 10px 0;
  80. text-align: center;
  81. }
  82. .list .w table tbody tr td img {
  83. width: 80px;
  84. height: 80px;
  85. }
  86. .list .w table tbody tr td:nth-child(2) {
  87. padding: 0 20px;
  88. width: 300px;
  89. max-width: 300px;
  90. overflow: hidden;
  91. text-overflow: ellipsis;
  92. white-space: nowrap;
  93. }
  94. .list .w table tbody tr td:nth-child(3) {
  95. height: 100%;
  96. }
  97. .list .w table tbody tr td:nth-child(3) .count {
  98. display: inline-block;
  99. width: 25px;
  100. height: 25px;
  101. border: 1px solid #ccc;
  102. line-height: 22px;
  103. text-align: center;
  104. cursor: pointer;
  105. }
  106. .list .w table tbody tr td:nth-child(3) .count-num {
  107. margin: 0 10px;
  108. display: inline-block;
  109. width: 40px;
  110. height: 25px;
  111. text-align: center;
  112. }
  113. .list .w .footer {
  114. height: 50px;
  115. background-color: #fff;
  116. margin-top: 20px;
  117. display: flex;
  118. align-items: center;
  119. justify-content: space-between;
  120. }
  121. .list .w .footer-left {
  122. margin-left: 20px;
  123. display: flex;
  124. align-items: center;
  125. color: #e77e11;
  126. font-size: 20px;
  127. cursor: pointer;
  128. }
  129. .list .w .footer-left .clear-cart {
  130. margin-right: 20px;
  131. }
  132. .list .w .footer-left a {
  133. color: #e77e11;
  134. }
  135. .list .w .footer-left a:hover {
  136. color: skyblue;
  137. }
  138. /*.list .w .footer-left div:hover {*/
  139. /* color: skyblue;*/
  140. /*}*/
  141. .list .w .footer-right {
  142. height: 100%;
  143. display: flex;
  144. align-items: center;
  145. }
  146. .list .w .footer-right .total-price {
  147. margin-left: 20px;
  148. }
  149. .list .w .footer-right span {
  150. color: red;
  151. font-size: 24px;
  152. margin: 0 10px;
  153. }
  154. .list .w .footer-right .pay {
  155. height: 50px;
  156. line-height: 50px;
  157. background-color: #e77e11;
  158. color: #fff;
  159. padding: 0 20px;
  160. margin-left: 20px;
  161. cursor: pointer;
  162. }
  163. .list .w .footer-right .pay:hover {
  164. background-color: red;
  165. }
  166. .bottom {
  167. opacity: 0.6;
  168. background-color: #323232;
  169. margin-top: 10px;
  170. color: #fff;
  171. text-align: center;
  172. }
  173. .bottom .top {
  174. height: 100px;
  175. border-bottom: 1px solid #474747;
  176. }
  177. .bottom .top ul {
  178. display: flex;
  179. justify-content: space-around;
  180. height: 100%;
  181. }
  182. .bottom .top ul li {
  183. height: 100%;
  184. display: flex;
  185. align-items: center;
  186. }
  187. .bottom .top ul li a {
  188. color: #fff;
  189. display: flex;
  190. align-items: center;
  191. }
  192. .bottom .top ul li a span {
  193. margin-left: 10px;
  194. }
  195. .bottom .content {
  196. height: 100px;
  197. display: flex;
  198. padding-top: 25px;
  199. justify-content: center;
  200. cursor: pointer;
  201. }
  202. .bottom .content dl {
  203. width: 180px;
  204. }
  205. .bottom .content dl dt {
  206. font-size: 20px;
  207. }
  208. .bottom .content dl dd {
  209. margin-top: 20px;
  210. font-size: 14px;
  211. color: #a8a8a8;
  212. }
  213. .bottom .down {
  214. height: 40px;
  215. background-color: #2a2a2a;
  216. line-height: 40px;
  217. }