shopCart.wxss 3.4 KB

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