Files
陈誉午 994b267f5c feat: 电子药箱小程序 - 4Tab药品管理
- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡
- 药品百科: 搜索 + 分类筛选 + 20种药品静态数据
- 惠教中心: 4条药品使用指南课程
- 我的: 家庭成员信息管理
- 自定义TabBar + navigation-bar组件
- SVG药品分类插图
2026-07-29 11:20:52 +08:00

44 lines
765 B
SCSS

.tab-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: space-around;
align-items: center;
height: 100rpx;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background: #ffffff;
border-top: 1rpx solid #e8e8e8;
z-index: 999;
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
}
.tab-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex: 1;
height: 100%;
padding: 8rpx 0;
box-sizing: border-box;
}
.tab-icon {
font-size: 40rpx;
margin-bottom: 4rpx;
line-height: 1;
}
.tab-text {
font-size: 20rpx;
color: #999999;
transition: color 0.2s;
}
.tab-item.active .tab-text {
color: #07C160;
}