Files
sundynix-pets/pets-fe/components/pet-switch/pet-switch.wxss
T
Blizzard e2ce56680a fix(fe): 修切换条头像撑大 chip;我的页菜单只留设置
- pet-switch 头像 flex:none 锁死 52rpx,真机上图片固有尺寸不再撑大 chip
- 我的毛孩子去掉「+添加」(首页切换条可加)
- 菜单区只留「设置」,档案/计划/多宠都从首页和宠物卡进

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 17:20:02 +08:00

10 lines
429 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.pet-switch{
display:block;white-space:nowrap;width:100%;
}
.pet-switch .pet-chip{margin-right:20rpx}
.pet-switch .pet-chip:last-child{margin-right:0}
/* flex 子项默认 min-width:auto,图片的固有尺寸(320×240)会把 chip 撑大,
真机比模拟器更明显。flex:none 锁死成 app.wxss 里定的 52rpx 见方 */
.mini-avatar{overflow:hidden;flex:none}
.mini-avatar-img{width:52rpx;height:52rpx;display:block}