index.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. @charset "UTF-8";
  2. /* 需要放到文件最上面 */
  3. /* 水平间距 */
  4. /* 水平间距 */
  5. /*
  6. 以下变量是默认值,如不需要修改可以不用给下面的变量重新赋值
  7. */
  8. /* 水平间距 */
  9. .index-container {
  10. background: #fff;
  11. box-sizing: border-box;
  12. border-top: 2rpx solid #d9d9d9;
  13. min-height: 100vh;
  14. padding-bottom: 40rpx;
  15. }
  16. .index-container .project {
  17. max-width: 100%;
  18. display: inline-block;
  19. padding: 30rpx;
  20. box-sizing: border-box;
  21. }
  22. .index-container .project .project-box {
  23. box-sizing: border-box;
  24. padding: 0 30rpx;
  25. height: 80rpx;
  26. background-color: #ffffff;
  27. border-radius: 80rpx;
  28. box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.12);
  29. display: flex;
  30. align-items: center;
  31. }
  32. .index-container .project .project-box .name {
  33. margin: 0 12rpx;
  34. font-weight: 500;
  35. flex: 1;
  36. }
  37. .index-container .banner-box {
  38. padding: 0 30rpx;
  39. }
  40. .index-container .index-group {
  41. padding: 0 20rpx;
  42. }
  43. .index-container .index-group .title {
  44. font-size: 32rpx;
  45. font-weight: 700;
  46. padding: 30rpx 10rpx 20rpx 10rpx;
  47. }
  48. .index-container .index-group .group-box {
  49. display: flex;
  50. flex-wrap: wrap;
  51. align-items: flex-start;
  52. }
  53. .index-container .index-group .group-item {
  54. width: 50%;
  55. height: 400rpx;
  56. padding: 10rpx;
  57. box-sizing: border-box;
  58. }
  59. .index-container .index-group .small-box {
  60. width: 50%;
  61. height: 400rpx;
  62. box-sizing: border-box;
  63. }
  64. .index-container .index-group .small-box.small-boxs {
  65. height: 200rpx;
  66. }
  67. .index-container .index-group .small-box .small {
  68. height: 200rpx;
  69. padding: 10rpx;
  70. box-sizing: border-box;
  71. }
  72. .index-container .index-group .group-veiw {
  73. width: 100%;
  74. height: 100%;
  75. border-radius: 16rpx;
  76. position: relative;
  77. }
  78. .index-container .index-group .group-veiw .label {
  79. color: #fff;
  80. font-weight: 500;
  81. position: absolute;
  82. top: 40rpx;
  83. left: 40rpx;
  84. }
  85. .index-container .index-group .group-veiw .group-icon {
  86. position: absolute;
  87. bottom: 40rpx;
  88. right: 40rpx;
  89. }
  90. .index-container .index-group .bg1 {
  91. background-color: #88d498;
  92. }
  93. .index-container .index-group .bg2 {
  94. background-color: #7ad9ff;
  95. }
  96. .index-container .index-group .bg3 {
  97. background-color: #ffb997;
  98. }
  99. .index-container .index-group .bg4 {
  100. background-color: #f67e7d;
  101. }
  102. .index-container .index-group .bg5 {
  103. background-color: #ffaaaa;
  104. }
  105. .index-container .index-group .bg6 {
  106. background-color: #9ac0cd;
  107. }
  108. .index-container .index-group .bg7 {
  109. background-color: #d8d8ff;
  110. }
  111. .index-container .index-group .bg8 {
  112. background-color: #bfbfbf;
  113. }
  114. .index-container .index-group .bg9 {
  115. background-color: #40e0d0;
  116. }
  117. .index-container .index-group .bg10 {
  118. background-color: #f8d3da;
  119. }