examResult.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. .container {
  2. position: relative;
  3. }
  4. .exam-bg {
  5. position: absolute;
  6. left: 0;
  7. top: 0;
  8. }
  9. .page-bg {
  10. position: absolute;
  11. left: 50%;
  12. top: 70rpx;
  13. transform: translate(-50%);
  14. }
  15. .top {
  16. position: absolute;
  17. left: 50%;
  18. top: 30rpx;
  19. transform: translate(-50%);
  20. width: 161rpx;
  21. height: 161rpx;
  22. background: #FFFFFF;
  23. border-radius: 50%;
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. }
  28. .logo {
  29. width: 124rpx;
  30. height: 124rpx;
  31. background: linear-gradient(0deg, #FF4330 0%, #FF7B60 100%);
  32. border-radius: 50%;
  33. border: 8rpx solid #FFCDC6;
  34. border-radius: 50%;
  35. display: flex;
  36. align-items: center;
  37. flex-direction: column;
  38. justify-content: center;
  39. }
  40. .score {
  41. line-height: 50rpx;
  42. font-size: 50rpx;
  43. color: #FFFFFF;
  44. }
  45. .unit {
  46. font-size: 21rpx;
  47. color: #FFFFFF;
  48. }
  49. .content {
  50. position: absolute;
  51. width: 580rpx;
  52. left: 50%;
  53. top: 150rpx;
  54. transform: translate(-50%);
  55. }
  56. .title {
  57. padding-left: 15rpx;
  58. }
  59. .card-container {
  60. height: 70vh;
  61. overflow: hidden;
  62. overflow-y: scroll;
  63. }
  64. .card-container::-webkit-scrollbar {
  65. display: none;
  66. width: 0;
  67. height: 0;
  68. color: transparent;
  69. }
  70. .card {
  71. margin-bottom: 20rpx;
  72. background: rgba(255, 173, 156, 0.1);
  73. border-radius: 7rpx;
  74. padding: 20rpx 40rpx 30rpx 15rpx;
  75. display: flex;
  76. }
  77. .no {
  78. line-height: 34rpx;
  79. width: 34rpx;
  80. height: 34rpx;
  81. border: 1rpx solid #999999;
  82. border-radius: 50%;
  83. display: flex;
  84. justify-content: center;
  85. align-items: centere;
  86. font-size: 21rpx;
  87. color: #666666;
  88. }
  89. .card-content {
  90. flex: 1;
  91. margin-left: 15rpx;
  92. display: flex;
  93. flex-direction: column;
  94. }
  95. .question {
  96. font-size: 25rpx;
  97. color: #333333;
  98. }
  99. .answer {
  100. margin-top: 20rpx;
  101. display: flex;
  102. }
  103. .answer-key {
  104. flex-shrink: 0;
  105. margin-right: 10rpx;
  106. font-size: 21rpx;
  107. color: #333333;
  108. }
  109. .answer-ok {
  110. font-size: 21rpx;
  111. color: #00B627;
  112. }
  113. .answer-my {
  114. font-size: 21rpx;
  115. color: #EB3F33;
  116. }