|
|
@@ -539,21 +539,24 @@ export default {
|
|
|
.form-input {
|
|
|
.input-field {
|
|
|
width: 100%;
|
|
|
- padding: 20rpx 24rpx;
|
|
|
+ height: 80rpx; // 增加输入框高度
|
|
|
+ padding: 0rpx 24rpx; // 调整内边距,依靠高度来控制
|
|
|
border: 1rpx solid #e0e0e0;
|
|
|
border-radius: 8rpx;
|
|
|
font-size: 28rpx;
|
|
|
color: #333;
|
|
|
background: #fff;
|
|
|
box-sizing: border-box;
|
|
|
+ line-height: 80rpx; // 设置行高等于高度,实现垂直居中
|
|
|
|
|
|
&:focus {
|
|
|
- border-color: #007AFF;
|
|
|
+ border-color: #52c41a; // 改为绿色系
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
&::placeholder {
|
|
|
color: #999;
|
|
|
+ line-height: 80rpx; // placeholder也垂直居中
|
|
|
}
|
|
|
}
|
|
|
}
|