index.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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: 530rpx;
  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: 65rpx;
  58. display: flex;
  59. justify-content: space-between;
  60. align-items: center;
  61. }
  62. .gradeContainer .gradeBox .content .grade {
  63. padding: 14rpx 64rpx;
  64. border-radius: 50rpx;
  65. font-size: 36rpx;
  66. color: #333;
  67. background-color: #E4E4E4;
  68. }
  69. .gradeContainer .gradeBox .content .check {
  70. color: white;
  71. background-color: #1CCC69;
  72. }
  73. .gradeContainer .gradeBox .submitBox {
  74. text-align: center;
  75. }
  76. .gradeContainer .gradeBox .submitBox .submit {
  77. margin-top: 60rpx;
  78. padding: 16rpx 118rpx;
  79. display: inline-block;
  80. background-color: #F7991B;
  81. color: white;
  82. font-size: 42rpx;
  83. border-radius: 50rpx;
  84. }