index.wxml 921 B

12345678910
  1. <label class='form-item {{disabled? "disabled": ""}}'>
  2. <view class='default-border {{border? "border": ""}} l-class'>
  3. <view class="mask" wx:if="{{disabled}}"></view>
  4. <textarea class="{{autoHeight ? 'textarea-auto-height': 'textarea'}} l-inner-class" type="{{type}}" value="{{ value }}" password="{{type==='password'}}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" placeholder-class="pls-class" placeholder-style="{{placeholderStyle}}" disabled="{{disabled}}" focus="{{focus}}" auto-height="{{autoHeight}}" cursor-spacing="{{cursorSpacing}}" bindinput="handleInputChange" bindfocus="handleInputFocus" bindblur="handleInputBlur" bindconfirm="handleInputConfirm"/>
  5. <view class="indicator" wx:if="{{indicator}}">{{value.length + '/' + maxlength}}</view>
  6. </view>
  7. </label>
  8. <l-error-tip l-error-text-class="l-error-text l-error-text-class" errorText="{{errorText}}" wx:if="{{errorText}}"/>