index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. .home {
  2. width: 92%;
  3. margin: 0 auto;
  4. }
  5. .home .top {
  6. height: 300rpx;
  7. }
  8. .home .top swiper-item {
  9. width: 100%;
  10. height: 300rpx;
  11. border-radius: 20rpx;
  12. }
  13. .home .top image {
  14. width: 100%;
  15. height: 300rpx;
  16. border-radius: 20rpx;
  17. }
  18. .home .top swiper {
  19. height: 300rpx;
  20. }
  21. .flex-box {
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. margin-top: 30rpx;
  26. }
  27. .bck {
  28. background: #dbe9f6;
  29. border-radius: 6px;
  30. color: #3994f7;
  31. margin-left: 20rpx;
  32. padding: 10rpx 20rpx;
  33. width: 90%;
  34. }
  35. .shu-top2 {
  36. margin-top: 20rpx;
  37. display: flex;
  38. align-items: center;
  39. }
  40. .shu {
  41. height: 36rpx;
  42. width: 8rpx;
  43. background: rgba(31, 135, 247, 1);
  44. border-radius: 4px;
  45. }
  46. .top2 {
  47. font-family: SourceHanSansCN;
  48. font-weight: bold;
  49. margin-left: 20rpx;
  50. }
  51. .top3 {
  52. display: flex;
  53. margin-top: 20rpx;
  54. }
  55. .top3-box {
  56. background-color: #e5f6ff;
  57. width: 220rpx;
  58. height: 224rpx;
  59. border-radius: 10rpx;
  60. text-align: center;
  61. }
  62. .top3-box:nth-child(2) {
  63. margin-left: 20rpx;
  64. }
  65. .top3-box:nth-child(3) {
  66. margin-left: 20rpx;
  67. }
  68. .top3-title {
  69. color: #9eb7c9;
  70. font-size: 30rpx;
  71. font-family: SourceHanSansCN;
  72. font-weight: 500;
  73. margin-top: 5rpx;
  74. }
  75. top3-num {
  76. font-size: 36rpx;
  77. font-family: SourceHanSansCN;
  78. font-weight: 500;
  79. color: #9DB7C9;
  80. margin-top: 20rpx;
  81. }
  82. .top4 {
  83. display: flex;
  84. margin-top: 20rpx;
  85. }
  86. .top4-box {
  87. display: flex;
  88. width: 330rpx;
  89. height: 150rpx;
  90. background: rgba(255, 255, 255, 1);
  91. box-shadow: 0px 0px 10px 0px rgba(153, 153, 153, 0.15);
  92. border-radius: 10rpx;
  93. align-items: center;
  94. justify-content: space-around;
  95. }
  96. .top4-box:nth-child(2) {
  97. margin-left: 25rpx;
  98. }
  99. .top4-box:nth-child(4) {
  100. margin-left: 25rpx;
  101. }
  102. .top4-title {
  103. color: #333333;
  104. font-family: SourceHanSansCN;
  105. font-weight: 400;
  106. font-size: 30rpx;
  107. }
  108. .top4-smalltitle {
  109. font-family: SourceHanSansCN;
  110. font-weight: 400;
  111. font-size: 26rpx;
  112. color: #999999;
  113. }
  114. .top4-box1 {
  115. margin-right: 20rpx;
  116. }
  117. .swiper_container {
  118. height: 50rpx;
  119. width: 80vw;
  120. margin-left: 20rpx;
  121. line-height: 50rpx;
  122. background: #dbe9f6;
  123. color: #2087f7;
  124. border-radius: 6rpx;
  125. padding-left: 20rpx;
  126. box-sizing: border-box;
  127. }
  128. .swiper_item {
  129. font-size: 30rpx;
  130. overflow: hidden;
  131. text-overflow: ellipsis;
  132. white-space: nowrap;
  133. letter-spacing: 2px;
  134. }