index.module.less 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. .practiceRewards {
  2. min-height: 100vh;
  3. background: url('./images/bg.png') no-repeat top right #fff0e8;
  4. background-size: contain;
  5. }
  6. .btn {
  7. border-radius: 13px;
  8. border: 1px solid #f67146;
  9. font-size: 14px;
  10. font-weight: 500;
  11. color: #f67146;
  12. line-height: 20px;
  13. padding: 3px 9px;
  14. }
  15. .gridGroup {
  16. margin: 12px 13px;
  17. border-radius: 10px;
  18. overflow: hidden;
  19. :global {
  20. .van-cell {
  21. padding: 13px 12px;
  22. }
  23. }
  24. .itemTitle {
  25. display: flex;
  26. align-items: center;
  27. justify-content: space-between;
  28. font-size: 14px;
  29. font-weight: 500;
  30. color: #777777;
  31. line-height: 20px;
  32. .status {
  33. font-size: 14px;
  34. font-weight: 500;
  35. color: #777777;
  36. line-height: 20px;
  37. }
  38. .red {
  39. color: #f44541;
  40. }
  41. }
  42. }
  43. .headerContainer {
  44. // padding: 0 13px;
  45. background: url('./images/card-bg.png') no-repeat center center;
  46. background-size: contain;
  47. height: 186px;
  48. box-sizing: content-box;
  49. .headerContent {
  50. position: relative;
  51. padding: 15px 20px 25px;
  52. // background: linear-gradient(135deg, #ff9a60 0%, #ff6040 100%);
  53. border-radius: 10px;
  54. font-size: 16px;
  55. font-weight: bold;
  56. color: #fff;
  57. }
  58. .priceCount {
  59. padding: 10px 0 15px;
  60. font-size: 38px;
  61. font-family: DINA;
  62. font-weight: bold;
  63. color: #ffffff;
  64. line-height: 45px;
  65. }
  66. }
  67. .grid {
  68. :global {
  69. .van-grid-item__content {
  70. padding: 15px 0 20px;
  71. }
  72. }
  73. .gridBorderRight::after {
  74. content: ' ';
  75. position: absolute;
  76. box-sizing: border-box;
  77. height: 40px;
  78. pointer-events: none;
  79. top: 50%;
  80. margin-top: -20px;
  81. right: 0;
  82. border: 1px solid var(--van-border-color);
  83. transform: scale(0.5);
  84. }
  85. }
  86. .gridItem {
  87. position: relative;
  88. text-align: center;
  89. font-size: 12px;
  90. color: #777;
  91. width: 100%;
  92. .gridItemTop {
  93. margin-bottom: 6px;
  94. }
  95. .topNum {
  96. color: #f67146;
  97. font-size: 22px;
  98. margin-right: 2px;
  99. font-family: 'DINA';
  100. }
  101. & + .gridItem {
  102. margin-left: 26px;
  103. }
  104. }
  105. .item {
  106. border-radius: 10px;
  107. margin: 12px 13px 12px 13px;
  108. overflow: hidden;
  109. background: #fff;
  110. :global {
  111. .van-cell {
  112. padding-top: 12px;
  113. padding-bottom: 12px;
  114. }
  115. .van-cell::after {
  116. left: 0;
  117. right: 0;
  118. }
  119. .van-cell__label {
  120. font-size: 14px;
  121. color: #777;
  122. white-space: nowrap;
  123. }
  124. }
  125. .titleLine {
  126. width: 4px;
  127. height: 12px;
  128. background: #ff8057;
  129. border-radius: 2px;
  130. margin-right: 6px;
  131. }
  132. .itemTitle {
  133. display: flex;
  134. align-items: center;
  135. font-size: 16px;
  136. .titleIcon {
  137. width: 18px;
  138. height: 18px;
  139. margin-right: 6px;
  140. }
  141. }
  142. .itemTag {
  143. padding: 0 8px;
  144. height: 19px;
  145. line-height: 19px;
  146. background: #ff8057;
  147. border-radius: 4px;
  148. color: #fff;
  149. font-size: 12px;
  150. margin-left: 6px;
  151. }
  152. .itemPicture {
  153. width: 44px;
  154. height: 44px;
  155. margin-right: 8px;
  156. border-radius: 50%;
  157. overflow: hidden;
  158. }
  159. :global(.van-cell__value) {
  160. display: flex;
  161. justify-content: flex-end;
  162. padding-right: 8px;
  163. .valeLabel {
  164. margin-top: -12px;
  165. }
  166. .topNum {
  167. font-size: 19px;
  168. }
  169. }
  170. }
  171. .cellGroup {
  172. border-radius: 10px;
  173. :global {
  174. .van-cell {
  175. padding: 18px 20px 18px 12px;
  176. }
  177. }
  178. .img {
  179. width: 44px;
  180. height: 44px;
  181. border-radius: 50%;
  182. overflow: hidden;
  183. }
  184. .userInfo {
  185. padding-left: 10px;
  186. .userName {
  187. font-size: 16px;
  188. font-weight: 500;
  189. color: #333333;
  190. line-height: 22px;
  191. }
  192. .subjectNames {
  193. line-height: 1.2;
  194. :global {
  195. .van-tag {
  196. padding: 2px 6px 1px;
  197. font-size: 500;
  198. }
  199. }
  200. }
  201. }
  202. .mins {
  203. font-size: 11px;
  204. color: #333333;
  205. line-height: 16px;
  206. .nums {
  207. span {
  208. font-size: 19px;
  209. font-family: DINA;
  210. // font-weight: bold;
  211. color: #333333;
  212. line-height: 22px;
  213. }
  214. }
  215. .text {
  216. color: #777777;
  217. }
  218. }
  219. }