Commit 1f16eeb1 by yuzhenWang

调适配3

parent 552a1ff5
...@@ -288,15 +288,15 @@ ...@@ -288,15 +288,15 @@
.productList { .productList {
.productListBox { .productListBox {
justify-content: flex-start; justify-content: flex-start;
gap: 200rpx; gap: 40rpx;
/* 添加以下两行确保换行和均匀分布 */ /* 添加以下两行确保换行和均匀分布 */
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
.productListItem { .productListItem {
width: calc((100% - 400rpx) / 3); /* 40rpx = 20rpx * 2(左右间隙) */ width: calc((100% - 80rpx) / 3); /* 40rpx = 20rpx * 2(左右间隙) */
.top{ .top{
.productDesBox{ .productDesBox{
padding: 10rpx 20rpx 20rpx 20rpx;
border-radius: 0 0 40rpx 40rpx; border-radius: 0 0 40rpx 40rpx;
} }
} }
......
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