2020-08-13 11:47:56 +08:00
|
|
|
<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>
|
|
|
|
|
2021-09-15 20:03:51 +08:00
|
|
|
<style lang="less" scoped>
|
2020-08-13 11:47:56 +08:00
|
|
|
.veui-button {
|
|
|
|
width: 120px;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.veui-button[ui~="secondary"] {
|
|
|
|
background-color: #e5e5ff;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #ddf;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: #ccf;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|