cart-group.wxss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /* var() css变量适配*/
  2. .wr-swiper-cell__right {
  3. margin: 20rpx 0;
  4. }
  5. .wr-swiper-cell__right .swiper-right-del {
  6. height: calc(100% - 40rpx);
  7. width: 60px;
  8. background-color: #ff2525;
  9. font-size: 28rpx;
  10. color: white;
  11. display: flex;
  12. justify-content: center;
  13. align-items: center;
  14. }
  15. .goods-stepper .stepper {
  16. border: none;
  17. border-radius: 0;
  18. height: auto;
  19. width: 168rpx;
  20. overflow: visible;
  21. }
  22. .goods-stepper .stepper .stepper__minus,
  23. .goods-stepper .stepper .stepper__plus {
  24. width: 44rpx;
  25. height: 44rpx;
  26. background-color: #f5f5f5;
  27. }
  28. .goods-stepper .stepper .stepper__minus--hover,
  29. .goods-stepper .stepper .stepper__plus--hover {
  30. background-color: #f5f5f5;
  31. }
  32. .goods-stepper .stepper .stepper__minus .wr-icon,
  33. .goods-stepper .stepper .stepper__plus .wr-icon {
  34. font-size: 24rpx;
  35. }
  36. .goods-stepper .stepper .stepper__minus {
  37. position: relative;
  38. }
  39. .goods-stepper .stepper .stepper__minus::after {
  40. position: absolute;
  41. display: block;
  42. content: ' ';
  43. left: -20rpx;
  44. right: -5rpx;
  45. top: -20rpx;
  46. bottom: -20rpx;
  47. background-color: transparent;
  48. }
  49. .goods-stepper .stepper .stepper__plus {
  50. position: relative;
  51. }
  52. .goods-stepper .stepper .stepper__plus::after {
  53. position: absolute;
  54. display: block;
  55. content: ' ';
  56. left: -5rpx;
  57. right: -20rpx;
  58. top: -20rpx;
  59. bottom: -20rpx;
  60. background-color: transparent;
  61. }
  62. .goods-stepper .stepper .stepper__input {
  63. width: 72rpx;
  64. height: 44rpx;
  65. background-color: #f5f5f5;
  66. font-size: 24rpx;
  67. color: #222427;
  68. font-weight: 600;
  69. border-left: none;
  70. border-right: none;
  71. min-height: 40rpx;
  72. margin: 0 4rpx;
  73. display: flex;
  74. align-items: center;
  75. }
  76. .invalid-card .invalid-private-mask .wr-goods-card {
  77. background-color: #fff;
  78. padding: 18rpx 32rpx 24rpx 80rpx;
  79. }
  80. .text-primary .wr-icon {
  81. color: #fa550f;
  82. color: var(--color-primary, #fa550f);
  83. }