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,7 +19,7 @@ | ||
19 | <Icon v-if="item.icon !== ''" :type="item.icon"></Icon> | 19 | <Icon v-if="item.icon !== ''" :type="item.icon"></Icon> |
20 | <Render v-if="item.labelType === 'function'" :render="item.label"></Render> | 20 | <Render v-if="item.labelType === 'function'" :render="item.label"></Render> |
21 | <template v-else>{{ item.label }}</template> | 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 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
src/styles/components/tabs.less
@@ -203,7 +203,7 @@ | @@ -203,7 +203,7 @@ | ||
203 | &&-card > &-bar &-nav-wrap { | 203 | &&-card > &-bar &-nav-wrap { |
204 | margin-bottom: 0; | 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 | width: 0; | 207 | width: 0; |
208 | height: 22px; | 208 | height: 22px; |
209 | font-size: 22px; | 209 | font-size: 22px; |
@@ -221,8 +221,8 @@ | @@ -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 | width: 14px; | 226 | width: 14px; |
227 | transform: translateZ(0); | 227 | transform: translateZ(0); |
228 | } | 228 | } |