.foot-fixed { position: fixed; bottom: -1px; left: 0; right: 0; z-index: 999; width: 100%; background: #ffffff; border-top: 1px solid #E8E8E8; box-shadow: 0 0 3px rgba(0,0,0,0.1); } .foot-fixed .foot-item { padding: 0; } .foot-fixed .foot-item { position: relative; } .foot-fixed .foot-item { width: 20%; float: left; text-align: center; color: #777; padding: 5px 0 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; } a { color: #666; text-decoration: none; } a { background: transparent; } .foot-fixed .foot-item .foot-icon-box{ display: flex; align-items: center; justify-content: center; width: 66rpx; height: 66rpx; } .foot-fixed .foot-item .foot-icon { width: 47rpx; margin: 0 auto; } .foot-fixed .foot-item .foot-icon2 { width: 66rpx; height: 66rpx; margin: 0 auto; } .foot-fixed .foot-item .foot-label { margin: 5px 0; } .foot-fixed .foot-item .foot-label { height: 15px; line-height: 15px; font-size: 12px; } .foot-fixed .foot-item span { display: block; width: 100%; text-align: center; } /* 自定义导航栏 */ .nav-box { box-sizing: border-box; width: 100%; /* position: relative; */ /* position: fixed; */ z-index: 2; } .nav-box .nav-bar { display: flex; align-items: center; } .nav-box .nav-bar .nav-bar-left, .nav-box .nav-bar .nav-bar-right { padding: 0 20rpx; min-width: 36rpx; } .nav-box .nav-bar .nav-bar-left van-icon { vertical-align: sub; color: #333333; } .nav-box .nav-bar .nav-bar-title { flex: 1; text-align: center; font-size: 32rpx; letter-spacing: 2rpx; color: #333333; } .nav-box .nav-bar-title { color: red; }