From 35c3c3aed486db97b48f7c63f280b9127964e76c Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Thu, 4 Jun 2026 15:53:41 +0800 Subject: [PATCH] fix --- src/components/CommodityItem.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/CommodityItem.vue b/src/components/CommodityItem.vue index 2eb7ef8..3ccbd43 100644 --- a/src/components/CommodityItem.vue +++ b/src/components/CommodityItem.vue @@ -50,7 +50,7 @@
HK${{ props.price }}
@@ -79,6 +79,8 @@ width: 100%; cursor: pointer; height: var(--commodity-height, auto); + aspect-ratio: 0.8/1; + object-fit: cover; margin-bottom: var(--commodity-marginBottom, 1rem); } > .detail {