/* banner */ .banner { width: 750rpx; height: 417rpx; } .banner image { width: 100%; height: 417rpx; } /* 首页分类 */ .m-menu { display: flex; height: 181rpx; width: 750rpx; flex-flow: row nowrap; align-items: center; justify-content: space-between; background-color: #fff; } .m-menu .item { flex: 1; display: block; padding: 20rpx 0; } .m-menu image { display: block; width: 58rpx; height: 58rpx; margin: 0 auto; margin-bottom: 12rpx; } .m-menu text { display: block; font-size: 24rpx; text-align: center; margin: 0 auto; line-height: 1; color: #333; } /* 推荐商品 */ .a-section { width: 750rpx; height: auto; overflow: hidden; background: #fff; color: #333; margin-top: 20rpx; } .a-section .h { display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; height: 130rpx; } .a-section .h .txt { padding-right: 30rpx; background-size: 16.656rpx 27rpx; display: inline-block; height: 36rpx; font-size: 33rpx; line-height: 36rpx; } .a-rec .b { width: 750rpx; height: auto; overflow: hidden; padding: 0 31rpx 45rpx 31rpx; } .a-rec .b .item { float: left; width: 302rpx; margin-top: 10rpx; margin-left: 21rpx; margin-right: 21rpx; } .a-rec .b .img { width: 302rpx; height: 302rpx; } .a-rec .b .name { text-align: center; display: block; width: 302rpx; height: 35rpx; margin-bottom: 14rpx; overflow: hidden; font-size: 30rpx; color: #333; } .a-rec .b .price { display: block; text-align: center; line-height: 30rpx; font-size: 30rpx; color: #f94b4b; }