fix(fe): 修切换条头像撑大 chip;我的页菜单只留设置
- pet-switch 头像 flex:none 锁死 52rpx,真机上图片固有尺寸不再撑大 chip - 我的毛孩子去掉「+添加」(首页切换条可加) - 菜单区只留「设置」,档案/计划/多宠都从首页和宠物卡进 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,5 +3,7 @@
|
||||
}
|
||||
.pet-switch .pet-chip{margin-right:20rpx}
|
||||
.pet-switch .pet-chip:last-child{margin-right:0}
|
||||
.mini-avatar{overflow:hidden}
|
||||
.mini-avatar-img{width:100%;height:100%;display:block}
|
||||
/* 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}
|
||||
|
||||
Reference in New Issue
Block a user