forked from opentiny/tiny-vue
29 lines
631 B
Vue
29 lines
631 B
Vue
<template>
|
|
<div>
|
|
<tiny-button loading>加载中</tiny-button>
|
|
<tiny-button type="primary" loading>加载中</tiny-button>
|
|
<tiny-button type="success" loading>加载中</tiny-button>
|
|
<tiny-button type="info" loading>加载中</tiny-button>
|
|
<tiny-button type="warning" loading>加载中</tiny-button>
|
|
<tiny-button type="danger" loading>加载中</tiny-button>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { Button } from '@opentiny/vue'
|
|
|
|
export default {
|
|
components: {
|
|
TinyButton: Button
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.tiny-button {
|
|
margin-bottom: 10px;
|
|
margin-left: 0;
|
|
margin-right: 8px;
|
|
}
|
|
</style>
|