docs_vue2/one/docs/demo/loading/size.vue

91 lines
1.2 KiB
Vue
Raw Normal View History

2020-08-13 11:47:56 +08:00
<template>
<article>
<div class="container">
<veui-loading
loading
ui="s"
>
s
</veui-loading>
<veui-loading
loading
ui="m"
>
m
</veui-loading>
<veui-loading
loading
ui="l"
>
l
</veui-loading>
</div>
<div class="container">
<veui-loading
loading
ui="strong s"
>
s
</veui-loading>
<veui-loading
loading
ui="strong m"
>
m
</veui-loading>
<veui-loading
loading
ui="strong l"
>
l
</veui-loading>
</div>
<div class="container">
<veui-loading
loading
class="reverse"
ui="reverse s"
>
s
</veui-loading>
<veui-loading
loading
class="reverse"
ui="reverse m"
>
m
</veui-loading>
<veui-loading
loading
class="reverse"
ui="reverse l"
>
l
</veui-loading>
</div>
</article>
</template>
<script>
import { Loading } from 'veui'
export default {
components: {
'veui-loading': Loading
}
}
</script>
<style lang="less" scoped docs-loading>
.reverse {
background: #ccc;
padding: 8px;
}
.veui-loading {
margin-left: 1em;
}
.container {
margin-bottom: 2em;
}
</style>