2020-08-13 11:47:56 +08:00
|
|
|
<template>
|
|
|
|
<article>
|
|
|
|
<section>
|
|
|
|
<veui-button @click="open = !open">
|
|
|
|
Toggle
|
|
|
|
</veui-button>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<veui-embedded
|
|
|
|
:open.sync="open"
|
|
|
|
title="Notification"
|
|
|
|
>
|
|
|
|
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. At dolorum eius vero expedita ut voluptates possimus recusandae id incidunt obcaecati asperiores eum, laborum dolore facilis aperiam quidem. Maiores, non eum.</p>
|
|
|
|
</veui-embedded>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<veui-embedded
|
|
|
|
ui="s"
|
|
|
|
:open.sync="open"
|
|
|
|
title="Notification"
|
|
|
|
>
|
|
|
|
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. At dolorum eius vero expedita ut voluptates possimus recusandae id incidunt obcaecati asperiores eum, laborum dolore facilis aperiam quidem. Maiores, non eum.</p>
|
|
|
|
</veui-embedded>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { Embedded, Button } from 'veui'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
'veui-embedded': Embedded,
|
|
|
|
'veui-button': Button
|
|
|
|
},
|
|
|
|
data () {
|
|
|
|
return {
|
2020-09-02 12:34:30 +08:00
|
|
|
open: true
|
2020-08-13 11:47:56 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less" scoped docs>
|
|
|
|
section {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
</style>
|