.tab-bar { position: fixed; bottom: 50rpx; left: 50%; width: 600rpx; height: 100rpx; border-radius: 50rpx; transform: translateX(-50%); background: #ffffff; z-index: 9999; } .tab-item { width: 25%; height: 100%; line-height: 100rpx; text-align: center; display: inline-block; font-size: 24rpx; } .tab-item.active { color: #FFC107; } .icon { width: 24px; height: 24px; margin-top: 6px; }