fix(mini-user): 门店套餐图片自适应完整显示,不再裁剪
CI / verify (push) Has been cancelled

- ProductCarousel 新增 imageFit="adaptive"(widthFix + 动态高度)
- 门店套餐详情按图片真实比例自适应高度,完整显示不裁剪
- 补充 v3.4.18 文档 F 项

Co-Authored-By: WorkBuddy <workbuddy@tencent.com>
This commit is contained in:
2026-08-17 21:48:06 +08:00
parent f7c94b4f16
commit 18147e157f
4 changed files with 86 additions and 5 deletions
@@ -18,6 +18,21 @@
overflow: hidden;
}
/* adaptive 模式:去掉固定 1:1 比例,按图片真实比例自适应高度,完整显示不裁剪 */
.detail-carousel-wrap--adaptive {
aspect-ratio: auto;
overflow: visible;
}
.detail-carousel-wrap--adaptive .detail-carousel {
height: auto;
transition: height 0.2s ease;
}
.detail-carousel-wrap--adaptive .detail-carousel-image {
height: auto;
}
.detail-carousel {
width: 100%;
height: 100%;