index.module.less 8.4 KB

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