.form-box{ width: 100%; height: auto; overflow: hidden; padding: 0 40rpx; margin-top: 96rpx; background: #fff; } .form-item{ position: relative; background: #fff; height: 96rpx; border-bottom: 1px solid #d9d9d9; } .form-item .username, .form-item .code{ position: absolute; top: 26rpx; left: 0; display: block; width: 100%; height: 44rpx; background: #fff; color: #333; font-size: 30rpx; } .form-item-code{ margin-top:32rpx; height: auto; overflow: hidden; width: 100%; } .form-item-code .form-item{ float: left; width: 350rpx; } .form-item-code .code-img{ float: right; margin-top: 4rpx; height: 88rpx; width: 236rpx; } .form-item .clear{ position: absolute; top: 26rpx; right: 18rpx; z-index: 2; display: block; background: #fff; height: 44rpx; width: 44rpx; } .login-btn{ margin: 60rpx 0 40rpx 0; height: 96rpx; line-height: 96rpx; color: #fff; font-size: 30rpx; width: 100%; background: #b4282d; border-radius: 6rpx; }