Commit e71a795e38854d4447d30364b3d361c51b90e73e
1 parent
8cb84923
update Tabs Icons
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
src/components/tabs/tabs.vue
... | ... | @@ -19,7 +19,7 @@ |
19 | 19 | <Icon v-if="item.icon !== ''" :type="item.icon"></Icon> |
20 | 20 | <Render v-if="item.labelType === 'function'" :render="item.label"></Render> |
21 | 21 | <template v-else>{{ item.label }}</template> |
22 | - <Icon v-if="showClose(item)" type="ios-close-empty" @click.native.stop="handleRemove(index)"></Icon> | |
22 | + <Icon v-if="showClose(item)" type="ios-close" @click.native.stop="handleRemove(index)"></Icon> | |
23 | 23 | </div> |
24 | 24 | </div> |
25 | 25 | </div> | ... | ... |
src/styles/components/tabs.less
... | ... | @@ -203,7 +203,7 @@ |
203 | 203 | &&-card > &-bar &-nav-wrap { |
204 | 204 | margin-bottom: 0; |
205 | 205 | } |
206 | - &&-card > &-bar &-tab .@{css-prefix-iconfont}-ios-close-empty { | |
206 | + &&-card > &-bar &-tab .@{css-prefix-iconfont}-ios-close { | |
207 | 207 | width: 0; |
208 | 208 | height: 22px; |
209 | 209 | font-size: 22px; |
... | ... | @@ -221,8 +221,8 @@ |
221 | 221 | } |
222 | 222 | } |
223 | 223 | |
224 | - &&-card > &-bar &-tab-active .@{css-prefix-iconfont}-ios-close-empty, | |
225 | - &&-card > &-bar &-tab:hover .@{css-prefix-iconfont}-ios-close-empty { | |
224 | + &&-card > &-bar &-tab-active .@{css-prefix-iconfont}-ios-close, | |
225 | + &&-card > &-bar &-tab:hover .@{css-prefix-iconfont}-ios-close { | |
226 | 226 | width: 14px; |
227 | 227 | transform: translateZ(0); |
228 | 228 | } | ... | ... |