.header { height: 176rpx; position: relative; } .header-bg{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; right: 0; } .header-item{ display: flex; align-items: center; position: absolute; bottom: 24rpx; margin: 0 40rpx; left: 0; right: 0; } .header-icon-left,.header-icon-right{ width: 14rpx; height: 48rpx; } .header-icon{ width:100%; height: 100%; flex-shrink: 0; color: #000; } .header-text{ font-family: PingFangSC, PingFang SC; font-weight: 500; font-size: 34rpx; color: #000000; line-height: 48rpx; flex: 1; text-align: center; }