Skip to content

Commit 99448bd

Browse files
committed
build: Travis CI automatic compilation
1 parent b874df4 commit 99448bd

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

dist/input/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/input/index.wxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<slot name="left"/>
1111
</view>
1212

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"/>
13+
<input wx:if="{{type !== 'password'}}" adjust-position="{{adjustPosition}}" 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 adjust-position="{{adjustPosition}}" 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"/>
1515
<l-icon wx:if="{{showEye&&value}}" name="eye" catch:tap="onTapEyeIcon" size="40" l-class="l-eye l-eye-{{type}}"/>
1616
<view class="close" wx:if="{{clear&&value}}" mut-bind:tap="onClearTap">
1717
<view class="close-icon">

examples/dist/input/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ Component({
7171
showEye: {
7272
type: Boolean,
7373
value: false
74+
},
75+
// 键盘弹起时,是否自动上推页面
76+
adjustPosition:{
77+
type: Boolean,
78+
value: true
7479
}
7580
},
7681

examples/dist/input/index.wxml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<!-- 小程序表单组件 -->
1515
<input
1616
wx:if="{{type !== 'password'}}"
17+
adjust-position="{{adjustPosition}}"
1718
class="input {{hideLabel?'hideLabel':''}} l-input-class"
1819
value="{{ value }}"
1920
type="{{type}}"
@@ -29,6 +30,7 @@
2930
bindconfirm="handleInputConfirm" />
3031
<input
3132
wx:else
33+
adjust-position="{{adjustPosition}}"
3234
class="input {{hideLabel?'hideLabel':''}} l-input-class"
3335
value="{{ value }}"
3436
password="{{true}}"

0 commit comments

Comments
 (0)