/* pages/exchange/exchange.wxss */ .section{ display: flex; padding: 0 20rpx; flex: 5; } .section input{ flex: 4; border: 1px solid #ccc; border-radius: 10rpx; height: 70rpx; line-height: 70rpx; font-size: 30rpx; padding-left: 20rpx; margin-right: 10rpx; } .section button{ flex: 1; height: 74rpx; line-height: 74rpx; font-size: 30rpx; }