index.wxss 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. .gradeContainer {
  33. width: 100%;
  34. height: 100%;
  35. background: rgba(0, 0, 0, 0.7);
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. position: fixed;
  40. top: 0;
  41. left: 0;
  42. z-index: 9999;
  43. }
  44. .gradeContainer .gradeBox {
  45. width: 520rpx;
  46. padding: 33rpx 40rpx 50rpx;
  47. border-radius: 20rpx;
  48. background-color: white;
  49. }
  50. .gradeContainer .gradeBox .title {
  51. text-align: center;
  52. font-size: 40rpx;
  53. font-weight: bold;
  54. }
  55. .gradeContainer .gradeBox .content {
  56. margin-top: 55rpx;
  57. display: flex;
  58. justify-content: space-between;
  59. align-items: center;
  60. }
  61. .gradeContainer .gradeBox .content .grade {
  62. padding: 12rpx 64rpx;
  63. border-radius: 50rpx;
  64. font-size: 36rpx;
  65. color: #333;
  66. background-color: #E4E4E4;
  67. }
  68. .gradeContainer .gradeBox .content .oneRow {
  69. width: 100%;
  70. text-align: center;
  71. }
  72. .gradeContainer .gradeBox .content .check {
  73. color: white;
  74. background-color: #1CCC69;
  75. }
  76. .gradeContainer .gradeBox .submitBox {
  77. text-align: center;
  78. }
  79. .gradeContainer .gradeBox .submitBox .submit {
  80. width: 360rpx;
  81. margin-top: 60rpx;
  82. padding: 14rpx 0rpx;
  83. display: inline-block;
  84. background-color: #45B7FF;
  85. color: white;
  86. font-size: 42rpx;
  87. border-radius: 50rpx;
  88. }