<!--components/input/index.wxml-->

<input wx:if="{{type !== 'textarea'}}" type="{{type}}" maxlength="{{maxLength}}" value="{{value}}" placeholder="{{placeholder}}" bindinput="getValue" disabled="{{disabled || isAudit}}" style="color: #646566" placeholder-style="color: #C8C9CC" />

<textarea style="width: 100%;" wx:if="{{type === 'textarea'}}" value="{{value}}" placeholder="{{placeholder}}" auto-height="{{true}}" bindinput="getValue" disabled="{{disabled}}" />