No Description

PriceOptions.less 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. @item_width: 70px;
  2. @item_margin: 6px;
  3. @item_border_width: 1px;
  4. .options {
  5. p {
  6. font-size: 14px;
  7. font-weight: 400;
  8. color: rgba(97, 106, 121, 1);
  9. margin-bottom: 20px;
  10. }
  11. .infoItem {
  12. padding-right: 0;
  13. .priceItem {
  14. background: rgba(243, 243, 243, 0.14);
  15. border-radius: 4px;
  16. border: @item_border_width solid rgba(207, 207, 207, 1);
  17. font-size: 14px;
  18. font-weight: 600;
  19. color: rgba(97, 106, 121, 1);
  20. display: inline-block;
  21. text-align: center;
  22. vertical-align: top;
  23. height: 30px;
  24. width: @item_width;
  25. line-height: 30px;
  26. cursor: pointer;
  27. margin: @item_margin;
  28. &.active {
  29. background: rgba(255, 50, 102, 0.1);
  30. border-radius: 4px;
  31. border: @item_border_width solid rgba(255, 50, 102, 1);
  32. color: rgba(97, 106, 121, 1);
  33. }
  34. }
  35. .priceInput {
  36. display: inline-block;
  37. min-width: 70px;
  38. width: auto;
  39. margin: @item_margin;
  40. text-align: center;
  41. }
  42. button {
  43. border-top-left-radius: 0;
  44. border-bottom-left-radius: 0;
  45. height: 30px;
  46. width: 50px;
  47. vertical-align: top;
  48. padding: 0 5px;
  49. }
  50. .rate {
  51. margin-left: 10px;
  52. i {
  53. margin-right: 5px;
  54. color: #1790ff;
  55. }
  56. }
  57. }
  58. &.multi {
  59. p {
  60. font-size: 14px;
  61. font-weight: 400;
  62. color: rgba(97, 106, 121, 1);
  63. }
  64. .infoItem {
  65. padding-right: 0;
  66. display: flex;
  67. flex-direction: column;
  68. justify-content: center;
  69. .priceBtn {
  70. display: flex;
  71. justify-content: space-between;
  72. }
  73. .priceItem {
  74. display: inline-block;
  75. background-color: #fff;
  76. border-radius: 4px;
  77. border: @item_border_width solid rgba(207, 207, 207, 1);
  78. &.active {
  79. background-color: #fff;
  80. color: #ff3266ff;
  81. border: @item_border_width solid rgba(255, 50, 102, 1);
  82. }
  83. }
  84. .priceInput {
  85. width: @item_width*3+ @item_margin*2;
  86. width: auto;
  87. }
  88. }
  89. }
  90. }