Skip to content

Commit

Permalink
fix(input): 更换图标
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Aug 6, 2018
1 parent fe57ab9 commit c53594e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/input/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ class AtInput extends Taro.Component {
{
clear && value
? <View className='at-input__icon' onClick={this.clearValue.bind(this)} >
<AtIcon value='delete' color='#ccc' size='20' />
<AtIcon value='close-circle' color='#ccc' size='15' />
</View>
: null
}
{
error
? <View className='at-input__icon' onClick={this.handleClickErrIcon.bind(this)} >
<AtIcon value='warning_fill' color='#e93b3d' size='20' />
<AtIcon value='warning_fill' color='#e93b3d' size='15' />
</View>
: null
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

&__input {
flex: 1;
font-size: 24px;
font-size: 28px;
padding: 0 12px;
display: inline-block;
vertical-align: middle;
Expand Down

0 comments on commit c53594e

Please sign in to comment.