template-cart.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. .container {
  2. justify-content: initial;
  3. }
  4. .no-goods-icon {
  5. width: 100rpx;
  6. height: 100rpx;
  7. margin-top: 300rpx;
  8. }
  9. .title-box {
  10. width: 100vw;
  11. margin-top: 30rpx;
  12. text-align: center;
  13. font-size: 28rpx;
  14. color: #999;
  15. margin-bottom: 50rpx;
  16. }
  17. .to-index-btn {
  18. color: #fff;
  19. background: #e64340;
  20. border-radius: 6px;
  21. width: 300rpx;
  22. height: 70rpx;
  23. line-height: 70rpx;
  24. text-align: center;
  25. font-size: 28rpx;
  26. }
  27. .list-top {
  28. width: 100%;
  29. height: 88rpx;
  30. line-height: 88rpx;
  31. box-sizing: border-box;
  32. display: flex;
  33. justify-content: space-between;
  34. padding: 0 30rpx;
  35. font-size: 28rpx;
  36. align-items: center;
  37. }
  38. .list-top .label {
  39. color: #000;
  40. }
  41. .list-top .edit-btn {
  42. color: #999;
  43. height: 100%;
  44. }
  45. .goodsList {
  46. width: 100%;
  47. background-color: #fff;
  48. padding-bottom: 100rpx;
  49. }
  50. .a-gooods {
  51. width: 100%;
  52. overflow: hidden;
  53. position: relative;
  54. }
  55. .a-goods-conts {
  56. display: flex;
  57. justify-content: space-between;
  58. padding-left: 30rpx;
  59. width: 870rpx;
  60. box-sizing: border-box;
  61. transition: margin-left 0.2s ease-in-out;
  62. }
  63. .goods-info {
  64. border-bottom: 1px solid #eee;
  65. display: flex;
  66. padding: 30rpx 0 30rpx 0;
  67. width: 720rpx;
  68. box-sizing: border-box;
  69. }
  70. .goods-info .img-box {
  71. width: 160rpx;
  72. height: 160rpx;
  73. overflow: hidden;
  74. margin-right: 20rpx;
  75. background-color: #d8d8d8;
  76. flex-shrink: 0;
  77. border-radius: 16rpx;
  78. }
  79. .goods-info .text-box {
  80. width: 100%;
  81. position: relative;
  82. padding-bottom: 32rpx;
  83. }
  84. .goods-info .text-box .goods-title {
  85. width: 450rpx;
  86. font-size: 28rpx;
  87. color: #000;
  88. text-overflow: ellipsis;
  89. white-space: nowrap;
  90. overflow: hidden;
  91. padding: 10rpx 20rpx 5rpx 0;
  92. }
  93. .goods-info .text-box .goods-label {
  94. font-size: 26rpx;
  95. color: #999;
  96. height: 38rpx;
  97. line-height: 38rpx;
  98. margin: 8rpx 0 25rpx 0;
  99. }
  100. .goods-info .text-box .goods-price {
  101. font-size: 26rpx;
  102. color: #e64340;
  103. }
  104. .goods-info .text-box .buy-num {
  105. width: 164rpx;
  106. height: 48rpx;
  107. line-height: 48rpx;
  108. position: absolute;
  109. right: 30rpx;
  110. bottom: 0;
  111. display: flex;
  112. /*justify-content: space-between;*/
  113. font-size: 24rpx;
  114. text-align: center;
  115. }
  116. .goods-info .text-box .buy-num .jian-btn {
  117. width: 48rpx;
  118. height: 100%;
  119. border-left: 1rpx solid #ccc;
  120. border-bottom: 1rpx solid #ccc;
  121. border-top: 1rpx solid #ccc;
  122. border-bottom-left-radius: 6rpx;
  123. border-top-left-radius: 6rpx;
  124. }
  125. .goods-info .text-box .buy-num .jian-btn.disabled {
  126. background-color: #f5f5f9;
  127. border-left: 1rpx solid #eee;
  128. border-bottom: 1rpx solid #eee;
  129. border-top: 1rpx solid #eee;
  130. color: #ccc;
  131. }
  132. .goods-info .text-box .buy-num .jia-btn {
  133. width: 48rpx;
  134. height: 100%;
  135. border-right: 1rpx solid #ccc;
  136. border-bottom: 1rpx solid #ccc;
  137. border-top: 1rpx solid #ccc;
  138. border-bottom-right-radius: 6rpx;
  139. border-top-right-radius: 6rpx;
  140. }
  141. .goods-info .text-box .buy-num .jia-btn.disabled {
  142. background-color: #f5f5f9;
  143. border-right: 1rpx solid #eee;
  144. border-bottom: 1rpx solid #eee;
  145. border-top: 1rpx solid #eee;
  146. color: #ccc;
  147. }
  148. .goods-info .text-box .buy-num input {
  149. width: 68rpx;
  150. height: 48rpx;
  151. min-height: 48rpx;
  152. text-align: center;
  153. font-size: 24rpx;
  154. border: 1rpx solid #ccc;
  155. }
  156. .goods-info .img-box .img {
  157. width: 160rpx;
  158. height: 160rpx;
  159. border-radius: 16rpx;
  160. }
  161. .a-goods-conts .delete-btn {
  162. width: 120rpx;
  163. line-height: 220rpx;
  164. text-align: center;
  165. background: #e64340;
  166. font-size: 24rpx;
  167. color: #fff;
  168. }
  169. .jiesuan-box {
  170. display: flex;
  171. justify-content: space-between;
  172. width: 100%;
  173. height: 100rpx;
  174. position: fixed;
  175. bottom: 0;
  176. left: 0;
  177. border-bottom: 1px solid #eee;
  178. border-top: 1px solid #eee;
  179. background-color: #fff;
  180. z-index: 999;
  181. }
  182. .jiesuan-box .to-pay-btn {
  183. width: 240rpx;
  184. text-align: center;
  185. line-height: 100rpx;
  186. background-color: #e64340;
  187. font-size: 32rpx;
  188. color: #fff;
  189. }
  190. .jiesuan-box .to-pay-btn.no-select {
  191. background-color: #ccc;
  192. }
  193. .jiesuan-box .left-price {
  194. display: flex;
  195. width: 510rpx;
  196. justify-content: space-between;
  197. line-height: 100rpx;
  198. padding: 0 30rpx 0 32rpx;
  199. font-size: 28rpx;
  200. box-sizing: border-box;
  201. }
  202. .jiesuan-box .total {
  203. color: #e64340;
  204. }
  205. .trip {
  206. background: #e64340;
  207. padding: 8rpx 32rpx;
  208. color: #fff;
  209. width: 686rpx;
  210. font-size: 24rpx;
  211. }
  212. .del-icon {
  213. position: absolute;
  214. right: 16rpx;
  215. top: 48rpx;
  216. width: 50rpx;
  217. height: 50rpx;
  218. }
  219. .vw100 {
  220. width: 700rpx !important;
  221. font-size: 24rpx !important;
  222. }
  223. .radio-box {
  224. display: flex;
  225. justify-content: center;
  226. align-items: center;
  227. padding: 8rpx;
  228. }