index.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .nav-bar {
  2. position: fixed;
  3. width: 100%;
  4. top: 0;
  5. z-index: 9999;
  6. color: #fff;
  7. background: #00C657;
  8. .view {
  9. padding: 0px 31rpx;
  10. width: 100%;
  11. color: #fff;
  12. position: absolute;
  13. display: flex;
  14. align-items: center;
  15. justify-content: center;
  16. .selectGrade {
  17. position: absolute;
  18. left: 22rpx;
  19. width: 158rpx;
  20. height: 48rpx;
  21. line-height: 48rpx;
  22. border-radius: 25rpx;
  23. background-color: #ffffffa6;
  24. color: #333;
  25. font-size: 24rpx;
  26. text-align: center;
  27. }
  28. .title {
  29. text-align: center;
  30. }
  31. }
  32. }
  33. .headerBg {
  34. z-index: -1;
  35. position: absolute;
  36. top: 0px;
  37. left: 0px;
  38. width: 100%;
  39. height: 110rpx;
  40. background: url(https://reader-wx.ai160.com/images/reader/v3/top-bg.png) no-repeat;
  41. background-size: 100% 100%;
  42. background-position: center;
  43. }
  44. .gradeContainer {
  45. width: 100%;
  46. height: 100%;
  47. background: rgba(0, 0, 0, .7);
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. position: fixed;
  52. top: 0;
  53. left: 0;
  54. z-index: 9999;
  55. .gradeBox {
  56. width: 520rpx;
  57. padding: 33rpx 40rpx 50rpx;
  58. border-radius: 20rpx;
  59. background-color: white;
  60. .title {
  61. text-align: center;
  62. font-size: 40rpx;
  63. font-weight: bold;
  64. }
  65. .content {
  66. margin-top: 55rpx;
  67. display: flex;
  68. justify-content: space-between;
  69. align-items: center;
  70. .grade {
  71. padding: 12rpx 64rpx;
  72. border-radius: 50rpx;
  73. font-size: 36rpx;
  74. color: #333;
  75. background-color: #E4E4E4;
  76. }
  77. .oneRow {
  78. width: 100%;
  79. text-align: center;
  80. }
  81. .check {
  82. color: white;
  83. background-color: #1CCC69;
  84. }
  85. }
  86. .submitBox {
  87. text-align: center;
  88. .submit {
  89. width: 360rpx;
  90. margin-top: 60rpx;
  91. padding: 14rpx 0px;
  92. display: inline-block;
  93. background-color: #45B7FF;
  94. color: white;
  95. font-size: 42rpx;
  96. border-radius: 50rpx;
  97. }
  98. }
  99. }
  100. }