learning_report.wxss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. /* pages/learning_report/learning_report.wxss */
  2. @import '../../templates/nodata/nodata.wxss';
  3. page {
  4. background: rgba(255, 255, 255, 1)
  5. }
  6. .li-noData{
  7. text-align: center;
  8. color: #7C819D;
  9. font-size: 30rpx;
  10. margin-top: 90%;
  11. font-weight: 600;
  12. }
  13. .li-noData-img{
  14. width: 376rpx;
  15. height: 244rpx;
  16. margin-bottom: 23rpx;
  17. }
  18. text {
  19. display: inline;
  20. vertical-align: middle;
  21. }
  22. .pt {
  23. padding-top: 150rpx;
  24. }
  25. .pb {
  26. padding-bottom: 98rpx;
  27. }
  28. .fixed {
  29. display: flex;
  30. justify-content: center;
  31. align-items: center;
  32. position: fixed;
  33. top: 0;
  34. width: 100%;
  35. height: 130rpx;
  36. background: rgba(255,255,255,1);
  37. padding-top: 20rpx;
  38. z-index: 99;
  39. }
  40. .fixed-left{
  41. border-right: 2px solid #000;
  42. border-top: 2px solid #000;
  43. height: 25rpx;
  44. width: 25rpx;
  45. transform: rotate(-135deg);
  46. -webkit-transform: rotate(-135deg);
  47. border-left: 2rpx solid transparent;
  48. border-bottom: 2rpx solid transparent;
  49. -moz-transform: rotate(-135deg);
  50. -ms-transform: rotate(-135deg);
  51. -o-transform: rotate(-135deg);
  52. /* margin: 74rpx 0 0 19rpx;
  53. display: inline-block; */
  54. position: fixed;
  55. top: 85rpx;
  56. left: 24rpx;
  57. }
  58. .fixed-items {
  59. margin-top: 28rpx;
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. }
  64. .fixed-item {
  65. color: #393939;
  66. border-bottom: solid 1rpx rgba(255,100,101,0);
  67. padding: 13rpx 0;
  68. margin: 0 30rpx;
  69. font-size: 30rpx;
  70. font-weight: bold;
  71. line-height: 40rpx;
  72. transition: all .3s;
  73. }
  74. .fixed-item-active {
  75. color: rgba(255,100,101,1);
  76. border-bottom: solid 4rpx rgba(255,100,101,1);
  77. }
  78. .list {
  79. padding: 8rpx 24rpx;
  80. /* border-bottom: solid 20rpx rgba(241, 243, 250, 1); */
  81. }
  82. .li-section {
  83. padding: 60rpx 24rpx 30rpx 24rpx;
  84. }
  85. .li-text-title {
  86. font-size: 32rpx;
  87. color: rgba(57,57,57,1);
  88. }
  89. .li-text-large {
  90. font-size: 110rpx;
  91. color: rgba(57,57,57,1);
  92. margin: 40rpx auto;
  93. }
  94. .li-text {
  95. font-size: 30rpx;
  96. line-height: 46rpx;
  97. color: rgba(124, 129, 156, 1);
  98. }
  99. .li-label {
  100. position: relative;
  101. font-size: 32rpx;
  102. color: rgba(57,57,57,1);
  103. padding: 50rpx 24rpx;
  104. }
  105. .li-label::after {
  106. content: "";
  107. position: absolute;
  108. left: 0;
  109. top: 50%;
  110. width: 9rpx;
  111. height: 30rpx;
  112. border-radius: 100rpx;
  113. background: rgba(255, 100, 101, 1);
  114. transform: translateY(-50%);
  115. }
  116. .li-label-1 {
  117. position: relative;
  118. font-size: 32rpx;
  119. color: rgba(57,57,57,1);
  120. padding: 50rpx 24rpx 50rpx 54rpx;
  121. }
  122. .li-label-image {
  123. position: absolute;
  124. left: 0;
  125. top: 54rpx;
  126. width: 34rpx;
  127. height: 36rpx;
  128. }
  129. .text-center {
  130. text-align: center;
  131. }
  132. .text-label {
  133. position: relative;
  134. }
  135. .text-label::after {
  136. content: "";
  137. position: absolute;
  138. left: 50%;
  139. top: 50%;
  140. width: 6rpx;
  141. height: 6rpx;
  142. border-radius: 100rpx;
  143. background: rgba(124, 129, 156, 1);
  144. transform: translate(-100rpx,-50%);
  145. }
  146. .text-gray {
  147. color: rgba(124, 129, 156, 1);
  148. }
  149. .text-red {
  150. color: rgba(255, 100, 101, 1);
  151. }
  152. .text-black {
  153. color: rgba(51, 51, 51, 1);
  154. font-weight: 600
  155. }
  156. .text-blue {
  157. color: #6085EA;
  158. }
  159. .text-decoration {
  160. text-decoration: underline;
  161. }
  162. .li-items {
  163. margin: 0 auto 30rpx auto;
  164. }
  165. .li-item {
  166. padding: 30rpx 24rpx;
  167. }
  168. .li-item-text {
  169. font-size: 26rpx;
  170. line-height: 46rpx;
  171. margin: 0 14rpx;
  172. }
  173. .li-item-row {
  174. display: flex;
  175. justify-content: space-between;
  176. align-items: center;
  177. }
  178. .li-item-flex {
  179. flex: 1;
  180. height: 20rpx;
  181. position: relative;
  182. overflow: hidden;
  183. border-radius: 100rpx;
  184. background: rgba(230, 244, 255, 1);
  185. }
  186. .li-item-flex-progress {
  187. position: absolute;
  188. top: 0;
  189. left: 0;
  190. height: 100%;
  191. }
  192. .li-progress {
  193. margin: 50rpx auto 80rpx auto;
  194. width: 100%;
  195. height: 20rpx;
  196. background: rgba(230, 244, 255, 1);
  197. position: relative;
  198. }
  199. .li-progress::before {
  200. content: '';
  201. position: absolute;
  202. top: 50%;
  203. left: 50%;
  204. width: 4rpx;
  205. height: 43rpx;
  206. background: rgba(199, 213, 225, 1);
  207. transform: translate(-50%, -50%);
  208. }
  209. .li-progress::after {
  210. content: '90min';
  211. position: absolute;
  212. top: 200%;
  213. left: 50%;
  214. color: rgba(199, 213, 225, 1);
  215. font-size: 24rpx;
  216. transform: translate(-50%, 0);
  217. }
  218. .li-progress-active {
  219. position: absolute;
  220. top: 0;
  221. left: 0;
  222. height: 100%;
  223. }
  224. .header {
  225. position: relative;
  226. }
  227. .header-bg {
  228. position: absolute;
  229. top: 0;
  230. right: 100rpx;
  231. width: 444rpx;
  232. height: 384rpx;
  233. z-index: 0;
  234. }
  235. .header-content {
  236. text-align: center;
  237. padding: 20rpx 30rpx;
  238. min-height: 200rpx;
  239. z-index: 1;
  240. position: relative;
  241. }
  242. .header-icon {
  243. width: 88rpx;
  244. height: 88rpx;
  245. border-radius: 100rpx;
  246. margin: 40rpx auto;
  247. }
  248. .header-items {
  249. display: flex;
  250. justify-content: center;
  251. align-items: center;
  252. flex-wrap: wrap;
  253. }
  254. .header-item {
  255. margin: 12rpx;
  256. border-radius: 100rpx;
  257. color: rgba(255, 255, 255, 1);
  258. padding: 12rpx 24rpx;
  259. font-size: 20rpx;
  260. }
  261. .header-item-red {
  262. background:rgba(255, 100, 101, 1);
  263. }
  264. .header-item-yellow {
  265. background:rgba(255, 215, 104, 1);
  266. }
  267. .header-item-blue {
  268. background:rgba(0, 183, 255, 1);
  269. }
  270. .header-item-green {
  271. background:rgba(123, 232, 183, 1);
  272. }
  273. .nav {
  274. position: relative;
  275. z-index: 1;
  276. padding: 60rpx 24rpx 30rpx 24rpx;
  277. display: flex;
  278. justify-content: center;
  279. align-items: center;
  280. }
  281. .nav-items {
  282. display: flex;
  283. justify-content: center;
  284. align-items: center;
  285. box-shadow: 0rpx 6rpx 30rpx 0rpx rgba(81,108,227,0.15);
  286. border-radius: 200rpx;
  287. padding: 6rpx;
  288. }
  289. .nav-item {
  290. color: rgba(255,100,101,1);
  291. background: rgba(255,255,255,1);
  292. border-radius: 200rpx;
  293. padding: 24rpx 60rpx;
  294. font-size: 30rpx;
  295. line-height: 40rpx;
  296. transition: all .3s;
  297. }
  298. .nav-item-active {
  299. background: rgba(255,100,101,1);
  300. color: rgba(255,255,255,1);
  301. }
  302. .li-study {
  303. margin: 60rpx auto;
  304. }
  305. .li-study-title {
  306. text-align: center;
  307. padding: 30rpx;
  308. color: rgba(57, 57, 57, 1);
  309. font-size: 34rpx;
  310. line-height: 44rpx;
  311. }
  312. .li-study-column {
  313. width: 100%;
  314. display: flex;
  315. justify-content: space-between;
  316. align-items: flex-end;
  317. margin-top: 20rpx;
  318. }
  319. .li-study-column-item {
  320. margin: 10rpx;
  321. text-align: center;
  322. }
  323. .li-study-column-text {
  324. font-size: 20rpx;
  325. color: rgba(124,129,157,1);
  326. }
  327. .li-study-column-progress {
  328. width: 50rpx;
  329. margin: 10rpx auto;
  330. height: 0;
  331. transition: all .3;
  332. }
  333. .li-study-chart {
  334. width: 100%;
  335. text-align: center;
  336. }
  337. .li-study-canvas {
  338. width: 300px;
  339. height: 300px;
  340. margin: 0rpx auto;
  341. }
  342. .li-study-chart-items {
  343. display: flex;
  344. justify-content: space-around;
  345. align-items: center;
  346. }
  347. .li-study-chart-item {
  348. display: flex;
  349. justify-content: flex-start;
  350. align-items: center;
  351. }
  352. .li-study-chart-item-circle {
  353. width: 12rpx;
  354. height: 12rpx;
  355. border-radius: 100rpx;
  356. margin-right: 8rpx;
  357. }
  358. .li-study-chart-item-text {
  359. color: rgba(124, 129, 157, 1);
  360. font-size: 24rpx;
  361. line-height: 60rpx;
  362. }
  363. .li-study-area {
  364. background: rgba(241,243,250,1);
  365. border-radius: 16rpx;
  366. margin-top: 20rpx;
  367. }
  368. .li-study-area-title {
  369. padding: 30rpx 24rpx;
  370. display: flex;
  371. justify-content: flex-start;
  372. align-items: center;
  373. }
  374. .li-study-icon-1 {
  375. width: 28rpx;
  376. height: 38rpx;
  377. margin-right: 20rpx;
  378. }
  379. .li-study-icon-2 {
  380. width: 36rpx;
  381. height: 36rpx;
  382. margin-right: 20rpx;
  383. }
  384. .li-study-icon-3 {
  385. width: 43rpx;
  386. height: 25rpx;
  387. margin-right: 20rpx;
  388. }
  389. .li-study-text-gray {
  390. color: rgba(124, 129, 157, 1);
  391. font-size: 30rpx;
  392. line-height: 60rpx;
  393. }
  394. .li-study-text-gray-small {
  395. color: rgba(124, 129, 157, 1);
  396. font-size: 24rpx;
  397. line-height: 60rpx;
  398. display: flex;
  399. justify-content: space-between;
  400. align-items: center;
  401. }
  402. .li-study-arrow {
  403. width: 18rpx;
  404. height: 18rpx;
  405. border-top: solid 4rpx #999;
  406. border-right: solid 4rpx #999;
  407. transform: rotate(135deg);
  408. transition: all .3s;
  409. }
  410. .li-study-arrow-active {
  411. transform: rotate(-45deg);
  412. }
  413. .li-study-text-black {
  414. color: rgba(57, 57, 57, 1);
  415. font-size: 30rpx;
  416. line-height: 60rpx;
  417. margin-right: 13rpx;
  418. }
  419. .li-study-text-black-small {
  420. color: rgba(57, 57, 57, 1);
  421. font-size: 24rpx;
  422. line-height: 40rpx;
  423. }
  424. .li-study-text-red-small {
  425. color: rgba(255, 100, 101, 1);
  426. font-size: 24rpx;
  427. line-height: 40rpx;
  428. }
  429. .li-study-area-content {
  430. border-top: solid 1rpx rgba(208, 213, 230, 1);
  431. padding: 30rpx 24rpx;
  432. }
  433. .li-study-area-item {
  434. margin: 30rpx 0;
  435. }
  436. .li-study-area-item-title {
  437. display: flex;
  438. justify-content: flex-start;
  439. align-items: center;
  440. margin-bottom: 20rpx;
  441. }
  442. .li-study-area-content-row {
  443. display: flex;
  444. flex-direction: row;
  445. justify-content: flex-start;
  446. align-items: flex-start;
  447. flex-wrap: wrap;
  448. }
  449. .li-study-btn-1 {
  450. background: rgba(255,100,101,.2);
  451. border-radius: 10rpx;
  452. padding: 8rpx 24rpx;
  453. color: rgba(255, 100, 101, 1);
  454. font-size: 20rpx;
  455. line-height: 40rpx;
  456. margin-right: 14rpx;
  457. }
  458. .li-study-btn-2 {
  459. background: rgba(255,100,101,1);
  460. width: 10rpx;
  461. height: 24rpx;
  462. border-radius: 20rpx;
  463. margin-right: 14rpx;
  464. }
  465. .li-study-btn-3 {
  466. background: rgba(255,100,101,.2);
  467. border-radius: 10rpx;
  468. padding: 8rpx 24rpx;
  469. color: rgba(255, 100, 101, 1);
  470. font-size: 20rpx;
  471. line-height: 40rpx;
  472. margin: 14rpx;
  473. }
  474. .li-study-area-row {
  475. padding: 50rpx 24rpx;
  476. display: flex;
  477. justify-content: space-between;
  478. align-items: center;
  479. }
  480. .li-study-area-flex {
  481. flex: 1;
  482. display: flex;
  483. justify-content: flex-start;
  484. align-items: center;
  485. }
  486. .li-study-ring {
  487. width: 60px;
  488. height: 60px;
  489. margin-left: 24rpx;
  490. }
  491. .li-study-area-item-li {
  492. margin: 30rpx auto;
  493. display: flex;
  494. justify-content: flex-start;
  495. align-items: flex-start;
  496. }
  497. .li-study-area-item-li-label {
  498. position: relative;
  499. padding-left: 20rpx;
  500. line-height: 40rpx;
  501. }
  502. .li-study-area-item-li-label::after {
  503. content: "";
  504. position: absolute;
  505. top: 50%;
  506. transform: translateY(-50%);
  507. left: 0;
  508. width: 10rpx;
  509. height: 10rpx;
  510. background: rgba(124,129,157,1);
  511. border-radius: 100rpx;
  512. }
  513. .li-study-area-item-li-flex {
  514. flex: 1;
  515. }