index.less 945 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /* pages/home/index.less */
  2. .banner-bg {
  3. display: flex;
  4. flex-direction: column;
  5. align-content: center;
  6. align-items: center;
  7. &__top {
  8. display: flex;
  9. flex-direction: row;
  10. align-items: center;
  11. justify-content: space-between;
  12. padding: 5px;
  13. align-content: center;
  14. width: 95%;
  15. }
  16. .banner {
  17. height: 210px;
  18. width: 95%;
  19. .swiper-item, image {
  20. width: 100%;
  21. }
  22. }
  23. }
  24. .statistics {
  25. display: flex;
  26. flex-direction: row;
  27. justify-content: space-between;
  28. margin: 10px;
  29. padding: 15px;
  30. .statistics-item {
  31. display: flex;
  32. flex-direction: column;
  33. justify-content: center;
  34. width: 100%;
  35. text:nth-child(1) {
  36. color: #333;
  37. font-size: 30rpx;
  38. font-weight: bold;
  39. text-align: center;
  40. padding-right: 10px;
  41. }
  42. text:nth-child(2) {
  43. color: #333;
  44. font-size: 24rpx;
  45. text-align: center;
  46. padding-right: 10px;
  47. }
  48. }
  49. }