index.module.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. .knowledgeLibrary {
  2. min-height: 100vh;
  3. background: url('./images/bg.png') no-repeat top center;
  4. background-size: contain;
  5. position: relative;
  6. .wroingBtn {
  7. display: flex;
  8. align-items: center;
  9. height: 24px;
  10. background: #FFFFFF;
  11. border-radius: 12px;
  12. font-size: 14px;
  13. color: #0E71BC;
  14. padding: 0 8px;
  15. .iconWroing {
  16. width: 14px;
  17. height: 14px;
  18. background: url('./images/icon-wroing-question.png') no-repeat center;
  19. background-size: contain;
  20. display: inline-block;
  21. }
  22. }
  23. .iconExamQuestion {
  24. position: fixed;
  25. right: 0;
  26. bottom: 20vh;
  27. z-index: 99;
  28. width: 66px;
  29. height: 66px;
  30. }
  31. }
  32. .btnGroup {
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. padding: 60px 0 20px;
  37. .btnPractice,
  38. .btnTest {
  39. display: inline-block;
  40. width: 139px;
  41. height: 49px;
  42. border: none
  43. }
  44. .btnPractice {
  45. background: url('./images/btn-practice.png') no-repeat center;
  46. background-size: contain;
  47. }
  48. .btnTest {
  49. margin-left: 17px;
  50. background: url('./images/btn-test.png') no-repeat center;
  51. background-size: contain;
  52. }
  53. }
  54. .containerSection {
  55. background: #87D1F0;
  56. border-radius: 20px 20px 0px 0px;
  57. padding: 15px;
  58. &.librarySection {
  59. min-height: calc(100vh - var(--header-height) - 129px);
  60. }
  61. &.woringSection {
  62. min-height: calc(100vh - var(--header-height) - 60px);
  63. margin-top: 60px;
  64. .woringContent {
  65. min-height: calc(100vh - var(--header-height) - 90px);
  66. border-radius: 20px;
  67. overflow: hidden;
  68. background-color: #fff;
  69. padding: 15px;
  70. }
  71. }
  72. :global {
  73. .van-collapse {
  74. border-radius: 20px;
  75. overflow: hidden;
  76. }
  77. .van-cell {
  78. padding: 16px 15px;
  79. }
  80. .van-collapse-item__content {
  81. padding: 0 15px 12px;
  82. }
  83. .van-cell__title {
  84. display: flex;
  85. align-items: center;
  86. font-size: 17px;
  87. font-weight: 600;
  88. color: #333333;
  89. &::before {
  90. content: ' ';
  91. display: inline-block;
  92. width: 4px;
  93. height: 14px;
  94. border-radius: 2px;
  95. margin-right: 6px;
  96. background: linear-gradient(to bottom, #259CFE, #3FC2FF);
  97. }
  98. span {
  99. max-width: 200px;
  100. white-space: nowrap;
  101. overflow: hidden;
  102. text-overflow: ellipsis;
  103. }
  104. }
  105. }
  106. .unitItem {
  107. position: relative;
  108. max-height: 154px;
  109. &+.unitItem {
  110. margin-top: 12px;
  111. }
  112. .name {
  113. position: absolute;
  114. top: 0;
  115. left: 0;
  116. width: 100%;
  117. height: 100%;
  118. z-index: 2;
  119. font-size: 16px;
  120. font-weight: bold;
  121. color: #781714;
  122. line-height: 19px;
  123. display: flex;
  124. align-items: center;
  125. justify-content: center;
  126. span {
  127. max-width: 70%;
  128. text-align: center;
  129. }
  130. }
  131. }
  132. .unitImg {
  133. width: 100%;
  134. max-height: 154px;
  135. }
  136. }