| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- /* pages/home/home.less */
- .nav-bar {
- background-color: red;
- }
- .banner {
- height: 210px;
- .swiper-item, image {
- width: 100%;
- }
- }
- .statistics {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin: 10px;
- background-color: #f0f0f0;
- padding: 10px;
- border-radius: 10px;
- .statistics-item {
- display: grid;
- justify-content: center;
- text-align: center;
- }
- text {
- margin-top: 5px;
- font-size: 26rpx;
- color: #666;
- }
- }
- .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: #f0f0f0;
- text-align: center;
- align-content: center;
- display: grid;
- font-size: 26rpx;
- height: 30px;
- width: 90px;
- border-radius: 10px;
- color: #666;
- }
-
- .goldprice, .exchangerate {
- width: 40px;
- height: 80px;
- font-size: 14px;
- color: #444;
- text-align: center;
- }
- }
- .search-view {
- display: flex;
- align-items: center;
- align-content: center;
- van-search {
- width: 95%;
- }
- }
- .news-lists {
- display: grid;
- padding: 10px;
- align-items: center;
- align-content: center;
- .title {
- font-size: 18px;
- color: blue;
- margin: 5px 0px;
- }
- }
- .goldprice, .exchangerate, .calculator {
- width: 25px;
- background-color: #f0f0f0;
- text-align: center;
- vertical-align: middle;
- display: flex;
- justify-content: center;
- align-items: center;
- align-content: center;
- font-size: 14px;
- padding: 5px;
- color: #444;
- }
- .goldprice {
- height: 60px;
- }
- .exchangerate, .calculator {
- height: 100px;
- }
|