subject.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /* pages/subject/subject.wxss */
  2. .top{
  3. padding: 12px;
  4. background-color: #D8EFFF;
  5. color: #0091FF;
  6. }
  7. .top view{
  8. color: #0091FF;
  9. /* font-size: 13px; */
  10. /* display: inline-block; */
  11. float: right;
  12. margin-right: 10px;
  13. }
  14. .top text{
  15. position: relative;
  16. /* width:60px; */
  17. height:28px;
  18. padding: 0 10px;
  19. border-radius:8px;
  20. background-color: #0091FF;
  21. color: #fff;
  22. text-align: center;
  23. line-height: 28px;
  24. float: right;
  25. font-size: 12px;
  26. top: -3px;
  27. }
  28. .count{
  29. top:13px;
  30. position: absolute;
  31. /* top: 55px; */
  32. right: 15px;
  33. color: #358BFF;
  34. text-align: right;
  35. }
  36. .content{
  37. padding: 0 12px;
  38. transition: all .3s linear;
  39. }
  40. .num{
  41. margin: 12px 0;
  42. color: #000;
  43. font-weight: 600;
  44. line-height: 50rpx;
  45. display: flex;
  46. }
  47. .num image{
  48. width: 38px;
  49. position: relative;
  50. top: 2px;
  51. }
  52. .ques{
  53. margin-bottom: 120rpx;
  54. }
  55. .ans .option view{
  56. margin-bottom: 24px;
  57. border: 1px solid #D8D8D8;
  58. padding: 10px;
  59. border-radius: 4px;
  60. }
  61. .ans .option .correct{
  62. border-color: #36D488;
  63. color: #36D488;
  64. }
  65. .ans .option .error{
  66. border-color: #FF6868;
  67. color: #FF6868;
  68. }
  69. .ans radio,.ans checkbox{
  70. width: 100%;
  71. }
  72. .btn{
  73. position: fixed;
  74. width: 100%;
  75. left: 0;
  76. z-index: 9;
  77. bottom: 80rpx;
  78. display: flex;
  79. flex-wrap: wrap;
  80. justify-content: space-between;
  81. padding: 0 50px;
  82. }
  83. .btn text{
  84. width:45%;
  85. height:40px;
  86. border: 1px solid #0091FF;
  87. color: #0091FF;
  88. /* background:rgba(212,230,255,1); */
  89. border-radius:31px;
  90. display: inline-block;
  91. text-align: center;
  92. line-height: 40px;
  93. /* margin: 0 20px; */
  94. font-weight: 500;
  95. }
  96. .btn .hide{
  97. /* background-color: #eee; */
  98. border-color: #eee;
  99. color: #eee;
  100. }
  101. .btn view{
  102. width: 100%;
  103. background-color: #DAEFFF;
  104. color: #0091FF;
  105. height: 84rpx;
  106. border-radius: 44rpx;
  107. text-align: center;
  108. line-height: 84rpx;
  109. font-size: 30rpx;
  110. margin-top: 20rpx;
  111. }
  112. .analysis{
  113. background-color: #FCF4DD;
  114. padding: 10px;
  115. border-radius: 4px;
  116. margin-top: 10px;
  117. font-size: 13px;
  118. line-height: 23px;
  119. }
  120. .ans_bg{
  121. position: fixed;
  122. width: 100%;
  123. height: 100vh;
  124. top: 0;
  125. left: 0;
  126. background-color: rgba(0,0,0,.5);
  127. z-index: 9999;
  128. }
  129. .ans_card{
  130. width: 93%;
  131. background-color: #fff;
  132. border-radius: 8px;
  133. padding: 10px;
  134. margin: auto;
  135. position: absolute;
  136. bottom: 20px;
  137. left: 0;
  138. right: 0;
  139. overflow: auto;
  140. max-height: 90%;
  141. display: flex;
  142. justify-content: flex-start;
  143. flex-wrap: wrap;
  144. }
  145. .ans_card view{
  146. padding: 10px 0;
  147. margin-bottom: 10px;
  148. border-bottom: 1px solid #d9d9d9;
  149. font-weight: 600;
  150. width: 100%;
  151. }
  152. .ans_card text{
  153. display: inline-block;
  154. width: 55rpx;
  155. height: 55rpx;
  156. border-radius: 50%;
  157. border: 1px solid #d9d9d9;
  158. text-align: center;
  159. line-height: 55rpx;
  160. margin:8rpx;
  161. }
  162. .ans_card .act{
  163. background-color: #22CC62;
  164. border-color: #22CC62;
  165. color: #fff;
  166. }
  167. .close{
  168. width: 20px;
  169. float: right;
  170. }