File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 <slot name="left"/>
1111 </view>
1212
13- <input class="input {{hideLabel?'hideLabel':''}} l-input-class" value="{{ value }}" type="{{type}}" password="{{type==='password'}}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" placeholder-class="pls-class" placeholder-style="{{placeholderStyle}}" disabled="{{disabled}}" focus="{{focus}}" bindinput="handleInputChange" bindfocus="handleInputFocus" bindblur="handleInputBlur" bindconfirm="handleInputConfirm"/>
13+ <input wx:if="{{type !== 'password'}}" class="input {{hideLabel?'hideLabel':''}} l-input-class" value="{{ value }}" type="{{type}}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" placeholder-class="pls-class" placeholder-style="{{placeholderStyle}}" disabled="{{disabled}}" focus="{{focus}}" bindinput="handleInputChange" bindfocus="handleInputFocus" bindblur="handleInputBlur" bindconfirm="handleInputConfirm"/>
14+ <input wx:else class="input {{hideLabel?'hideLabel':''}} l-input-class" value="{{ value }}" password="{{true}}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" placeholder-class="pls-class" placeholder-style="{{placeholderStyle}}" disabled="{{disabled}}" focus="{{focus}}" bindinput="handleInputChange" bindfocus="handleInputFocus" bindblur="handleInputBlur" bindconfirm="handleInputConfirm"/>
1415 <l-icon wx:if="{{showEye&&value}}" name="eye" catch:tap="onTapEyeIcon" size="40" l-class="l-eye l-eye-{{type}}"/>
1516 <view class="close" wx:if="{{clear&&value}}" mut-bind:tap="onClearTap">
1617 <view class="close-icon">
Original file line number Diff line number Diff line change 1313 </view>
1414 <!-- 小程序表单组件 -->
1515 <input
16+ wx:if="{{type !== 'password'}}"
1617 class="input {{hideLabel?'hideLabel':''}} l-input-class"
1718 value="{{ value }}"
1819 type="{{type}}"
19- password="{{type==='password'}}"
20+ placeholder="{{placeholder}}"
21+ maxlength="{{maxlength}}"
22+ placeholder-class="pls-class"
23+ placeholder-style="{{placeholderStyle}}"
24+ disabled="{{disabled}}"
25+ focus="{{focus}}"
26+ bindinput="handleInputChange"
27+ bindfocus="handleInputFocus"
28+ bindblur="handleInputBlur"
29+ bindconfirm="handleInputConfirm" />
30+ <input
31+ wx:else
32+ class="input {{hideLabel?'hideLabel':''}} l-input-class"
33+ value="{{ value }}"
34+ password="{{true}}"
2035 placeholder="{{placeholder}}"
2136 maxlength="{{maxlength}}"
2237 placeholder-class="pls-class"
You can’t perform that action at this time.
0 commit comments