shopCart.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. .cell_box {
  2. background: #ffffff;
  3. margin-bottom: 8rpx;
  4. }
  5. .cell_item {
  6. overflow: hidden;
  7. padding-left: 25rpx;
  8. text-overflow: ellipsis;
  9. white-space: nowrap;
  10. width: 100%;
  11. height: 62rpx;
  12. line-height: 62rpx;
  13. position: relative;
  14. box-sizing: border-box;
  15. }
  16. .cell_item::after {
  17. content: "";
  18. position: absolute;
  19. bottom: 0;
  20. right: 0;
  21. height: 3rpx;
  22. width: 725rpx;
  23. background: #f9f9f9;
  24. }
  25. .cell_item_title,.cell_item_value {
  26. display: inline-block;
  27. font-size: 22rpx;
  28. }
  29. .cell_item_title {
  30. color: #f57d86;
  31. border: 1px solid #f57d86;
  32. border-radius: 10rpx;
  33. padding: 8rpx;
  34. margin-right: 24rpx;
  35. line-height: 1;
  36. }
  37. .handle_fixed {
  38. position: fixed;
  39. bottom: 0;
  40. left: 0;
  41. width: 100%;
  42. height: 88rpx;
  43. line-height: 88rpx;
  44. background: #ffffff;
  45. }
  46. .handle_fixed::after {
  47. content: "";
  48. position: absolute;
  49. top: 0;
  50. right: 0;
  51. left: 0;
  52. height: 3rpx;
  53. background: #f7f7f7;
  54. }
  55. .handle_fixed {
  56. font-size: 24rpx;
  57. }
  58. .all_check_btn,.cope,.settlement_btn {
  59. display: inline-block;
  60. }
  61. .all_check_btn {
  62. margin-left: 26rpx;
  63. }
  64. .goods_content {
  65. max-width: 400rpx;
  66. }
  67. .icon_empty {
  68. display: inline-block;
  69. width: 38rpx;
  70. height: 38rpx;
  71. border: 1rpx solid #666;
  72. border-radius: 50rpx;
  73. vertical-align: middle;
  74. margin-right: 22rpx;
  75. }
  76. .settlement_btn {
  77. width: 146rpx;
  78. font-size: 30rpx;
  79. color: #ffffff;
  80. background: #2b2b2b;
  81. text-align: center;
  82. }
  83. .original_price {
  84. font-size: 20rpx;
  85. color: #929292;
  86. position: relative;
  87. }
  88. .original_price::after {
  89. content: "";
  90. position: absolute;
  91. top: 15rpx;
  92. right: 0;
  93. left: 0;
  94. height: 3rpx;
  95. background: #929292;
  96. }
  97. .bonus_price {
  98. font-weight: bold;
  99. font-size: 30rpx;
  100. color: #333;
  101. }
  102. .original_price {
  103. font-size: 24rpx;
  104. color:#999;
  105. margin:0 10rpx;
  106. }
  107. .cart_item {
  108. background: #ffffff;
  109. /* margin-bottom: 8rpx; */
  110. position: relative;
  111. padding: 20rpx 0;
  112. display: flex;
  113. flex: 1;
  114. }
  115. .goods_image image {
  116. width: 160rpx;
  117. height: 160rpx;
  118. border: 1rpx solid #D9D9D9;
  119. vertical-align: middle;
  120. margin-right: 22rpx;
  121. }
  122. .check_btn {
  123. width: 90rpx;
  124. text-align: center;
  125. display: flex;
  126. justify-content: center;
  127. align-items:center;
  128. /* add */
  129. height: 160rpx;
  130. }
  131. .check_btn .icon_empty {
  132. margin-right: 0;
  133. }
  134. .goods_name {
  135. font-size: 30rpx;
  136. color: #333;
  137. font-weight: bold;
  138. line-height: 42rpx;
  139. }
  140. .goods_spec{
  141. font-size: 24rpx;
  142. color: #666;
  143. line-height: 34rpx;
  144. margin: 6rpx 0 30rpx 0;
  145. }
  146. .num_handle {
  147. position: absolute;
  148. bottom: 20rpx;
  149. right: 10rpx;
  150. font-size: 0;
  151. /* border: 1px solid #CFCFCF; */
  152. /* border-radius: 6rpx; */
  153. }
  154. .handle_btn {
  155. color: #999;
  156. display: inline-block;
  157. /* vertical-align: middle; */
  158. width: 60rpx;
  159. text-align: center;
  160. font-size: 40rpx;
  161. }
  162. .num {
  163. font-size: 30rpx;
  164. display: inline-block;
  165. /* vertical-align: middle; */
  166. width: 40rpx;
  167. text-align: center;
  168. color: #333;
  169. }
  170. .clear_fixed {
  171. height: 88rpx;
  172. }
  173. .cancal_btn {
  174. position: absolute;
  175. right: 20rpx;
  176. top: 15rpx;
  177. width: 40rpx;
  178. height: 40rpx;
  179. z-index: 10;
  180. }
  181. .bundl_title {
  182. padding-left: 90rpx;
  183. background: #fff;
  184. font-size: 30rpx;
  185. color: #333;
  186. font-weight: bold;
  187. }
  188. .bundle_price {
  189. padding: 10rpx 0 10rpx 90rpx;
  190. background: #fff;
  191. line-height: 42rpx;
  192. font-size: 24rpx;
  193. }