index.wxss 2.3 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. font-size: 28rpx;
  51. }
  52. .top3 {
  53. display: flex;
  54. margin-top: 20rpx;
  55. }
  56. .top3-box {
  57. background-color: #e5f6ff;
  58. width: 220rpx;
  59. height: 224rpx;
  60. border-radius: 10rpx;
  61. text-align: center;
  62. }
  63. .top3-box:nth-child(2) {
  64. margin-left: 20rpx;
  65. }
  66. .top3-box:nth-child(3) {
  67. margin-left: 20rpx;
  68. }
  69. .top3-title {
  70. color: #9eb7c9;
  71. font-size: 28rpx;
  72. font-family: SourceHanSansCN;
  73. font-weight: 600;
  74. margin-top: 5rpx;
  75. }
  76. .top3-num {
  77. font-size: 38rpx;
  78. font-family: SourceHanSansCN;
  79. font-weight: 700;
  80. color: #003e75;
  81. margin-top: 10rpx;
  82. }
  83. .top4 {
  84. display: flex;
  85. margin-top: 20rpx;
  86. }
  87. .top4-box {
  88. display: flex;
  89. width: 330rpx;
  90. height: 150rpx;
  91. background: rgba(255, 255, 255, 1);
  92. box-shadow: 0px 0px 10px 0px rgba(153, 153, 153, 0.15);
  93. border-radius: 10rpx;
  94. align-items: center;
  95. justify-content: space-around;
  96. }
  97. .top4-box:nth-child(2) {
  98. margin-left: 25rpx;
  99. }
  100. .top4-box:nth-child(4) {
  101. margin-left: 25rpx;
  102. }
  103. .top4-title {
  104. color: #333333;
  105. font-family: SourceHanSansCN;
  106. font-weight: 600;
  107. font-size: 30rpx;
  108. }
  109. .top4-smalltitle {
  110. font-family: SourceHanSansCN;
  111. font-weight: 400;
  112. font-size: 26rpx;
  113. color: #999999;
  114. margin-top: 10rpx;
  115. }
  116. .top4-box1 {
  117. margin-right: 20rpx;
  118. }
  119. .swiper_container {
  120. height: 50rpx;
  121. width: 80vw;
  122. margin-left: 20rpx;
  123. line-height: 50rpx;
  124. background: #dbe9f6;
  125. color: #2087f7;
  126. border-radius: 6rpx;
  127. padding-left: 20rpx;
  128. box-sizing: border-box;
  129. }
  130. .swiper_item {
  131. font-size: 25rpx;
  132. font-weight: 900;
  133. overflow: hidden;
  134. text-overflow: ellipsis;
  135. white-space: nowrap;
  136. letter-spacing: 2px;
  137. }