index.module.less 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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, 1.5rem);
  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. }
  71. }
  72. .itemTop {
  73. position: relative;
  74. z-index: 1;
  75. display: flex;
  76. align-items: center;
  77. margin-top: -2px;
  78. padding: 12px;
  79. background-color: #fff;
  80. border-radius: 10px 10px 0 0;
  81. .icon {
  82. width: 18px;
  83. height: 18px;
  84. margin-right: 8px;
  85. }
  86. .title {
  87. color: #333;
  88. font-size: 14px;
  89. line-height: 20px;
  90. margin-right: 4px;
  91. }
  92. .des {
  93. color: #aaa;
  94. font-size: 12px;
  95. line-height: 20px;
  96. }
  97. :global {
  98. .van-popover__wrapper {
  99. margin-left: auto;
  100. }
  101. }
  102. }
  103. .tabsContainer {
  104. display: flex;
  105. align-items: center;
  106. height: var(--van-tabs-line-height);
  107. :global {
  108. .van-tabs__line {
  109. width: 14px;
  110. height: 4px;
  111. border-radius: 2px;
  112. bottom: .5rem;
  113. }
  114. .van-tab{
  115. padding: 0 12px;
  116. }
  117. }
  118. .tagRight {
  119. display: flex;
  120. align-items: center;
  121. margin-left: auto;
  122. margin-right: 14px;
  123. color: #333;
  124. height: 100%;
  125. }
  126. }
  127. .gradeContainer {
  128. display: flex;
  129. align-items: center;
  130. .gradeEcharts {
  131. width: 160px;
  132. height: 160px;
  133. }
  134. .tags {
  135. flex: 1;
  136. display: flex;
  137. flex-wrap: wrap;
  138. font-size: 12px;
  139. color: #777;
  140. line-height: 16px;
  141. padding: 10px 0;
  142. .tag {
  143. display: flex;
  144. align-items: center;
  145. padding: 6px 12px;
  146. :global {
  147. .van-badge--dot {
  148. transform: none;
  149. width: 5px;
  150. height: 5px;
  151. }
  152. }
  153. }
  154. .tagTitle{
  155. margin: 0 4px 0 6px;
  156. }
  157. .tagNum {
  158. color: #333;
  159. font-weight: bold;
  160. font-family: DINAlternate-Bold, DINAlternate;
  161. }
  162. }
  163. }
  164. .subjectContainer {
  165. .subjectEcharts {
  166. width: 100%;
  167. height: 200px;
  168. }
  169. }
  170. .musicGroupContainer {
  171. .musicGroupEcharts {
  172. width: 100%;
  173. min-height: 400px;
  174. }
  175. .tags {
  176. display: flex;
  177. font-size: 12px;
  178. color: #777;
  179. line-height: 16px;
  180. padding: 12px 0 12px 36px;
  181. margin-right: 12px;
  182. overflow-x: auto;
  183. &::-webkit-scrollbar {
  184. width: 0;
  185. display: none;
  186. }
  187. .tag {
  188. display: flex;
  189. align-items: center;
  190. justify-content: center;
  191. padding: 6px 5px;
  192. margin-right: 14px;
  193. :global {
  194. .van-badge--dot {
  195. transform: none;
  196. width: 5px;
  197. height: 5px;
  198. margin-right: 4px;
  199. }
  200. }
  201. }
  202. }
  203. }
  204. .detailDataContainer {
  205. display: flex;
  206. font-family: DINAlternate-Bold, DINAlternate;
  207. .detailLeft {
  208. display: flex;
  209. padding-left: 12px;
  210. padding-bottom: 12px;
  211. }
  212. .detailRight {
  213. display: flex;
  214. flex: 1;
  215. overflow-x: auto;
  216. background: rgba(249, 249, 249, 1);
  217. padding-bottom: 12px;
  218. &::-webkit-scrollbar {
  219. width: 0;
  220. display: none;
  221. }
  222. }
  223. .tableTitle {
  224. position: relative;
  225. padding: 6px;
  226. font-size: 10px;
  227. line-height: 14px;
  228. white-space: nowrap;
  229. margin: 0 1px;
  230. &>div:first-child {
  231. position: absolute;
  232. left: 0;
  233. top: 0;
  234. width: 100%;
  235. height: 100%;
  236. opacity: .1;
  237. }
  238. &>div:last-child {
  239. position: relative;
  240. z-index: 2;
  241. }
  242. }
  243. .center {
  244. text-align: center;
  245. }
  246. .tableTr {
  247. padding: 7px 6px;
  248. font-size: 12px;
  249. line-height: 17px;
  250. white-space: nowrap;
  251. }
  252. .tableTr:not(:last-child) {
  253. border-bottom: 1Px solid #F2F2F2;
  254. }
  255. }
  256. .attendanceContainer {
  257. display: flex;
  258. align-items: center;
  259. .attendanceEcharts {
  260. width: 150px;
  261. height: 150px;
  262. }
  263. .tags {
  264. flex: 1;
  265. display: flex;
  266. flex-wrap: wrap;
  267. font-size: 12px;
  268. color: #777;
  269. line-height: 16px;
  270. .tag {
  271. width: 50%;
  272. display: flex;
  273. align-items: center;
  274. padding: 6px 5px;
  275. .des {
  276. margin: 0 5px;
  277. }
  278. :global {
  279. .van-badge--dot {
  280. transform: none;
  281. width: 5px;
  282. height: 5px;
  283. }
  284. }
  285. }
  286. .rect {
  287. width: 8px;
  288. height: 8px;
  289. border-radius: 2px;
  290. }
  291. .tagNum {
  292. color: #333;
  293. font-weight: bold;
  294. font-family: DINAlternate-Bold, DINAlternate;
  295. }
  296. }
  297. }
  298. .practiceContainer {
  299. :global {
  300. .van-grid-item {
  301. margin: 10px 0;
  302. .van-grid-item__content {
  303. padding-top: 0;
  304. padding-bottom: 0;
  305. font-size: 12px;
  306. color: #777;
  307. line-height: 18px;
  308. }
  309. }
  310. .van-grid-item:first-child {
  311. border-right: 1Px dashed #777;
  312. }
  313. .van-badge__wrapper{
  314. padding-left: 10px;
  315. }
  316. }
  317. .tagNum {
  318. color: #333;
  319. font-weight: bold;
  320. font-family: DINAlternate-Bold, DINAlternate;
  321. font-size: 22px;
  322. }
  323. .progressItem {
  324. padding: 5px 15px;
  325. line-height: 34px;
  326. :global{
  327. .van-progress{
  328. border-radius: 2Px;
  329. }
  330. }
  331. }
  332. }