index.module.less 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. body {
  2. background: transparent !important;
  3. }
  4. .homeTab {
  5. &>div:first-child {
  6. position: fixed;
  7. top: 0;
  8. left: 0;
  9. right: 0;
  10. z-index: 10;
  11. :global {
  12. .van-tabs__nav:not(.van-tabs__nav--shrink) {
  13. background: transparent;
  14. }
  15. .van-tab{
  16. z-index: 10;
  17. }
  18. .van-tabs__line {
  19. bottom: 0.74rem;
  20. width: var(--line-width, 62px);
  21. height: 6px;
  22. background: linear-gradient(250deg, rgba(45, 199, 170, 0.22) 0%, #2DC7AA 100%);
  23. border-radius: 0;
  24. }
  25. }
  26. }
  27. &>div:nth-child(2) {
  28. :global {
  29. .van-tab__panel {
  30. margin-top: var(--van-tabs-line-height);
  31. background: #F8F9FC;
  32. }
  33. }
  34. }
  35. }
  36. .strickyTop{
  37. &>div:first-child{
  38. background-color: #fff;
  39. }
  40. }
  41. .item {
  42. margin: 12px;
  43. border-radius: 10px;
  44. background: #FFFFFF;
  45. }
  46. .itemEmtry {
  47. padding: 12px;
  48. }
  49. .top {
  50. position: relative;
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. width: calc(100% - 4px);
  55. height: 35px;
  56. background: linear-gradient(180deg, #CFF2EB 0%, rgba(255, 255, 255, 0) 100%);
  57. border-radius: 10px;
  58. box-shadow: -2px -2px 0 rgba(255, 255, 255, 1), 0 -2px 0 rgba(255, 255, 255, 1), 2px 0 0 rgba(255, 255, 255, 1);
  59. margin: 0 auto;
  60. .iconLeft,
  61. .iconRight {
  62. width: 15px;
  63. height: 8px;
  64. }
  65. span {
  66. line-height: 21px;
  67. margin: 0 7px;
  68. font-size: 14px;
  69. color: #333;
  70. font-weight: bold;
  71. }
  72. }
  73. .itemTop {
  74. position: relative;
  75. z-index: 1;
  76. display: flex;
  77. align-items: center;
  78. margin-top: -2px;
  79. padding: 12px;
  80. background-color: #fff;
  81. border-radius: 10px 10px 0 0;
  82. .icon {
  83. width: 18px;
  84. height: 18px;
  85. margin-right: 8px;
  86. }
  87. .title {
  88. color: #333;
  89. font-size: 14px;
  90. line-height: 20px;
  91. margin-right: 4px;
  92. }
  93. .des {
  94. color: #aaa;
  95. font-size: 12px;
  96. line-height: 20px;
  97. }
  98. :global {
  99. .van-popover__wrapper {
  100. margin-left: auto;
  101. }
  102. }
  103. }
  104. .tabsContainer {
  105. display: flex;
  106. align-items: center;
  107. height: var(--van-tabs-line-height);
  108. :global {
  109. .van-tabs__line {
  110. width: 14px;
  111. height: 4px;
  112. border-radius: 2px;
  113. }
  114. }
  115. .tagRight {
  116. display: flex;
  117. align-items: center;
  118. margin-left: auto;
  119. margin-right: 14px;
  120. color: #333;
  121. height: 100%;
  122. }
  123. }
  124. .gradeContainer {
  125. display: flex;
  126. align-items: center;
  127. .gradeEcharts {
  128. width: 160px;
  129. height: 160px;
  130. }
  131. .tags {
  132. flex: 1;
  133. display: flex;
  134. flex-wrap: wrap;
  135. font-size: 12px;
  136. color: #777;
  137. line-height: 16px;
  138. .tag {
  139. display: flex;
  140. align-items: center;
  141. padding: 6px 12px;
  142. :global {
  143. .van-badge--dot {
  144. transform: none;
  145. width: 5px;
  146. height: 5px;
  147. }
  148. }
  149. }
  150. .tagTitle{
  151. margin: 0 4px 0 6px;
  152. }
  153. .tagNum {
  154. color: #333;
  155. font-weight: bold;
  156. font-family: DINAlternate-Bold, DINAlternate;
  157. }
  158. }
  159. }
  160. .subjectContainer {
  161. .subjectEcharts {
  162. width: 100%;
  163. height: 200px;
  164. }
  165. }
  166. .musicGroupContainer {
  167. .musicGroupEcharts {
  168. width: 100%;
  169. min-height: 400px;
  170. }
  171. .tags {
  172. flex: 1;
  173. display: flex;
  174. justify-content: space-evenly;
  175. flex-wrap: wrap;
  176. font-size: 12px;
  177. color: #777;
  178. line-height: 16px;
  179. padding: 12px;
  180. .tag {
  181. display: flex;
  182. align-items: center;
  183. justify-content: center;
  184. padding: 6px 5px;
  185. :global {
  186. .van-badge--dot {
  187. transform: none;
  188. width: 5px;
  189. height: 5px;
  190. margin-right: 4px;
  191. }
  192. }
  193. }
  194. }
  195. }
  196. .detailDataContainer {
  197. display: flex;
  198. font-family: DINAlternate-Bold, DINAlternate;
  199. .detailLeft {
  200. display: flex;
  201. padding-left: 12px;
  202. padding-bottom: 12px;
  203. }
  204. .detailRight {
  205. display: flex;
  206. flex: 1;
  207. overflow-x: auto;
  208. background: rgba(249, 249, 249, 1);
  209. padding-bottom: 12px;
  210. &::-webkit-scrollbar {
  211. width: 0;
  212. display: none;
  213. }
  214. }
  215. .tableTitle {
  216. position: relative;
  217. padding: 6px;
  218. font-size: 10px;
  219. line-height: 14px;
  220. white-space: nowrap;
  221. &>div:first-child {
  222. position: absolute;
  223. left: 0;
  224. top: 0;
  225. width: 100%;
  226. height: 100%;
  227. opacity: .1;
  228. }
  229. &>div:last-child {
  230. position: relative;
  231. z-index: 2;
  232. }
  233. }
  234. .center {
  235. text-align: center;
  236. }
  237. .tableTr {
  238. padding: 7px 6px;
  239. font-size: 12px;
  240. line-height: 17px;
  241. white-space: nowrap;
  242. }
  243. .tableTr:not(:last-child) {
  244. border-bottom: 1Px solid #F2F2F2;
  245. }
  246. }
  247. .attendanceContainer {
  248. display: flex;
  249. align-items: center;
  250. .attendanceEcharts {
  251. width: 170px;
  252. height: 170px;
  253. }
  254. .tags {
  255. flex: 1;
  256. display: flex;
  257. flex-wrap: wrap;
  258. font-size: 12px;
  259. color: #777;
  260. line-height: 16px;
  261. .tag {
  262. width: 50%;
  263. display: flex;
  264. align-items: center;
  265. padding: 6px 5px;
  266. .des {
  267. margin: 0 5px;
  268. }
  269. :global {
  270. .van-badge--dot {
  271. transform: none;
  272. width: 5px;
  273. height: 5px;
  274. }
  275. }
  276. }
  277. .rect {
  278. width: 8px;
  279. height: 8px;
  280. border-radius: 2px;
  281. }
  282. .tagNum {
  283. color: #333;
  284. font-weight: bold;
  285. font-family: DINAlternate-Bold, DINAlternate;
  286. }
  287. }
  288. }
  289. .practiceContainer {
  290. :global {
  291. .van-grid-item {
  292. margin: 10px 0;
  293. .van-grid-item__content {
  294. padding-top: 0;
  295. padding-bottom: 0;
  296. font-size: 12px;
  297. color: #777;
  298. line-height: 18px;
  299. }
  300. }
  301. .van-grid-item:first-child {
  302. border-right: 1px dashed #777;
  303. }
  304. }
  305. .tagNum {
  306. color: #333;
  307. font-weight: bold;
  308. font-family: DINAlternate-Bold, DINAlternate;
  309. font-size: 22px;
  310. }
  311. .progressItem {
  312. padding: 5px 15px;
  313. line-height: 34px;
  314. }
  315. }