index.wxss 1.7 KB

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