index.wxss 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. .nav-bar {
  2. position: fixed;
  3. width: 100%;
  4. top: 0;
  5. z-index: 9999;
  6. color: #fff;
  7. background: #C7DDFF;
  8. }
  9. .nav-bar .view {
  10. width: 100%;
  11. color: #2D2D2D;
  12. position: absolute;
  13. display: flex;
  14. align-items: center;
  15. justify-content: center;
  16. }
  17. .nav-bar .view .selectGrade {
  18. position: absolute;
  19. left: 22rpx;
  20. width: 158rpx;
  21. height: 48rpx;
  22. line-height: 48rpx;
  23. border-radius: 25rpx;
  24. background-color: #ffffffa6;
  25. color: #333;
  26. font-size: 24rpx;
  27. text-align: center;
  28. }
  29. .nav-bar .view .title {
  30. text-align: center;
  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, 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. }
  54. .gradeContainer .gradeBox {
  55. width: 520rpx;
  56. padding: 33rpx 40rpx 50rpx;
  57. border-radius: 20rpx;
  58. background-color: white;
  59. }
  60. .gradeContainer .gradeBox .title {
  61. text-align: center;
  62. font-size: 40rpx;
  63. font-weight: bold;
  64. }
  65. .gradeContainer .gradeBox .content {
  66. margin-top: 55rpx;
  67. display: flex;
  68. justify-content: space-between;
  69. align-items: center;
  70. }
  71. .gradeContainer .gradeBox .content .grade {
  72. padding: 12rpx 64rpx;
  73. border-radius: 50rpx;
  74. font-size: 36rpx;
  75. color: #333;
  76. background-color: #E4E4E4;
  77. }
  78. .gradeContainer .gradeBox .content .oneRow {
  79. width: 100%;
  80. text-align: center;
  81. }
  82. .gradeContainer .gradeBox .content .check {
  83. color: white;
  84. background-color: #1CCC69;
  85. }
  86. .gradeContainer .gradeBox .submitBox {
  87. text-align: center;
  88. }
  89. .gradeContainer .gradeBox .submitBox .submit {
  90. width: 360rpx;
  91. margin-top: 60rpx;
  92. padding: 14rpx 0rpx;
  93. display: inline-block;
  94. background-color: #45B7FF;
  95. color: white;
  96. font-size: 42rpx;
  97. border-radius: 50rpx;
  98. }