.nav-tabs { width: 100%; height: 132rpx; padding: 0 3%; display: flex; align-items: center; justify-content: space-between; position: fixed; bottom: 0; background: #bec3c7; } .tab-list { display: flex; align-items: center; justify-content: center; flex-direction: column-reverse; } .tab-text { box-sizing: content-box; width: 68rpx; font-size: 32rpx; line-height: 40rpx; padding: 25rpx 38rpx; color: #2e80b6; } .iconPath { width:54rpx; height: 54rpx; } .default { width: 19%; color: #eee; font-size: 28rpx; } .active { background: #FFFFFF; font-weight: bold; border-top: 2rpx solid #bf3a30; } /* tabbar切换选中的文字颜色 */ /* .active text { color: #2697EB !important; } */ .show { display: block; flex: 1; } .hidden { display: none; flex: 1; }