index.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /* pages/index/index.wxss */
  2. .page {
  3. height: 100%;
  4. display: flex;
  5. justify-content: start;
  6. flex-direction: column;
  7. align-items: center;
  8. width: 100%;
  9. }
  10. .layout {
  11. height: 560rpx;
  12. margin-top: 60rpx;
  13. width: 75%;
  14. display: flex;
  15. flex-direction: column;
  16. justify-content: space-between;
  17. align-items: center;
  18. max-width: 75%;
  19. max-height: 560rpx;
  20. }
  21. .item_bg {
  22. width: 100%;
  23. display: flex;
  24. justify-content: space-between;
  25. flex-direction: row;
  26. }
  27. .teacher {
  28. width: 250rpx;
  29. height: 250rpx;
  30. display: flex;
  31. flex-direction: column;
  32. justify-content: center;
  33. align-items: center;
  34. background: linear-gradient(136deg, #fe9f68 2%, #ff8f74);
  35. border-radius: 10px;
  36. }
  37. .teacher_enable_false {
  38. width: 250rpx;
  39. height: 250rpx;
  40. display: flex;
  41. flex-direction: column;
  42. justify-content: center;
  43. align-items: center;
  44. background: linear-gradient(136deg, #838383 2%, #838383);
  45. border-radius: 10px;
  46. }
  47. .installer {
  48. width: 250rpx;
  49. height: 250rpx;
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: center;
  53. align-items: center;
  54. background: linear-gradient(135deg, #04e6bc, #1be5bc 38%);
  55. border-radius: 10px;
  56. }
  57. .installer_enable_false {
  58. width: 250rpx;
  59. height: 250rpx;
  60. display: flex;
  61. flex-direction: column;
  62. justify-content: center;
  63. align-items: center;
  64. background: linear-gradient(135deg, #838383 2%, #838383 38%);
  65. border-radius: 10px;
  66. }
  67. .repairman {
  68. width: 250rpx;
  69. height: 250rpx;
  70. display: flex;
  71. flex-direction: column;
  72. justify-content: center;
  73. align-items: center;
  74. background: linear-gradient(170deg, #a6d5ff 0%, #6dabfe 100%);
  75. border-radius: 10px;
  76. }
  77. .repairman_enable_false {
  78. width: 250rpx;
  79. height: 250rpx;
  80. display: flex;
  81. flex-direction: column;
  82. justify-content: center;
  83. align-items: center;
  84. background: linear-gradient(135deg, #838383 2%, #838383 38%);
  85. border-radius: 10px;
  86. }
  87. .it {
  88. width: 250rpx;
  89. height: 250rpx;
  90. display: flex;
  91. flex-direction: column;
  92. justify-content: center;
  93. align-items: center;
  94. background: linear-gradient(171deg, #cdbdff 0%, #9e88ff 100%);
  95. border-radius: 10px;
  96. }
  97. .it_enable_false {
  98. width: 250rpx;
  99. height: 250rpx;
  100. display: flex;
  101. flex-direction: column;
  102. justify-content: center;
  103. align-items: center;
  104. background: linear-gradient(135deg, #838383 2%, #838383 38%);
  105. border-radius: 10px;
  106. }
  107. .item_icon {
  108. height: 76rpx;
  109. width: 76rpx
  110. }
  111. .item_text {
  112. margin-top: 30rpx;
  113. color: white;
  114. font-size: 36rpx;
  115. }