index.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .init {
  2. width: 100%;
  3. height: 100vh;
  4. padding: 32px 128px 64px 128px;
  5. overflow: hidden;
  6. background-image: url('/images/init-home/background.png');
  7. background-repeat: no-repeat;
  8. background-size: 100% 100%;
  9. .box {
  10. width: 100%;
  11. height: 100%;
  12. padding: 24px;
  13. background: white;
  14. .container {
  15. display: flex;
  16. justify-content: space-between;
  17. width: 100%;
  18. height: 100%;
  19. overflow-y: auto;
  20. .left {
  21. width: 30px;
  22. height: 1000px;
  23. }
  24. .right {
  25. width: calc(100% - 70px);
  26. // height: 1200px;
  27. .collapseTitle {
  28. display: flex;
  29. font-size: 15px;
  30. opacity: 0.85;
  31. .collapseDesc {
  32. margin-top: 2px;
  33. margin-left: 8px;
  34. color: #666;
  35. font-size: 12px;
  36. opacity: 0.85;
  37. }
  38. }
  39. }
  40. }
  41. ::-webkit-scrollbar {
  42. width: 12px;
  43. }
  44. /* 滚动槽 */
  45. ::-webkit-scrollbar-track {
  46. background: #f2f2f2;
  47. border-radius: 8px;
  48. }
  49. /* 滚动条滑块 */
  50. ::-webkit-scrollbar-thumb {
  51. background: #cecece;
  52. border-radius: 8px;
  53. }
  54. }
  55. }
  56. .init-home-role {
  57. // text-align: center;
  58. .init-home-role-content {
  59. display: flex;
  60. gap: 24px;
  61. .role-item {
  62. position: relative;
  63. display: flex;
  64. flex-direction: column;
  65. justify-content: space-between;
  66. margin-bottom: 30px;
  67. padding: 24px;
  68. background-repeat: no-repeat;
  69. background-position: center;
  70. background-size: 370px;
  71. border: 1px solid rgba(245, 245, 245, 1);
  72. .role-item-title {
  73. display: flex;
  74. > div {
  75. flex: 1 1 auto;
  76. // padding-left: 65px;
  77. font-weight: bold;
  78. font-size: 16px;
  79. }
  80. }
  81. .role-item-content {
  82. width: 250px;
  83. height: 260px;
  84. margin-top: 24px;
  85. }
  86. &.role-image-1 {
  87. background-image: url('/images/init-home/role1.png');
  88. }
  89. &.role-image-2 {
  90. background-image: url('/images/init-home/role2.png');
  91. }
  92. &.role-image-3 {
  93. background-image: url('/images/init-home/role3.png');
  94. }
  95. .role-item-footer {
  96. position: absolute;
  97. bottom: -30px;
  98. left: 0;
  99. width: 100%;
  100. color: #999;
  101. font-size: 12px;
  102. text-align: center;
  103. }
  104. &.active {
  105. background-color: #f5f5f5;
  106. }
  107. }
  108. }
  109. }