diff --git a/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue b/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue index 85ee12d89e..d4fb1ad450 100644 --- a/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue +++ b/core/core-frontend/src/views/template-market/component/MarketPreviewV2.vue @@ -135,7 +135,7 @@ - + @@ -612,6 +612,13 @@ onMounted(() => { width: 100%; height: calc(100% - 76px) !important; } + +.img-main img { + width: 100%; + height: 100%; + object-fit: contain; /* 保持图片比例,不裁剪 */ +} + .open-button { cursor: pointer; font-size: 30px;