forked from opentiny/tiny-vue
35 lines
804 B
Vue
35 lines
804 B
Vue
<template>
|
|
<div class="button-wrap">
|
|
<tiny-button round>圆角按钮</tiny-button>
|
|
<tiny-button type="primary" round>主要按钮</tiny-button>
|
|
<tiny-button type="success" round>成功按钮</tiny-button>
|
|
<tiny-button type="info" round>信息按钮</tiny-button>
|
|
<tiny-button type="warning" round>警告按钮</tiny-button>
|
|
<tiny-button type="danger" round>危险按钮</tiny-button>
|
|
<tiny-button type="secondary" round>次要按钮</tiny-button>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="jsx">
|
|
import { Button } from '@opentiny/vue'
|
|
|
|
export default {
|
|
components: {
|
|
TinyButton: Button
|
|
},
|
|
data() {
|
|
return {}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.button-wrap {
|
|
padding: 0 10px;
|
|
}
|
|
.button-wrap .tiny-mobile-button {
|
|
margin-right: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
</style>
|