index.less 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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: 'OPPOSans', 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: auto;
  45. .label2 {
  46. width: 20px;
  47. height: 20px;
  48. margin-right: 5px;
  49. cursor: pointer;
  50. }
  51. }
  52. }
  53. .tabButtomBox {
  54. width: 100%;
  55. height: 50px;
  56. .tabBox {
  57. width: 40%;
  58. align-items: center;
  59. justify-content: space-around;
  60. .active {
  61. color: #FF3456;
  62. position: relative;
  63. height: 100%;
  64. line-height: 50px;
  65. &::after {
  66. content: '';
  67. width: 100%;
  68. height: 3px;
  69. position: absolute;
  70. bottom: 0;
  71. left: 0;
  72. background-color: #FF3456;
  73. }
  74. }
  75. }
  76. .buttomBox {
  77. width: 60%;
  78. justify-content: flex-end;
  79. align-items: center;
  80. // 导出
  81. .buttonItem {
  82. cursor: pointer;
  83. width: 55px;
  84. line-height: 1.6;
  85. font-size: 12px;
  86. margin-right: 15px;
  87. text-align: center;
  88. background-color: #EDF0FC;
  89. color: #e16959;
  90. border: 1px solid #7b91ea;
  91. position: relative;
  92. }
  93. }
  94. }
  95. .intervalRow {
  96. width: 100%;
  97. height: 10px;
  98. background-color: #f5f5f5;
  99. }
  100. .listBox {
  101. .listItem {
  102. width: 100%;
  103. background: url("../../assets/home/line.png") bottom center no-repeat;
  104. background-size: 100%;
  105. position: relative;
  106. display: inline-block;
  107. .itemBox {
  108. width: 92%;
  109. margin: 20px auto;
  110. font-size: 12px;
  111. line-height: 1.64;
  112. .itemRow {
  113. width: 100%;
  114. }
  115. .itemTitle {
  116. color: #8787a6;
  117. }
  118. .discount {
  119. padding-left: 2em;
  120. }
  121. }
  122. // 使用,未使用
  123. .tipBox {
  124. position: absolute;
  125. top: 20px;
  126. right: 4%;
  127. width: 21%;
  128. line-height: 2.2;
  129. text-align: center;
  130. background-color: #FF3456;
  131. color: #fff;
  132. &.isUseTip {
  133. background-color: #8787a6;
  134. }
  135. }
  136. .checkedBox {
  137. position: absolute;
  138. top: 40px;
  139. right: 10%;
  140. }
  141. }
  142. }
  143. }
  144. .van-button--primary {
  145. border-color: #FF3456;
  146. background-color: #FF3456;
  147. }
  148. }
  149. .discountCodePage {
  150. .van-field__button {
  151. width: 150px;
  152. }
  153. .van-field {
  154. width: 100%;
  155. display: flex;
  156. align-items: center; //上下对齐
  157. justify-content: space-between;
  158. }
  159. .van-radio__icon--checked .van-icon {
  160. background-color: #FF3456;
  161. border-color: #FF3456;
  162. }
  163. }
  164. .codeSearch {
  165. width: 100%;
  166. .codeSearchPopup {
  167. width: 90%;
  168. }
  169. .content {
  170. padding-top: 1em;
  171. }
  172. .field .van-field__label {
  173. width: auto;
  174. }
  175. }