Commit 9eba26feaa85c1093914f2457af6cc620464eaa3
1 parent
021bbec2
update Select Icons
Showing
5 changed files
with
7 additions
and
8 deletions
Show diff stats
src/components/select/select-head.vue
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <div @click="onHeaderClick"> |
3 | 3 | <div class="ivu-tag ivu-tag-checked" v-for="item in selectedMultiple"> |
4 | 4 | <span class="ivu-tag-text">{{ item.label }}</span> |
5 | - <Icon type="ios-close-empty" @click.native.stop="removeTag(item)"></Icon> | |
5 | + <Icon type="ios-close" @click.native.stop="removeTag(item)"></Icon> | |
6 | 6 | </div> |
7 | 7 | <span |
8 | 8 | :class="singleDisplayClasses" |
... | ... | @@ -25,8 +25,8 @@ |
25 | 25 | @blur="onInputFocus" |
26 | 26 | |
27 | 27 | ref="input"> |
28 | - <Icon type="ios-close" :class="[prefixCls + '-arrow']" v-if="resetSelect" @click.native.stop="onClear"></Icon> | |
29 | - <Icon type="arrow-down-b" :class="[prefixCls + '-arrow']" v-if="!resetSelect && !remote && !disabled"></Icon> | |
28 | + <Icon type="ios-close-circle" :class="[prefixCls + '-arrow']" v-if="resetSelect" @click.native.stop="onClear"></Icon> | |
29 | + <Icon type="ios-arrow-down" :class="[prefixCls + '-arrow']" v-if="!resetSelect && !remote && !disabled"></Icon> | |
30 | 30 | </div> |
31 | 31 | </template> |
32 | 32 | <script> | ... | ... |
src/components/select/select.vue
... | ... | @@ -71,7 +71,6 @@ |
71 | 71 | </div> |
72 | 72 | </template> |
73 | 73 | <script> |
74 | - import Icon from '../icon'; | |
75 | 74 | import Drop from './dropdown.vue'; |
76 | 75 | import {directive as clickOutside} from 'v-click-outside-x'; |
77 | 76 | import TransferDom from '../../directives/transfer-dom'; |
... | ... | @@ -141,7 +140,7 @@ |
141 | 140 | export default { |
142 | 141 | name: 'iSelect', |
143 | 142 | mixins: [ Emitter, Locale ], |
144 | - components: { FunctionalOptions, Drop, Icon, SelectHead }, | |
143 | + components: { FunctionalOptions, Drop, SelectHead }, | |
145 | 144 | directives: { clickOutside, TransferDom }, |
146 | 145 | props: { |
147 | 146 | value: { | ... | ... |
src/styles/components/select.less
src/styles/components/tag.less
src/styles/mixins/content.less