[update] 修改bug80690

This commit is contained in:
lideqin
2024-01-15 16:24:47 +08:00
parent 1972643cc0
commit 7412618f54
8 changed files with 98 additions and 3 deletions
+13 -1
View File
@@ -1,7 +1,7 @@
<template>
<div>
<van-field
:class="(required ? 'required ' : '') + 'form-item label-weight'"
:class="(required ? 'required ' : '') + 'form-item label-weight ' + (readonly ? 'field-readonly' : 'not-field-readonly')"
type="textarea"
:label="label"
clearable
@@ -270,4 +270,16 @@ export default {
width: 100%;
flex: 1;
}
.not-field-readonly {
/deep/ .van-field__control{
color: #1D2129 !important;
}
}
.field-readonly {
/deep/ .van-field__control{
color: #969799 !important;
}
}
</style>