123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- .p-prods{
- width: 12.00rem;
- margin: 0.25rem auto;
- color:#464646;
- flex:1;
- flex-wrap: wrap;
- }
- .p-prods .prod-item{
- margin-right: 0.14rem;
- margin-bottom: 0.25rem;
- width: 2.88rem;
- border: 1px solid #10848F;
- overflow: hidden;
- padding-bottom: 15px;
- cursor: pointer;
- transition: 0.5s transform;
- }
- .p-prods .prod-item:hover{
- transform: scale(1.04);
- }
- .p-prods .prod-item:nth-child(4n){
- margin-right: 0;
- }
- .p-prods .prod-item .img{
- width: 2.90rem;
- height: 2.22rem;
- object-fit: cover;
- }
- .p-prods .prod-item .name{
- padding: 0 0.20rem;
- margin-top: 0.10rem;
- height: 0.36rem;
- width: 100%;
- line-height: 0.36rem;
- font-size: 0.20rem;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- .p-prods .prod-item .price-wrap{
- color:#FF0000;
- padding: 0 0.20rem;
- margin-top: 0.07rem;
- }
- .p-prods .prod-item .price-wrap .val{
- padding-left: 0.16rem;
- font-size: 0.26rem;
- position: relative;
- }
- .p-prods .prod-item .price-wrap .val::before{
- content: "¥";
- position: absolute;
- left: 0;
- bottom: 4px;
- font-size: 0.16rem;
- }
|