diff --git a/packages/vant/src/field/index.less b/packages/vant/src/field/index.less index 8d6aeeb39..dd9404ceb 100644 --- a/packages/vant/src/field/index.less +++ b/packages/vant/src/field/index.less @@ -92,6 +92,10 @@ color: var(--van-field-placeholder-text-color); } + &:read-only { + cursor: default; + } + &:disabled { color: var(--van-field-input-disabled-text-color); cursor: not-allowed; @@ -100,10 +104,6 @@ -webkit-text-fill-color: var(--van-field-input-disabled-text-color); } - &:read-only { - cursor: default; - } - &--center { justify-content: center; text-align: center;