index.wxss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  1. .cart-group {
  2. border-radius: 8rpx;
  3. }
  4. .cart-group .goods-wrap {
  5. margin-top: 40rpx;
  6. background-color: #fff;
  7. border-radius: 8rpx;
  8. overflow: hidden;
  9. }
  10. .cart-group .goods-wrap:first-of-type {
  11. margin-top: 0;
  12. }
  13. .cart-group .cart-store {
  14. height: 96rpx;
  15. background-color: #fff;
  16. box-sizing: border-box;
  17. display: flex;
  18. align-items: center;
  19. padding: 0rpx 24rpx 0rpx 36rpx;
  20. }
  21. .cart-group .cart-store .cart-store__check {
  22. padding: 28rpx 32rpx 28rpx 0rpx;
  23. }
  24. .cart-group .cart-store__content {
  25. box-sizing: border-box;
  26. flex: auto;
  27. display: flex;
  28. align-items: center;
  29. justify-content: space-between;
  30. }
  31. .cart-group .cart-store__content .store-title {
  32. flex: auto;
  33. font-size: 28rpx;
  34. line-height: 40rpx;
  35. color: #333333;
  36. display: flex;
  37. align-items: center;
  38. font-weight: bold;
  39. overflow: hidden;
  40. }
  41. .cart-group .cart-store__content .store-title .wr-store {
  42. font-size: 32rpx;
  43. }
  44. .cart-group .cart-store__content .store-title .store-name {
  45. overflow: hidden;
  46. white-space: nowrap;
  47. text-overflow: ellipsis;
  48. margin-left: 12rpx;
  49. }
  50. .cart-group .cart-store__content .get-coupon {
  51. width: 112rpx;
  52. height: 40rpx;
  53. border-radius: 20rpx;
  54. background-color: #ffecf9;
  55. line-height: 40rpx;
  56. text-align: center;
  57. font-size: 26rpx;
  58. color: #fa4126;
  59. }
  60. .cart-group .promotion-wrap {
  61. display: flex;
  62. justify-content: space-between;
  63. align-items: center;
  64. padding: 0rpx 24rpx 32rpx 36rpx;
  65. background-color: #ffffff;
  66. font-size: 24rpx;
  67. line-height: 36rpx;
  68. color: #222427;
  69. }
  70. .cart-group .promotion-wrap .promotion-title {
  71. font-weight: bold;
  72. flex: auto;
  73. overflow: hidden;
  74. margin-right: 20rpx;
  75. display: flex;
  76. align-items: center;
  77. }
  78. .cart-group .promotion-wrap .promotion-title .promotion-icon {
  79. flex: none;
  80. font-weight: normal;
  81. display: inline-block;
  82. padding: 0 8rpx;
  83. color: #ffffff;
  84. background: #fa4126;
  85. font-size: 20rpx;
  86. height: 32rpx;
  87. line-height: 32rpx;
  88. margin-right: 16rpx;
  89. border-radius: 16rpx;
  90. }
  91. .cart-group .promotion-wrap .promotion-title .promotion-text {
  92. flex: auto;
  93. overflow: hidden;
  94. text-overflow: ellipsis;
  95. white-space: nowrap;
  96. }
  97. .cart-group .promotion-wrap .promotion-action {
  98. flex: none;
  99. color: #333333;
  100. }
  101. .cart-group .promotion-line-wrap {
  102. background-color: #fff;
  103. height: 2rpx;
  104. display: flex;
  105. justify-content: flex-end;
  106. }
  107. .cart-group .promotion-line-wrap .promotion-line {
  108. width: 684rpx;
  109. height: 2rpx;
  110. background-color: #e6e6e6;
  111. }
  112. .cart-group .goods-item-info {
  113. display: flex;
  114. background-color: #fff;
  115. align-items: flex-start;
  116. }
  117. .cart-group .goods-item-info .check-wrap {
  118. margin-top: 56rpx;
  119. padding: 20rpx 28rpx 20rpx 36rpx;
  120. }
  121. .cart-group .goods-item-info .check-wrap .unCheck-icon {
  122. box-sizing: border-box;
  123. width: 36rpx;
  124. height: 36rpx;
  125. border-radius: 20rpx;
  126. background: #f5f5f5;
  127. border: 2rpx solid #bbbbbb;
  128. }
  129. .cart-group .goods-item-info .goods-sku-info {
  130. padding: 0rpx 32rpx 40rpx 0;
  131. flex-grow: 1;
  132. }
  133. .cart-group .goods-item-info .goods-sku-info .stock-mask {
  134. position: absolute;
  135. color: #fff;
  136. font-size: 24rpx;
  137. bottom: 0rpx;
  138. background-color: rgba(0, 0, 0, 0.5);
  139. width: 100%;
  140. height: 40rpx;
  141. line-height: 40rpx;
  142. text-align: center;
  143. }
  144. .cart-group .goods-item-info .goods-sku-info .goods-stepper {
  145. position: absolute;
  146. right: 0;
  147. bottom: 8rpx;
  148. }
  149. .cart-group .goods-item-info .goods-sku-info .goods-stepper .stepper-tip {
  150. position: absolute;
  151. top: -36rpx;
  152. right: 0;
  153. height: 28rpx;
  154. color: #ff2525;
  155. font-size: 20rpx;
  156. line-height: 28rpx;
  157. }
  158. .cart-group .shortage-line {
  159. width: 662rpx;
  160. height: 2rpx;
  161. background-color: #e6e6e6;
  162. margin: 0 auto;
  163. }
  164. .cart-group .shortage-goods-wrap {
  165. background-color: #fff;
  166. }
  167. .cart-group .shortage-goods-wrap .shortage-tip-title {
  168. height: 72rpx;
  169. line-height: 72rpx;
  170. padding-left: 28rpx;
  171. font-size: 24rpx;
  172. color: #999;
  173. }
  174. .stepper-info {
  175. margin-left: auto;
  176. }
  177. .invalid-goods-wrap {
  178. background-color: #fff;
  179. border-radius: 8rpx;
  180. margin-top: 40rpx;
  181. }
  182. .invalid-goods-wrap .invalid-head {
  183. display: flex;
  184. justify-content: space-between;
  185. padding: 30rpx 20rpx;
  186. font-size: 24rpx;
  187. border-bottom: 2rpx solid #f6f6f6;
  188. }
  189. .invalid-goods-wrap .invalid-head .invalid-title {
  190. color: #333;
  191. font-size: 28rpx;
  192. font-weight: 600;
  193. }
  194. .invalid-goods-wrap .invalid-head .invalid-clear {
  195. color: #fa4126;
  196. }
  197. .invalid-goods-wrap .toggle {
  198. display: flex;
  199. height: 80rpx;
  200. justify-content: center;
  201. align-items: center;
  202. font-size: 24rpx;
  203. color: #fa4126;
  204. }
  205. .invalid-goods-wrap .toggle .m-r-6 {
  206. margin-right: 6rpx;
  207. }
  208. .invalid-goods-wrap .toggle .top-icon {
  209. display: inline-block;
  210. width: 0;
  211. height: 0;
  212. border-left: 10rpx solid transparent;
  213. border-right: 10rpx solid transparent;
  214. border-bottom: 10rpx solid #fa4126;
  215. }
  216. .invalid-goods-wrap .toggle .down-icon {
  217. display: inline-block;
  218. width: 0;
  219. height: 0;
  220. border-left: 10rpx solid transparent;
  221. border-right: 10rpx solid transparent;
  222. border-top: 10rpx solid #fa4126;
  223. }
  224. .action-btn {
  225. display: flex;
  226. align-items: center;
  227. }
  228. .action-btn .action-btn-arrow {
  229. font-size: 20rpx;
  230. margin-left: 8rpx;
  231. }
  232. .action-btn--active {
  233. opacity: 0.5;
  234. }
  235. .swiper-right-del {
  236. height: calc(100% - 40rpx);
  237. width: 144rpx;
  238. background-color: #fa4126;
  239. font-size: 28rpx;
  240. color: white;
  241. display: flex;
  242. justify-content: center;
  243. align-items: center;
  244. }
  245. .goods-stepper .stepper {
  246. border: none;
  247. border-radius: 0;
  248. height: auto;
  249. width: 168rpx;
  250. overflow: visible;
  251. }
  252. .goods-stepper .stepper .stepper__minus,
  253. .goods-stepper .stepper .stepper__plus {
  254. width: 44rpx;
  255. height: 44rpx;
  256. background-color: #f5f5f5;
  257. }
  258. .goods-stepper .stepper .stepper__minus--hover,
  259. .goods-stepper .stepper .stepper__plus--hover {
  260. background-color: #f5f5f5;
  261. }
  262. .goods-stepper .stepper .stepper__minus .wr-icon,
  263. .goods-stepper .stepper .stepper__plus .wr-icon {
  264. font-size: 24rpx;
  265. }
  266. .goods-stepper .stepper .stepper__minus {
  267. position: relative;
  268. }
  269. .goods-stepper .stepper .stepper__minus::after {
  270. position: absolute;
  271. display: block;
  272. content: ' ';
  273. left: -20rpx;
  274. right: -5rpx;
  275. top: -20rpx;
  276. bottom: -20rpx;
  277. background-color: transparent;
  278. }
  279. .goods-stepper .stepper .stepper__plus {
  280. position: relative;
  281. }
  282. .goods-stepper .stepper .stepper__plus::after {
  283. position: absolute;
  284. display: block;
  285. content: ' ';
  286. left: -5rpx;
  287. right: -20rpx;
  288. top: -20rpx;
  289. bottom: -20rpx;
  290. background-color: transparent;
  291. }
  292. .goods-stepper .stepper .stepper__input {
  293. width: 72rpx;
  294. height: 44rpx;
  295. background-color: #f5f5f5;
  296. font-size: 24rpx;
  297. color: #222427;
  298. font-weight: 600;
  299. border-left: none;
  300. border-right: none;
  301. min-height: 40rpx;
  302. margin: 0 4rpx;
  303. display: flex;
  304. align-items: center;
  305. }
  306. .goods-sku-info .no-storage-mask {
  307. position: absolute;
  308. color: #fff;
  309. bottom: 0rpx;
  310. left: 0rpx;
  311. background-color: rgba(0, 0, 0, 0.1);
  312. height: 192rpx;
  313. width: 192rpx;
  314. border-radius: 8rpx;
  315. display: flex;
  316. justify-content: center;
  317. align-items: center;
  318. }
  319. .no-storage-mask .no-storage-content {
  320. width: 128rpx;
  321. height: 128rpx;
  322. border-radius: 64rpx;
  323. background-color: rgba(0, 0, 0, 0.4);
  324. text-align: center;
  325. line-height: 128rpx;
  326. font-size: 28rpx;
  327. }