index.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. .discountCodePage {
  2. width: 100%;
  3. .discountCodeBox {
  4. width: 100%;
  5. height: calc(100% - 44px);
  6. overflow: auto;
  7. // background: #fff url('../../assets/discountCode/pageBg.png') top center no-repeat;
  8. // background-size: 100%;
  9. .searchRow {
  10. width: 90%;
  11. height: 48px;
  12. margin: 0 auto;
  13. background: rgba(255, 255, 255, 1) url("../../assets/home/line.png") bottom center no-repeat;
  14. background-size: 100%;
  15. align-items: center;
  16. .bd3 {
  17. width: 87px;
  18. height: 16px;
  19. .outer4 {
  20. width: 20px;
  21. height: 26px;
  22. background: url("../../assets/discountCode/icon.png") top center no-repeat;
  23. background-size: 100%;
  24. }
  25. .txt2 {
  26. width: 65px;
  27. height: 14px;
  28. overflow-wrap: break-word;
  29. color: rgba(64, 77, 116, 1);
  30. font-size: 15px;
  31. font-family: PingFangSC-Semibold;
  32. text-align: left;
  33. white-space: nowrap;
  34. line-height: 15px;
  35. display: block;
  36. font-weight: bold;
  37. .discountNumber {
  38. font-size: 18px;
  39. color: red;
  40. }
  41. }
  42. }
  43. .main5 {
  44. width: 39px;
  45. height: 16px;
  46. .label2 {
  47. width: 14px;
  48. height: 14px;
  49. margin-top: 1px;
  50. }
  51. .TextGroup2 {
  52. height: 16px;
  53. width: 22px;
  54. .txt3 {
  55. width: 22px;
  56. height: 16px;
  57. overflow-wrap: break-word;
  58. color: rgba(64, 77, 116, 1);
  59. font-size: 11px;
  60. text-align: center;
  61. white-space: nowrap;
  62. line-height: 16px;
  63. display: block;
  64. }
  65. }
  66. }
  67. }
  68. .tabButtomBox {
  69. width: 100%;
  70. height: 50px;
  71. .tabBox {
  72. width: 50%;
  73. align-items: center;
  74. justify-content: space-around;
  75. .active {
  76. color: #2c87c8;
  77. position: relative;
  78. height: 100%;
  79. line-height: 50px;
  80. &::after {
  81. content: '';
  82. width: 100%;
  83. height: 3px;
  84. position: absolute;
  85. bottom: 0;
  86. left: 0;
  87. background-color: #2c87c8;
  88. }
  89. }
  90. }
  91. .buttomBox {
  92. width: 50%;
  93. justify-content: flex-end;
  94. align-items: center;
  95. .buttonItem {
  96. width: 60px;
  97. line-height: 1.6;
  98. font-size: 12px;
  99. margin-right: 15px;
  100. text-align: center;
  101. background-color: #EDF0FC;
  102. color: #e16959;
  103. border: 1px solid #7b91ea;
  104. position: relative;
  105. }
  106. }
  107. }
  108. .intervalRow {
  109. width: 100%;
  110. height: 10px;
  111. background-color: #f5f5f5;
  112. }
  113. .listBox {
  114. .listItem {
  115. width: 100%;
  116. background: url("../../assets/home/line.png") bottom center no-repeat;
  117. background-size: 100%;
  118. position: relative;
  119. display: inline-block;
  120. .itemBox {
  121. width: 92%;
  122. margin: 20px auto;
  123. font-size: 12px;
  124. line-height: 1.64;
  125. .itemRow {
  126. width: 100%;
  127. }
  128. .itemTitle {
  129. color: #8787a6;
  130. }
  131. .discount {
  132. padding-left: 2em;
  133. }
  134. }
  135. .tipBox {
  136. position: absolute;
  137. top: 20px;
  138. right: 4%;
  139. width: 21%;
  140. line-height: 2.2;
  141. text-align: center;
  142. background-color: #2c87c8;
  143. color: #fff;
  144. &.isUseTip {
  145. background-color: #8787a6;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. .van-button--primary {
  152. border-color: #2c87c8;
  153. background-color: #2c87c8;
  154. }
  155. }
  156. .discountCodePage {
  157. .van-field__button {
  158. width: 150px;
  159. }
  160. .van-field {
  161. width: 100%;
  162. display: flex;
  163. align-items: center; //上下对齐
  164. justify-content: space-between;
  165. }
  166. .van-radio__icon--checked .van-icon {
  167. background-color: #2c87c8;
  168. border-color: #2c87c8;
  169. }
  170. }
  171. .codeSearch {
  172. width: 100%;
  173. .codeSearchPopup {
  174. width: 90%;
  175. }
  176. .content {
  177. padding-top: 1em;
  178. }
  179. .field .van-field__label {
  180. width: auto;
  181. }
  182. }