home.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /* pages/home/home.less */
  2. .banner {
  3. height: 210px;
  4. .swiper-item, image {
  5. width: 100%;
  6. }
  7. }
  8. .statistics {
  9. display: flex;
  10. flex-direction: row;
  11. justify-content: space-between;
  12. margin: 10px;
  13. background-color: #f0f0f0;
  14. padding: 15px;
  15. border-radius: 5px;
  16. box-shadow: 5px 5px 5px #aaa;
  17. .statistics-item {
  18. display: grid;
  19. justify-content: center;
  20. text-align: center;
  21. }
  22. text {
  23. margin-top: 5px;
  24. font-size: 26rpx;
  25. color: #fff;
  26. }
  27. }
  28. .menus {
  29. display: flex;
  30. flex-direction: row;
  31. margin: 15px 7.5px 10px;
  32. align-items: center;
  33. .menu-item {
  34. display: grid;
  35. justify-content: space-around;
  36. width: 100%;
  37. }
  38. .menus-item1 {
  39. display: grid;
  40. justify-content: center;
  41. font-size: 26rpx;
  42. text-align: center;
  43. text {
  44. margin-bottom: 10px;
  45. color: #666;
  46. }
  47. image {
  48. border-radius: 5px;
  49. width: 60px;
  50. height:60px;
  51. }
  52. }
  53. .menus-item2 {
  54. margin-top: 15px;
  55. background-color: lightcoral;
  56. text-align: center;
  57. align-content: center;
  58. display: grid;
  59. font-size: 26rpx;
  60. height: 30px;
  61. width: 90px;
  62. border-radius: 10px;
  63. color: #fff;
  64. }
  65. }
  66. .search-view {
  67. display: flex;
  68. justify-content: space-around;
  69. align-items: center;
  70. align-content: center;
  71. van-search {
  72. width: 100%;
  73. }
  74. }
  75. .news-lists {
  76. display: grid;
  77. padding: 10px;
  78. align-items: center;
  79. align-content: center;
  80. .title {
  81. font-size: 20px;
  82. color: rebeccapurple;
  83. margin: 5px 0px;
  84. }
  85. }
  86. .dayRate, .calculator {
  87. width: 23px;
  88. text-align: center;
  89. display: flex;
  90. align-items: center;
  91. font-size: 12px;
  92. margin: 3px;
  93. color: #fff;
  94. border-radius: 5px;
  95. position: fixed;
  96. z-index: 1;
  97. box-shadow: 3px 3px 3px #aaa;
  98. bottom: 12%;
  99. height: 90px;
  100. }
  101. .dayRate {
  102. left: 5px;
  103. background-color: lightcoral;
  104. }
  105. .calculator {
  106. right: 5px;
  107. background-color: hotpink;
  108. }