暂无描述

PriceOptions.less 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. @item_width: 70px;
  2. @item_margin: 6px;
  3. .options{
  4. border-bottom: 1px dashed #00000017;
  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:1px 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:1px 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. &.small {
  59. @item_width: 72px;
  60. @item_margin: 19px;
  61. padding: 0 0 12px 0;
  62. // padding: 12px 20px;
  63. border-bottom: none;
  64. p {
  65. margin-bottom: 8px;
  66. }
  67. .infoItem {
  68. text-align: center;
  69. .priceItem {
  70. border-radius:6px;
  71. height: 32px;
  72. width: @item_width;
  73. margin: 0 0 (@item_margin - 7px) @item_margin;
  74. }
  75. .priceItem:first-child{
  76. margin: 0 0 (@item_margin - 7px) 0px;
  77. }
  78. .priceInput {
  79. display: block;
  80. width: @item_width*3+@item_margin*2;
  81. border-radius: 6px;
  82. height: 32px;
  83. }
  84. }
  85. }
  86. }
  87. .options {
  88. &.multi {
  89. padding: 20px 20px;
  90. p{
  91. font-size:14px;
  92. font-weight:400;
  93. color:rgba(97,106,121,1);
  94. }
  95. .infoItem {
  96. padding-right: 0;
  97. display: flex;
  98. flex-direction: column;
  99. justify-content: center;
  100. .priceBtn{
  101. display: flex;
  102. justify-content: space-between;
  103. }
  104. .priceItem {
  105. display: inline-block;
  106. background-color: #fff;
  107. width:74px;
  108. height:36px;
  109. line-height: 36px;
  110. border-radius:4px;
  111. border:1px solid rgba(207,207,207,1);
  112. &.active {
  113. background-color: #fff;
  114. color: #FF3266FF;
  115. border-radius:4px;
  116. border:1px solid rgba(255,50,102,1);
  117. }
  118. }
  119. .priceInput {
  120. border-radius:6px;
  121. height: 36px;
  122. width: auto;
  123. }
  124. }
  125. }
  126. }