Skip to content

pageViewBus 页面视图

基础示例

可通过 title 属性设置页面标题,模板中内置了刷新按钮,可通过 show-refresh 属性控制是否显示刷新按钮。

拖拽调整宽度

通过右侧边框可拖拽调整页面宽度,可以使用 default-widthmin-widthmax-width 属性设置默认宽度、最小宽度、最大宽度。同时可通过 resize-line-styleresize-line-class 属性设置宽度调整线的样式。

pageViewBus Props

参数名描述类型默认值
title页面标题string-
info页面信息string-
show-refresh页面刷新按钮显隐booleantrue
defaultWidth默认宽度,单位为pxnumber250
maxWidth最大宽度,单位为pxnumber-
minWidth最小宽度,单位为pxnumber-
resize-line-styleresize线条样式object-
resize-line-classresize线条类名string-

pageViewBus Events

事件名描述类型
refresh页面刷新事件Function

pageViewBus Slots

插槽名描述参数
head页面头部插槽-
default页面默认内容插槽-
foot页面底部插槽-