Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0fc0f130
authored
Dec 07, 2024
by
Netfan
Committed by
GitHub
Dec 07, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: layout overflow style (#5066)
1 parent
b75a8e6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
docs/src/components/layout-ui/page.md
packages/@core/ui-kit/layout-ui/src/vben-layout.vue
packages/effects/common-ui/src/components/page/page.vue
docs/src/components/layout-ui/page.md
View file @
0fc0f13
...
@@ -18,15 +18,15 @@ outline: deep
...
@@ -18,15 +18,15 @@ outline: deep
### Props
### Props
| 属性名 | 描述 | 类型 | 默认值 |
| 属性名 | 描述 | 类型 | 默认值 |
说明 |
| --- | --- | --- | --- |
| --- | --- | --- | --- |
--- |
| title | 页面标题 |
`string\|slot`
| - |
| title | 页面标题 |
`string\|slot`
| - |
- |
| description | 页面描述(标题下的内容) |
`string\|slot`
| - |
| description | 页面描述(标题下的内容) |
`string\|slot`
| - |
- |
| contentClass | 内容区域的class |
`string`
| - |
| contentClass | 内容区域的class |
`string`
| - |
- |
| headerClass | 头部区域的class |
`string`
| - |
| headerClass | 头部区域的class |
`string`
| - |
- |
| footerClass | 底部区域的class |
`string`
| - |
| footerClass | 底部区域的class |
`string`
| - |
- |
| autoContentHeight | 自动调整内容区域的高度 |
`boolean`
|
`false`
|
| autoContentHeight | 自动调整内容区域的高度 |
`boolean`
|
`false`
|
- |
|
fixedHeader | 固定头部在页面内容区域顶部,在滚动时保持可见 |
`boolean`
|
`false`
|
|
~~fixedHeader~~ | ~~固定头部在页面内容区域顶部,在滚动时保持可见~~ |
`boolean`
|
`false`
| 待实现
|
::: tip 注意
::: tip 注意
...
...
packages/@core/ui-kit/layout-ui/src/vben-layout.vue
View file @
0fc0f13
...
@@ -503,7 +503,7 @@ function handleHeaderToggle() {
...
@@ -503,7 +503,7 @@ function handleHeaderToggle() {
<div
<div
ref=
"contentRef"
ref=
"contentRef"
class=
"flex flex-1 flex-col transition-all duration-300 ease-in"
class=
"flex flex-1 flex-col
overflow-hidden
transition-all duration-300 ease-in"
>
>
<div
<div
:class=
"[
:class=
"[
...
...
packages/effects/common-ui/src/components/page/page.vue
View file @
0fc0f13
...
@@ -19,8 +19,8 @@ interface Props {
...
@@ -19,8 +19,8 @@ interface Props {
* 根据content可见高度自适应
* 根据content可见高度自适应
*/
*/
autoContentHeight
?:
boolean
;
autoContentHeight
?:
boolean
;
/** 头部固定 */
/** 头部固定
(暂未实现)
*/
fixedHeader
?:
boolean
;
//
fixedHeader?: boolean;
headerClass
?:
string
;
headerClass
?:
string
;
footerClass
?:
string
;
footerClass
?:
string
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment