index.module.less 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .cartBox {
  2. padding: 15px;
  3. :global {
  4. --van-cart: #ff4e19;
  5. --van-stepper-button-round-theme-color: var(--van-primary);
  6. }
  7. }
  8. .submit {
  9. :global {
  10. .van-submit-bar__price {
  11. color: var(--van-cart);
  12. }
  13. }
  14. }
  15. .delete {
  16. :global {
  17. .van-button {
  18. margin-left: auto;
  19. }
  20. }
  21. }
  22. .cartItem {
  23. display: flex;
  24. align-items: center;
  25. background: #fff;
  26. border-radius: 11px;
  27. padding-left: 12px;
  28. margin-bottom: 10px;
  29. :global {
  30. .van-card {
  31. background: #fff;
  32. flex: 1;
  33. margin: 0;
  34. padding: 14px 12px;
  35. }
  36. .van-card__title {
  37. font-size: 16px;
  38. color: #333;
  39. font-weight: 400;
  40. line-height: 22px;
  41. max-height: 44px;
  42. }
  43. .van-card__desc {
  44. font-size: 14px;
  45. color: #999;
  46. font-weight: 400;
  47. line-height: 20px;
  48. max-height: 40px;
  49. white-space: break-spaces;
  50. }
  51. .van-card__thumb {
  52. width: auto;
  53. height: auto;
  54. }
  55. .van-image {
  56. width: 100px !important;
  57. height: 100px !important;
  58. border-radius: 8px;
  59. overflow: hidden;
  60. }
  61. .van-card__price {
  62. color: var(--van-cart);
  63. }
  64. }
  65. }