index.wxss 2.8 KB

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