.warning-msg { position: absolute; top: 0; left: 0; z-index: 1; width: 100%; padding: 16rpx 30rpx; background: #fff9ed; display: flex; align-items: center; } .warning-msg-text { margin-left: 24rpx; flex: 1; font-size: 30rpx; color: #ff6010; font-weight: 400; }