From 3ced29bb631290c419e6bb054801b1853e353238 Mon Sep 17 00:00:00 2001 From: woody Date: Mon, 28 Apr 2025 11:22:00 +0800 Subject: [PATCH] feat(area-product-list): update size style --- components/area-product-list/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/area-product-list/index.vue b/components/area-product-list/index.vue index 8d9e251..111092c 100644 --- a/components/area-product-list/index.vue +++ b/components/area-product-list/index.vue @@ -192,7 +192,8 @@ export default { } .product-image { - height: 160rpx; + width: 180rpx; + height: 180rpx; border-radius: 6rpx; } @@ -268,10 +269,13 @@ export default { } .product-image { - width: 100%; + width: 200rpx; height: 200rpx; border-radius: 8rpx; background-color: #f5f5f5; + object-fit: cover; + display: block; + margin: 0 auto; } .product-info {