index.module.less 4.1 KB

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