滚动条透明样式:
::-webkit-scrollbar {
height: 0;
width: 0;
color: transparent;
}
Layui多级表头:
cols: [[
{ field: 'SStationName', title: '城市名称', width: 160, rowspan: 2, align: 'center' },
{ field: 'SDateTime', title: '时间', width: 300, rowspan: 2, align: 'center' },
{ field: '', title: 'PM2.5(ug/㎡)', width: 300, colspan: 3, align: 'center' },
{ field: '', title: 'O3(ug/㎡)', width: 300, colspan: 3, align: 'center' },
{ field: '', title: '优良率(%)', width: 300, colspan: 3, align: 'center' },
{ field: '', title: '优良率天数(天)', width: 300, colspan: 3, align: 'center' },
], [
{ field: 'PM25', title: '当期', width: 100, align: 'center' },
{ field: 'SNPM25', title: '上年同期', width: 100, align: 'center' },
{ field: 'PM25HBTB', title: '增减%', width: 100, align: 'center' },
{ field: 'O3', title: '当期', width: 100, align: 'center' },
{ field: 'SNO3', title: '上年同期', width: 100, align: 'center' },
{ field: 'O3HBTB', title: '增减%', width: 100, align: 'center' },
{ field: 'EGPercent', title: '当期', width: 100, align: 'center' },
{ field: 'SNEGPercent', title: '上年同期', width: 100, align: 'center' },
{ field: 'JSNTQ', title: '增减%', width: 100, align: 'center' },
{ field: 'EGDay', title: '当期', width: 100, align: 'center' },
{ field: 'SNEGDay', title: '上年同期', width: 100, align: 'center' },
{ field: 'EGDayTqhb', title: '增减%', width: 100, align: 'center' },
]],