mirror of https://gitee.com/y_project/RuoYi.git
添加表格的高度
parent
cf1b00c409
commit
dacf0bfe66
|
@ -198,7 +198,7 @@ label.error {
|
||||||
.i-checks label.error, .check-box label.error, .radio-box label.error {
|
.i-checks label.error, .check-box label.error, .radio-box label.error {
|
||||||
right: auto;
|
right: auto;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
left: 297px;
|
left: 210px;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
@ -501,6 +501,10 @@ label {
|
||||||
border: 1px solid #ddd!important
|
border: 1px solid #ddd!important
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fixed-table-container thead th >.both{
|
||||||
|
display: inline-block
|
||||||
|
}
|
||||||
|
|
||||||
/** 首页样式 **/
|
/** 首页样式 **/
|
||||||
.ax_close_max {
|
.ax_close_max {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
init: function(options) {
|
init: function(options) {
|
||||||
$.table._option = options;
|
$.table._option = options;
|
||||||
$.table._params = $.common.isEmpty(options.queryParams) ? $.table.queryParams : options.queryParams;
|
$.table._params = $.common.isEmpty(options.queryParams) ? $.table.queryParams : options.queryParams;
|
||||||
|
_height = $.common.isEmpty(options.height) ? undefined : options.height;
|
||||||
_sidePagination = $.common.isEmpty(options.sidePagination) ? "server" : options.pagination;
|
_sidePagination = $.common.isEmpty(options.sidePagination) ? "server" : options.pagination;
|
||||||
_sortOrder = $.common.isEmpty(options.sortOrder) ? "asc" : options.sortOrder;
|
_sortOrder = $.common.isEmpty(options.sortOrder) ? "asc" : options.sortOrder;
|
||||||
_sortName = $.common.isEmpty(options.sortName) ? "" : options.sortName;
|
_sortName = $.common.isEmpty(options.sortName) ? "" : options.sortName;
|
||||||
|
@ -30,6 +31,7 @@
|
||||||
contentType: "application/x-www-form-urlencoded", // 编码类型
|
contentType: "application/x-www-form-urlencoded", // 编码类型
|
||||||
method: 'post', // 请求方式(*)
|
method: 'post', // 请求方式(*)
|
||||||
cache: false, // 是否使用缓存
|
cache: false, // 是否使用缓存
|
||||||
|
height: _height, // 表格的高度
|
||||||
striped: _striped, // 是否显示行间隔色
|
striped: _striped, // 是否显示行间隔色
|
||||||
sortable: true, // 是否启用排序
|
sortable: true, // 是否启用排序
|
||||||
sortStable: true, // 设置为 true 将获得稳定的排序
|
sortStable: true, // 设置为 true 将获得稳定的排序
|
||||||
|
|
Loading…
Reference in New Issue