.search-bar { position: relative; color: #909090; } .search-bar input { font-size: 30rpx; color: #131D34; padding: 0 20rpx 0 66rpx; border: 2rpx solid #e5e5e5; border-radius: 8rpx; height: 80rpx; line-height: 80rpx; } .icon { position: absolute; left: 28rpx; top: 50%; transform: translateY(-50%); }