Commit 2d23030a705ad7425a2b21d721342b7ac4a21f69

Authored by 梁灏
1 parent 66574d7a

update Cascader style

src/components/cascader/casitem.vue
... ... @@ -2,7 +2,7 @@
2 2 <li :class="classes">
3 3 {{ data.label }}
4 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 6 </li>
7 7 </template>
8 8 <script>
... ...
src/styles/components/cascader.less
... ... @@ -137,6 +137,9 @@
137 137 //margin-top: -6px;
138 138 transform: translateY(-50%);
139 139 }
  140 + &-loading{
  141 + margin-top: -6px;
  142 + }
140 143  
141 144 &-active{
142 145 background-color: @background-color-select-hover;
... ...