mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
40 lines
705 B
Vue
40 lines
705 B
Vue
<template>
|
|
<div>
|
|
<demo />
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import { defineComponent } from 'vue';
|
|
import demo from '../v2-doc/src/docs/tooltip/demo/index.vue';
|
|
// import Affix from '../components/affix';
|
|
export default defineComponent({
|
|
components: {
|
|
demo,
|
|
// Affix,
|
|
},
|
|
data() {
|
|
return {
|
|
visible: false,
|
|
pStyle: {
|
|
fontSize: '16px',
|
|
color: 'rgba(0,0,0,0.85)',
|
|
lineHeight: '24px',
|
|
display: 'block',
|
|
marginBottom: '16px',
|
|
},
|
|
pStyle2: {
|
|
marginBottom: '24px',
|
|
},
|
|
};
|
|
},
|
|
methods: {
|
|
showDrawer() {
|
|
this.visible = true;
|
|
},
|
|
onClose() {
|
|
this.visible = false;
|
|
},
|
|
},
|
|
});
|
|
</script>
|