2021-10-25 17:13:23 +00:00
|
|
|
::: title 普通容器
|
2021-10-19 14:28:44 +00:00
|
|
|
:::
|
|
|
|
|
2021-09-29 01:50:53 +00:00
|
|
|
::: demo
|
|
|
|
|
|
|
|
<template>
|
2021-09-29 03:06:00 +00:00
|
|
|
<lay-container>
|
|
|
|
<div class="container-demo"></div>
|
|
|
|
</lay-container>
|
2021-09-29 01:50:53 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2021-09-29 03:06:00 +00:00
|
|
|
<style>
|
|
|
|
.container-demo {
|
|
|
|
width:100%;
|
|
|
|
height: 300px;
|
|
|
|
background: #79C48C;
|
2021-11-02 13:26:41 +00:00
|
|
|
border-radius: 2px;
|
2021-09-29 03:06:00 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2021-09-29 01:50:53 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-25 17:13:23 +00:00
|
|
|
::: title 流式容器
|
2021-10-19 14:28:44 +00:00
|
|
|
:::
|
|
|
|
|
2021-09-29 01:50:53 +00:00
|
|
|
::: demo
|
|
|
|
|
|
|
|
<template>
|
2021-09-29 03:06:00 +00:00
|
|
|
<lay-container fluid>
|
|
|
|
<div class="container-demo"></div>
|
|
|
|
</lay-container>
|
2021-09-29 01:50:53 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2021-09-29 03:06:00 +00:00
|
|
|
<style>
|
|
|
|
.container-demo {
|
|
|
|
width:100%;
|
|
|
|
height: 300px;
|
|
|
|
background: #79C48C;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2021-10-01 10:20:41 +00:00
|
|
|
:::
|
|
|
|
|
2021-10-25 17:13:23 +00:00
|
|
|
::: title 容器属性
|
2021-10-13 02:19:38 +00:00
|
|
|
:::
|
2021-10-12 10:00:09 +00:00
|
|
|
|
2021-11-07 07:55:08 +00:00
|
|
|
::: table
|
|
|
|
|
2021-10-31 17:02:21 +00:00
|
|
|
| 属性 | 描述 | 可选值 |
|
|
|
|
| ----- | ------ | -------------- |
|
|
|
|
| fluid | 流模式 | `true` `false` |
|
2021-11-07 07:55:08 +00:00
|
|
|
|
2021-11-07 07:56:24 +00:00
|
|
|
:::
|
2021-12-16 09:57:59 +00:00
|
|
|
|
|
|
|
::: comment
|
|
|
|
:::
|