mirror of
https://github.com/PlayEdu/h5.git
synced 2025-07-24 00:49:44 +08:00
底部导航栏优化
This commit is contained in:
parent
c603b2c385
commit
66cc637ca4
@ -15,12 +15,12 @@ export const TabBarFooter: React.FC = () => {
|
||||
icon: (active: boolean) =>
|
||||
active ? (
|
||||
<i
|
||||
style={{ fontSize: 30, color: "#FF4D4F" }}
|
||||
style={{ fontSize: 28, color: "#FF4D4F" }}
|
||||
className="iconfont icon-icon-shouye"
|
||||
></i>
|
||||
) : (
|
||||
<i
|
||||
style={{ fontSize: 30, color: "#cccccc" }}
|
||||
style={{ fontSize: 28, color: "#cccccc" }}
|
||||
className="iconfont icon-icon-shouye"
|
||||
></i>
|
||||
),
|
||||
@ -31,12 +31,12 @@ export const TabBarFooter: React.FC = () => {
|
||||
icon: (active: boolean) =>
|
||||
active ? (
|
||||
<i
|
||||
style={{ fontSize: 30, color: "#FF4D4F" }}
|
||||
style={{ fontSize: 28, color: "#FF4D4F" }}
|
||||
className="iconfont icon-icon-xuexi"
|
||||
></i>
|
||||
) : (
|
||||
<i
|
||||
style={{ fontSize: 30, color: "#cccccc" }}
|
||||
style={{ fontSize: 28, color: "#cccccc" }}
|
||||
className="iconfont icon-icon-xuexi"
|
||||
></i>
|
||||
),
|
||||
@ -47,12 +47,12 @@ export const TabBarFooter: React.FC = () => {
|
||||
icon: (active: boolean) =>
|
||||
active ? (
|
||||
<i
|
||||
style={{ fontSize: 30, color: "#FF4D4F" }}
|
||||
style={{ fontSize: 28, color: "#FF4D4F" }}
|
||||
className="iconfont icon-icon-wode"
|
||||
></i>
|
||||
) : (
|
||||
<i
|
||||
style={{ fontSize: 30, color: "#cccccc" }}
|
||||
style={{ fontSize: 28, color: "#cccccc" }}
|
||||
className="iconfont icon-icon-wode"
|
||||
></i>
|
||||
),
|
||||
|
@ -62,8 +62,7 @@ code {
|
||||
.adm-tab-bar-item-title {
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
line-height: 11px;
|
||||
margin-top: 4px;
|
||||
margin-top: 0px !important;
|
||||
color: rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
@ -134,3 +133,7 @@ code {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.adm-tab-bar-item-icon {
|
||||
height: 28px !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user