page{ background-color: #f6f6f6; } .main{ width: 100%; height: 100vh; overflow-x: auto; .footer{ position: fixed; left: 0; right: 0; bottom: 0; z-index: 160; background: #FFFFFF; font-size: 30rpx; padding-bottom: env(safe-area-inset-bottom); display: flex; justify-content: space-between; align-items: center; padding-top: 20rpx; padding-left: 20rpx; padding-right: 20rpx; border-top: 1rpx solid #efefef; .footer_input{ width: 72%; height: 68rpx; background: #F7F7F7; border-radius: 43rpx; font-size: 28rpx; padding-left: 20rpx; padding-right: 20rpx; } .footer_btn{ width: 20%; height: 64rpx; background: #FF0000; border-radius: 33rpx; display: flex; align-items: center; justify-content: center; font-size: 26rpx; color: #FFFFFF; } } }