加载 ui-loading

"usingComponents": {
    "ui-loading": "mp-cu/colorUI/components/ui-loading/ui-loading"
}

示例

<ui-loading/>
<ui-loading color/>
<ui-loading size="sm"/>
<ui-loading size="lg" color="text-blue"/>
<ui-loading size="xl" color="text-green"/>
<ui-loading size="xxl" color="text-green"/>
<ui-loading size="sl"/>

<ui-loading img="/static/logo.png"/>
<ui-loading color="text-red" img="/static/logo.png"/>

<ui-loading color img="/static/logo.png"/>
<ui-loading color isSlot>
    <text class="cicon-GooglePlaylogo text-sl text-red"/>
</ui-loading>
<ui-loading color isSlot>
    <text class="text-lg text-blue">ColorUI</text>
</ui-loading>
<ui-loading color isSlot>
    <ui-avatar ui="xxl ellipse ui-BG " src="/static/logo.png"/>
</ui-loading>

参数

参数类型可选值默认值说明
uiString--其他class
sizeStringsm,lg,xl,xxl,sl-尺寸
imgString--图片
colorString/Boolean--颜色
isSlotBoolean-false默认插槽

mp-cu

上次更新: