index.less 2.4 KB

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