| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- /* 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: 15px;
- border-radius: 15px;
- 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: #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: 100%;
- }
- }
- .news-lists {
- display: grid;
- padding: 10px;
- align-items: center;
- align-content: center;
- .title {
- font-size: 20px;
- color: rebeccapurple;
- margin: 5px 0px;
- }
- }
- .goldprice, .exchangerate, .calculator {
- width: 23px;
- text-align: center;
- display: flex;
- justify-content: center;
- align-items: center;
- align-content: center;
- font-size: 12px;
- margin: 3px;
- color: #fff;
- border-radius: 5px;
- position: absolute;
- box-shadow: 3px 3px 3px #aaa;
- }
- .goldprice {
- height: 60px;
- top: 42%;
- left: 5px;
- background-color: navy;
- }
- .exchangerate {
- height: 90px;
- top: 42%;
- right: 5px;
- background-color: lightcoral;
- }
- .calculator {
- height: 90px;
- bottom: 120px;
- right: 5px;
- background-color: hotpink;
- }
|