index.module.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .unitSubject {
  2. padding: 15px;
  3. margin: 0 13px;
  4. background-color: #fff;
  5. // overflow: hidden;
  6. border-radius: 10px;
  7. }
  8. .unitSubjectTitle {
  9. // display: flex;
  10. // align-items: center;
  11. // flex-wrap: wrap;
  12. font-size: 16px;
  13. font-weight: 500;
  14. color: #333333;
  15. line-height: 26px;
  16. .unitScore {
  17. color: #777777;
  18. }
  19. :global {
  20. .van-tag {
  21. vertical-align: middle;
  22. margin-top: -3px;
  23. }
  24. }
  25. }
  26. .unitTitleImg {
  27. width: 100%;
  28. padding-top: 20px;
  29. padding-bottom: 10px;
  30. }
  31. .unitAnswers {
  32. position: relative;
  33. padding-bottom: 20px;
  34. .answerItem {
  35. position: relative;
  36. z-index: 2;
  37. margin-bottom: 15px;
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. &:last-child {
  42. margin-bottom: 0;
  43. }
  44. }
  45. .img {
  46. width: 95px;
  47. }
  48. .unitItem {
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. background: #ffffff;
  53. border-radius: 6px;
  54. border: 2px solid #d5d5d5;
  55. overflow: hidden;
  56. height: 54px;
  57. width: 95px;
  58. font-size: 16px;
  59. font-weight: 500;
  60. color: #333333;
  61. line-height: 22px;
  62. text-align: center;
  63. }
  64. .active {
  65. border: 2px solid #ff8057;
  66. color: #f67146;
  67. }
  68. }
  69. .canvasSection {
  70. position: absolute;
  71. top: 0;
  72. left: 0;
  73. }
  74. .resetBtnGroup {
  75. text-align: right;
  76. padding-bottom: 16px;
  77. :global {
  78. .van-button {
  79. min-width: 84px;
  80. line-height: 31px;
  81. height: 31px;
  82. font-size: 15px;
  83. font-weight: 500;
  84. }
  85. }
  86. }