修改界面中,临时提交
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/* 自定义 tabBar 脱离文档流,fixed 在底部;
|
||||
各 tab 页需自备底部占位(见 home / aichat / mine 的底部留白),否则内容会被盖住 */
|
||||
.tab-bar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
padding: 12rpx 0 calc(12rpx + env(safe-area-inset-bottom));
|
||||
background: #FFFFFF;
|
||||
border-top: 2rpx solid #F0E9E0;
|
||||
}
|
||||
|
||||
.tab-item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.tab-text {
|
||||
margin-top: 6rpx;
|
||||
/* 与全局约束一致:中文正文不小于 24rpx(12px) */
|
||||
font-size: 24rpx;
|
||||
line-height: 1;
|
||||
color: #7A7068;
|
||||
}
|
||||
|
||||
.tab-item.is-active .tab-text {
|
||||
color: #C2410C;
|
||||
font-weight: 600;
|
||||
}
|
||||
Reference in New Issue
Block a user