42 lines
564 B
Vue
42 lines
564 B
Vue
<template>
|
|
<article>
|
|
<veui-button ui="primary">
|
|
Primary
|
|
</veui-button>
|
|
<veui-button ui="secondary">
|
|
Custom
|
|
</veui-button>
|
|
</article>
|
|
</template>
|
|
|
|
<script>
|
|
import { Button } from 'veui'
|
|
|
|
export default {
|
|
components: {
|
|
'veui-button': Button
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped docs>
|
|
.veui-button {
|
|
width: 120px;
|
|
margin-right: 1em;
|
|
}
|
|
</style>
|
|
|
|
<style lang="less" scoped>
|
|
.veui-button[ui~="secondary"] {
|
|
background-color: #e5e5ff;
|
|
|
|
&:hover {
|
|
background-color: #ddf;
|
|
}
|
|
|
|
&:active {
|
|
background-color: #ccf;
|
|
}
|
|
}
|
|
</style>
|