[update] 修改bug80690
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user