2020-08-13 11:47:56 +08:00
|
|
|
<template>
|
|
|
|
<article>
|
2020-09-02 13:33:28 +08:00
|
|
|
<section>
|
2020-08-13 11:47:56 +08:00
|
|
|
Custom icon-star:
|
|
|
|
<veui-loading
|
|
|
|
loading
|
|
|
|
ui="strong"
|
|
|
|
>
|
|
|
|
<template #spinner>
|
|
|
|
<veui-icon
|
|
|
|
spin
|
|
|
|
name="star"
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
loading...
|
|
|
|
</veui-loading>
|
2020-09-02 13:33:28 +08:00
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
Custom icon-sync:
|
2020-08-13 11:47:56 +08:00
|
|
|
<veui-loading loading>
|
|
|
|
<template #spinner>
|
|
|
|
<veui-icon
|
|
|
|
spin
|
2020-09-02 13:33:28 +08:00
|
|
|
name="sync"
|
2020-08-13 11:47:56 +08:00
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
loading...
|
|
|
|
</veui-loading>
|
2020-09-02 13:33:28 +08:00
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
Custom icon-clockwise:
|
2020-08-13 11:47:56 +08:00
|
|
|
<veui-loading
|
|
|
|
loading
|
|
|
|
ui="reverse"
|
|
|
|
class="reverse"
|
|
|
|
>
|
|
|
|
<template #spinner>
|
|
|
|
<veui-icon
|
|
|
|
spin
|
2020-09-02 13:33:28 +08:00
|
|
|
name="clockwise"
|
2020-08-13 11:47:56 +08:00
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
loading...
|
|
|
|
</veui-loading>
|
2020-09-02 13:33:28 +08:00
|
|
|
</section>
|
2020-08-13 11:47:56 +08:00
|
|
|
</article>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { Icon, Loading } from 'veui'
|
2020-09-02 13:33:28 +08:00
|
|
|
import 'veui-theme-dls-icons/sync'
|
|
|
|
import 'veui-theme-dls-icons/star'
|
|
|
|
import 'veui-theme-dls-icons/clockwise'
|
2020-08-13 11:47:56 +08:00
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
'veui-icon': Icon,
|
|
|
|
'veui-loading': Loading
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less" scoped docs>
|
|
|
|
.reverse {
|
|
|
|
background: #ccc;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2020-09-02 13:33:28 +08:00
|
|
|
|
|
|
|
.section {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2020-08-13 11:47:56 +08:00
|
|
|
</style>
|