File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 13
13
</view>
14
14
<!-- 小程序表单组件 -->
15
15
<input
16
+ wx:if="{{type !== 'password'}}"
16
17
class="input {{hideLabel?'hideLabel':''}} l-input-class"
17
18
value="{{ value }}"
18
19
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}}"
20
35
placeholder="{{placeholder}}"
21
36
maxlength="{{maxlength}}"
22
37
placeholder-class="pls-class"
You can’t perform that action at this time.
0 commit comments