2020-03-23 03:00:24 +00:00
|
|
|
<template>
|
2020-11-23 08:39:09 +00:00
|
|
|
<div>
|
|
|
|
<demo />
|
|
|
|
</div>
|
2020-03-23 03:00:24 +00:00
|
|
|
</template>
|
2020-10-19 09:17:10 +00:00
|
|
|
<script>
|
2020-11-23 08:39:09 +00:00
|
|
|
import { defineComponent } from 'vue';
|
2021-06-07 09:35:03 +00:00
|
|
|
import demo from '../v2-doc/src/docs/mentions/demo/index.vue';
|
2020-11-23 08:39:09 +00:00
|
|
|
// import Affix from '../components/affix';
|
|
|
|
export default defineComponent({
|
2020-10-19 09:17:10 +00:00
|
|
|
components: {
|
2020-11-23 08:39:09 +00:00
|
|
|
demo,
|
|
|
|
// Affix,
|
2020-10-19 09:17:10 +00:00
|
|
|
},
|
2020-11-23 08:39:09 +00:00
|
|
|
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;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
2020-10-19 09:17:10 +00:00
|
|
|
</script>
|