index.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. .installer {
  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(135deg, #04e6bc, #1be5bc 38%);
  45. border-radius: 10px;
  46. }
  47. .repairman {
  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(170deg, #a6d5ff 0%, #6dabfe 100%);
  55. border-radius: 10px;
  56. }
  57. .it {
  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(171deg, #cdbdff 0%, #9e88ff 100%);
  65. border-radius: 10px;
  66. }
  67. .item_icon {
  68. height: 76rpx;
  69. width: 76rpx
  70. }
  71. .item_text {
  72. margin-top: 30rpx;
  73. color: white;
  74. font-size: 36rpx;
  75. }