Commit 552a1ff5 by yuzhenWang

调适配3

parent 25939616
......@@ -750,12 +750,12 @@
.productList {
.productListBox {
justify-content: flex-start;
gap: 200rpx;
gap: 40rpx;
/* 添加以下两行确保换行和均匀分布 */
display: flex;
flex-wrap: wrap;
.productListItem {
width: calc((100% - 400rpx) / 3); /* 40rpx = 20rpx * 2(左右间隙) */
width: calc((100% - 80rpx) / 3); /* 40rpx = 20rpx * 2(左右间隙) */
.top{
.productDesBox{
padding: 10rpx 20rpx 20rpx 20rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment