Commit 2d23030a705ad7425a2b21d721342b7ac4a21f69
1 parent
66574d7a
update Cascader style
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
src/components/cascader/casitem.vue
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | <li :class="classes"> | 2 | <li :class="classes"> |
3 | {{ data.label }} | 3 | {{ data.label }} |
4 | <Icon :type="arrowType" :custom="customArrowType" :size="arrowSize" v-if="showArrow" /> | 4 | <Icon :type="arrowType" :custom="customArrowType" :size="arrowSize" v-if="showArrow" /> |
5 | - <i v-if="showLoading" class="ivu-icon ivu-icon-ios-loading ivu-load-loop"></i> | 5 | + <i v-if="showLoading" class="ivu-icon ivu-icon-ios-loading ivu-load-loop ivu-cascader-menu-item-loading"></i> |
6 | </li> | 6 | </li> |
7 | </template> | 7 | </template> |
8 | <script> | 8 | <script> |
src/styles/components/cascader.less
@@ -137,6 +137,9 @@ | @@ -137,6 +137,9 @@ | ||
137 | //margin-top: -6px; | 137 | //margin-top: -6px; |
138 | transform: translateY(-50%); | 138 | transform: translateY(-50%); |
139 | } | 139 | } |
140 | + &-loading{ | ||
141 | + margin-top: -6px; | ||
142 | + } | ||
140 | 143 | ||
141 | &-active{ | 144 | &-active{ |
142 | background-color: @background-color-select-hover; | 145 | background-color: @background-color-select-hover; |