/* pages/hotProduct/hotProduct.wxss */ .hotProduct{ padding:0 20rpx; height: 100vh; z-index: 999; } .menuList{ padding: 10rpx 0; display: flex; align-items: center; } .menu_item{ margin-right: 15rpx; font-weight: bold; font-size: 35rpx !important; } .iconfont{ font-weight: normal; font-size: 35rpx !important; } .green{ color: #3c8e1f; } .yellow{ color: #fccb42; } .red{ color: #ff0000; } .main{ flex: 1; overflow-y: hidden; height: calc(100vh - 220rpx); box-sizing: border-box; }