Skip to content

pageTableView 表格视图

布局

alt text

基础示例

拖拽调整宽度

通过右侧边框可拖拽调整页面宽度,可以使用aside-config 属性中的 defaultWidthminWidthmaxWidth 属性设置默认宽度、最小宽度、最大宽度。同时可通过 resizeLineStyleresizeLineClass 属性设置宽度调整线的样式。

table_view Props

参数名描述类型默认值
show-aside是否显示侧边栏booleanfalse
aside-title侧边栏标题string-
aside-info侧边栏提示文本string-
aside-refresh是否显示默认侧边栏刷新按钮booleanfalse
page-icon页面图标string-
page-title页面标题string-
page-infohover 页面标题显示的说明string-
aside-config 侧边栏配置object-

table_view Events

事件名描述类型
refresh刷新按钮Function

TableViewAsideConfig

参数名描述类型默认值
title标题string-
info描述string-
showRefresh是否显示刷新按钮booleanfalse
defaultWidth默认宽度,单位为pxnumber250
maxWidth最大宽度,单位为pxnumber-
minWidth最小宽度,单位为pxnumber-
resizeLineStyleresize线条样式object-
resizeLineClassresize线条类名string-

table_view Slots

插槽名描述参数
default右侧内容插槽-
aside左侧列表插槽-
aside-foot侧边栏底部插槽-
aside-toolbar侧边栏头部工具栏, 默认是刷新按钮-
toolbar右侧内容工具栏-
page-title 右侧内容页面标题-