no message

Former-commit-id: afef3af60139bd559aa150052fc3a72ec2f384a4
Former-commit-id: e2b324d8476ca2a52c625f2aee16972708a43bec
Former-commit-id: ab3a3d9097c684c0fb1b54b1a5f228157b2f81ff
This commit is contained in:
liyang
2018-06-10 08:39:06 +08:00
parent 75d5500f22
commit 8cc55e1bf7
54 changed files with 121 additions and 115 deletions

View File

@@ -3,16 +3,16 @@
高度根据内容适应
```
<Container>
<d2-container>
主体内容
</Container>
</d2-container>
```
使用 `slot`
```
<Container>
<d2-container>
<template slot="header">我是插入到 header 中的内容</template>
主体内容
</Container>
</d2-container>
```

View File

@@ -6,7 +6,7 @@
```
<template>
<Container type="card-full">
<d2-container type="card-full">
<template slot="header">
可选的 header 内容 ...
</template>
@@ -14,7 +14,7 @@
<template slot="footer">
可选的 footer 内容 ...
</template>
</Container>
</d2-container>
</template>
```

View File

@@ -3,7 +3,7 @@
不显示任何背景色和边框
```
<Container type="ghost">
<d2-container type="ghost">
主体内容
</Container>
</d2-container>
```

View File

@@ -15,12 +15,12 @@
```
<template>
<Container>
<d2-container>
<template slot="header">
可选的 header 内容 ...
</template>
主体内容 ...
</Container>
</d2-container>
</template>
<script>