no message
Former-commit-id: aa19087e500aea381a2f7eb90721f2d9871272f1 Former-commit-id: e89fcc86afc432f9a84b203bd139615d5dea674f Former-commit-id: db8808227a4aa2607af284c82fad0ccf60b93fa6
This commit is contained in:
16
static/markdownFiles/article/组件 - 页面容器 - 基础.md
Normal file
16
static/markdownFiles/article/组件 - 页面容器 - 基础.md
Normal file
@@ -0,0 +1,16 @@
|
||||
基础页面容器
|
||||
|
||||
```
|
||||
<Container>
|
||||
主体内容
|
||||
</Container>
|
||||
```
|
||||
|
||||
使用 `slot`
|
||||
|
||||
```
|
||||
<Container>
|
||||
<template slot="header">我是插入到 header 中的内容</template>
|
||||
主体内容
|
||||
</Container>
|
||||
```
|
||||
23
static/markdownFiles/article/组件 - 页面容器.md
Normal file
23
static/markdownFiles/article/组件 - 页面容器.md
Normal 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>
|
||||
```
|
||||
Reference in New Issue
Block a user