/* pages/home/home.less */ .banner { height: 210px; .swiper-item, image { width: 100%; } } .statistics { display: flex; flex-direction: row; justify-content: space-between; margin: 10px; background-color: #f0f0f0; padding: 15px; border-radius: 5px; box-shadow: 5px 5px 5px #aaa; .statistics-item { display: grid; justify-content: center; text-align: center; } text { margin-top: 5px; font-size: 26rpx; color: #fff; } } .menus { display: flex; flex-direction: row; margin: 15px 7.5px 10px; align-items: center; .menu-item { display: grid; justify-content: space-around; width: 100%; } .menus-item1 { display: grid; justify-content: center; font-size: 26rpx; text-align: center; text { margin-bottom: 10px; color: #666; } image { border-radius: 5px; width: 60px; height:60px; } } .menus-item2 { margin-top: 15px; background-color: lightcoral; text-align: center; align-content: center; display: grid; font-size: 26rpx; height: 30px; width: 90px; border-radius: 10px; color: #fff; } } .search-view { display: flex; justify-content: space-around; align-items: center; align-content: center; van-search { width: 100%; } } .news-lists { display: grid; padding: 10px; align-items: center; align-content: center; .title { font-size: 20px; color: rebeccapurple; margin: 5px 0px; } } .dayRate, .calculator { width: 23px; text-align: center; display: flex; align-items: center; font-size: 12px; margin: 3px; color: #fff; border-radius: 5px; position: fixed; z-index: 1; box-shadow: 3px 3px 3px #aaa; bottom: 12%; height: 90px; } .dayRate { left: 5px; background-color: lightcoral; } .calculator { right: 5px; background-color: hotpink; }