Skip to content

Commit

Permalink
build: Travis CI automatic compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
juzi214032 committed Feb 23, 2021
1 parent b874df4 commit 99448bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/input/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/input/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<slot name="left"/>
</view>

<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"/>
<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"/>
<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"/>
<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"/>
<l-icon wx:if="{{showEye&&value}}" name="eye" catch:tap="onTapEyeIcon" size="40" l-class="l-eye l-eye-{{type}}"/>
<view class="close" wx:if="{{clear&&value}}" mut-bind:tap="onClearTap">
<view class="close-icon">
Expand Down
5 changes: 5 additions & 0 deletions examples/dist/input/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ Component({
showEye: {
type: Boolean,
value: false
},
// 键盘弹起时,是否自动上推页面
adjustPosition:{
type: Boolean,
value: true
}
},

Expand Down
2 changes: 2 additions & 0 deletions examples/dist/input/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<!-- 小程序表单组件 -->
<input
wx:if="{{type !== 'password'}}"
adjust-position="{{adjustPosition}}"
class="input {{hideLabel?'hideLabel':''}} l-input-class"
value="{{ value }}"
type="{{type}}"
Expand All @@ -29,6 +30,7 @@
bindconfirm="handleInputConfirm" />
<input
wx:else
adjust-position="{{adjustPosition}}"
class="input {{hideLabel?'hideLabel':''}} l-input-class"
value="{{ value }}"
password="{{true}}"
Expand Down

0 comments on commit 99448bd

Please sign in to comment.