优化布局组件
Former-commit-id: 65e8be3a3e4781706d13890b3ab1c4161da5eb48 [formerly 6ee3fa6bda1f3dfeac14e1bde981df71453a4cf4] [formerly 65e8be3a3e4781706d13890b3ab1c4161da5eb48 [formerly 6ee3fa6bda1f3dfeac14e1bde981df71453a4cf4] [formerly 65e8be3a3e4781706d13890b3ab1c4161da5eb48 [formerly 6ee3fa6bda1f3dfeac14e1bde981df71453a4cf4] [formerly 6ee3fa6bda1f3dfeac14e1bde981df71453a4cf4 [formerly 296675d3e38d15024de3440733209ad8a968f519 [formerly 593f575acfed4f454810508bf2fdd590ffd096d4]]]]] Former-commit-id: 660493d5ad50e8f690d130df0749e5395ac84fa0 Former-commit-id: c00a4141fc9a1f187d9b1a1c1f63f975c0c59e0c Former-commit-id: 4c4331890a61259ada6be7840dda6747628493bc [formerly 2bab08dc4546c14790740aa245062d30fa1542fa] Former-commit-id: 10a14d376c22b186870e745f089cfce167c3e9d2 Former-commit-id: 6552bbc1565c9fb5e08c71c60ad9330f4f067def Former-commit-id: 7a3edf22710ba4c82278abe86b69eb8004484e05 Former-commit-id: bdf4a9137b275c53b8ae6268de6e3d09aee61525 Former-commit-id: 5f28a623c7fa1f64e31d4536b206d0613207d982
This commit is contained in:
20
src/pages/demo/components/container/ghost-slot.vue
Normal file
20
src/pages/demo/components/container/ghost-slot.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<d2-container type="ghost">
|
||||
<template slot="header">隐形页面容器 header</template>
|
||||
<el-card shadow="never" class="d2-mt d2-mb" style="width: 400px;">
|
||||
<d2-markdown :source="doc"/>
|
||||
</el-card>
|
||||
<template slot="footer">隐形页面容器 footer</template>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import doc from './md/doc.md'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
doc
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user