mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(ActionSheet): loading icon align (#2222)
This commit is contained in:
parent
3cbd24c35b
commit
b1e6c903e1
@ -18,8 +18,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__cancel {
|
&__cancel {
|
||||||
.theme(height, '@action-sheet-item-height');
|
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
display: block;
|
display: block;
|
||||||
content: ' ';
|
content: ' ';
|
||||||
@ -66,4 +64,9 @@
|
|||||||
.theme(font-size, '@action-sheet-close-icon-size') !important;
|
.theme(font-size, '@action-sheet-close-icon-size') !important;
|
||||||
.theme(color, '@action-sheet-close-icon-color');
|
.theme(color, '@action-sheet-close-icon-color');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__loading {
|
||||||
|
display: flex !important;
|
||||||
|
.theme(height, '@action-sheet-item-height');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
<text wx:if="{{ item.subname }}" class="van-action-sheet__subname" >{{ item.subname }}</text>
|
<text wx:if="{{ item.subname }}" class="van-action-sheet__subname" >{{ item.subname }}</text>
|
||||||
</block>
|
</block>
|
||||||
<van-loading wx:else size="20px" />
|
<van-loading wx:else custom-class="van-action-sheet__loading" size="20px" />
|
||||||
</button>
|
</button>
|
||||||
</view>
|
</view>
|
||||||
<slot />
|
<slot />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user