UNPKG

vhb-table

Version:

一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、贼灵活的配置项、扩展接口等...

79 lines (77 loc) 1.68 kB
/*font*/ /*size*/ /*icon*/ /*color*/ /*input/radio/checkbox*/ /*popup*/ /*table*/ /*filter*/ /*menu*/ /*loading*/ /*validate*/ /*grid*/ /*toolbar*/ /*tooltip*/ /*pager*/ /*modal*/ /*checkbox*/ /*radio*/ /*button*/ /*input*/ /*textarea*/ /*form*/ /*select*/ /*switch*/ /*pulldown*/ .vhb-grid { position: relative; } .vhb-grid.is--loading:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 99; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-color: rgba(0, 0, 0, 0.2); } .vhb-grid.is--loading > .vhb-table .vhb-loading { background-color: transparent; } .vhb-grid.is--maximize { position: fixed; top: 0; left: 0; width: 100%; height: 100%; padding: 0.5em 1em; background-color: #fff; } .vhb-grid .vhb-body--row.row--pending { color: #f56c6c; text-decoration: line-through; cursor: no-drop; } .vhb-grid .vhb-body--row.row--pending .vhb-body--column { position: relative; } .vhb-grid .vhb-body--row.row--pending .vhb-body--column:after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 0; border-bottom: 1px solid #f56c6c; z-index: 1; } .vhb-grid .vhb-grid--form-wrapper, .vhb-grid .vhb-grid--top-wrapper, .vhb-grid .vhb-grid--bottom-wrapper { position: relative; } .vhb-grid { font-size: 14px; } .vhb-grid.size--medium { font-size: 14px; } .vhb-grid.size--small { font-size: 13px; } .vhb-grid.size--mini { font-size: 12px; }