no message

Former-commit-id: aa19087e500aea381a2f7eb90721f2d9871272f1
Former-commit-id: e89fcc86afc432f9a84b203bd139615d5dea674f
Former-commit-id: db8808227a4aa2607af284c82fad0ccf60b93fa6
This commit is contained in:
李杨
2018-03-10 23:36:09 +08:00
parent b98a43f829
commit c2e834b525
6 changed files with 57 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
基础页面容器
```
<Container>
主体内容
</Container>
```
使用 `slot`
```
<Container>
<template slot="header">我是插入到 header 中的内容</template>
主体内容
</Container>
```

View File

@@ -0,0 +1,23 @@
## 参数
| 参数名 | 介绍 | 必选 | 值类型 | 可选值 | 默认值 |
| --- | --- | --- | --- | --- | --- |
| type | 容器类型 | 非 | String | card ghost full-card | card |
| responsive | 响应式宽度 | 非 | Boolean | | false |
> `responsive` 参数设置只在 `type` 等于 `card` 或 `ghost` 时生效
## 使用方法
基本
```
<template>
<Container>
<template slot="header">
header 内容
</template>
主体内容
</Container>
</template>
```