This commit is contained in:
cwchen 2024-04-23 16:54:54 +08:00
parent 716d5f30f2
commit 57a5a4ea78
7 changed files with 47 additions and 22 deletions

View File

@ -97,4 +97,8 @@ body {
}
.layui-table-init {
background-color: transparent !important;
}
.layui-table-click, .layui-table-hover, .layui-table[lay-even] tbody tr:nth-child(even) {
background-color: transparent;
}

View File

@ -47,14 +47,16 @@ body {
/* 表格头部背景色 */
th {
background-color: #278178; /* MediumSeaGreen */
color: #fff;
font-weight: bold
}
.layui-table-header table thead{
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
/*鼠标指向表格时,奇数行背景颜色*/
.layui-table tbody tr:hover, .layui-table-hover {
background-color: #19b0b9;
/* background-color: #19b0b9; */
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {

View File

@ -21,14 +21,18 @@
/* 表格头部背景色 */
th {
background-color: #3ACAB8; /* MediumSeaGreen */
color: #fff;
font-weight: bold
}
.layui-table-header table thead{
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
/*鼠标指向表格时,奇数行背景颜色*/
.layui-table tbody tr:hover, .layui-table-hover {
background-color: #19b0b9;
/* background-color: #19b0b9; */
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {

View File

@ -47,50 +47,52 @@ body {
/* 表格头部背景色 */
th {
background-color: #184B49; /* MediumSeaGreen */
color: #fff;
font-weight: bold
}
.layui-table-header table thead{
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
/*鼠标指向表格时,奇数行背景颜色*/
.layui-table tbody tr:hover, .layui-table-hover {
background-color: #19b0b9;
/* background-color: #19b0b9; */
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
background-color: #184B49;
background-color: #3ACAB8;
}
.layui-laypage a:hover {
color: #184B49;
color: #3ACAB8;
}
.layui-laypage .layui-laypage-skip {
color: #16534c;
color: #3ACAB8;
}
.layui-laypage-count{
color:#184B49;
color:#3ACAB8;
}
.layui-laypage button, .layui-laypage input {
background-color: transparent;
border: #184B49 1px solid;
color: #184B49;
border: #3ACAB8 1px solid;
color: #3ACAB8;
}
.layui-table-view select[lay-ignore] {
background-color: transparent;
border: #184B49 1px solid;
color: #184B49;
border: #3ACAB8 1px solid;
color: #3ACAB8;
}
.layui-table-page .layui-laypage span {
color: #184B49;
color: #3ACAB8;
}
.layui-table-page .layui-laypage a, .layui-table-page .layui-laypage span.layui-laypage-curr {
color: #184B49;
color: #3ACAB8;
}
/**公共类**/

View File

@ -47,14 +47,18 @@ body {
/* 表格头部背景色 */
th {
background-color: #278178; /* MediumSeaGreen */
color: #fff;
font-weight: bold
}
.layui-table-header table thead{
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
/*鼠标指向表格时,奇数行背景颜色*/
.layui-table tbody tr:hover, .layui-table-hover {
background-color: #19b0b9;
/* background-color: #19b0b9; */
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
@ -315,4 +319,7 @@ ul li {
.layui-table-cell {
height: auto;
white-space: normal;
}
.layui-tree-entry:hover {
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}

View File

@ -50,14 +50,18 @@ body {
/* 表格头部背景色 */
th {
background-color: #278178; /* MediumSeaGreen */
color: #fff;
font-weight: bold
}
.layui-table-header table thead{
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
/*鼠标指向表格时,奇数行背景颜色*/
.layui-table tbody tr:hover, .layui-table-hover {
background-color: #19b0b9;
/* background-color: #19b0b9; */
background: linear-gradient( 90deg, rgba(62,217,197,0) 0%, #2D998B 50%, rgba(62,217,197,0) 100%);
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {

View File

@ -165,6 +165,7 @@ function getRealTimeAlarmList(deviceId){
const url = commonUrl + "screen/largeScreen/towerAssInspect/getRealTimeAlarmList"; // 建管单位url
table.render({
elem: '#demo1',
height:'full-530',
url: url,
skin: 'line',
page: true,
@ -198,6 +199,7 @@ function getHistoryList(deviceId){
const url = commonUrl + "screen/largeScreen/towerAssInspect/getHistoryList"; // 建管单位url
table.render({
elem: '#demo2',
height:'full-560',
url: url,
skin: 'line',
page: true,