列表样式

This commit is contained in:
2023-05-10 10:49:00 +08:00
parent 89618b56b1
commit 41bfeb3c09
5 changed files with 315 additions and 13 deletions

View File

@@ -1,3 +1,4 @@
/** 平板尺寸960*600 **/
page {
background-color: #f6f6f6 !important;
min-height: 100% !important;
@@ -112,40 +113,72 @@ uni-button:after {
padding: 0 15px 15px 15px;
overflow-y: scroll;
}
.grid-table{
.grid-wrap .grid-table{
width: 100%;
border-collapse: separate;
border-spacing: 0;
border: 1px #e1e1e1;
text-align: center;
}
.grid-table thead tr th{
.grid-wrap .grid-table thead tr th{
font-size: 15px;
line-height: 18px;
padding: 5px 5px;
background-color: #e1e1e1;
}
.grid-table thead tr th:first-child{
.grid-wrap .grid-table thead tr th:first-child{
border-top-left-radius: 12px;
}
.grid-table thead tr th:last-child{
.grid-wrap .grid-table thead tr th:last-child{
border-top-right-radius: 12px;
}
.grid-table th, .grid-table td {
.grid-wrap .grid-table th, .grid-table td {
color: #464646;
background-color: #fff;
border-right: 1px solid #e1e1e1;
border-bottom: 1px solid #e1e1e1;
}
.grid-table th:first-child, .grid-table td:first-child{
.grid-wrap .grid-table th:first-child, .grid-table td:first-child{
border-left: 1px solid #e1e1e1;
}
.grid-table td {
.grid-wrap .grid-table td {
/* height: 35px; */
line-height: 18px;
font-size: 15px;
padding: 5px 5px;
}
.slide_new {
width: 100%;
height: 100%;
overflow-y: auto;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.zd_wrapper .grid-table {
table-layout: fixed;
width: auto;
min-width: 100%;
}
.zd_wrapper .grid-table td, .zd_wrapper .grid-table th {
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
}
.zd_wrapper .grid-table td:first-child, .zd_wrapper .grid-table th:first-child{
position: -webkit-sticky;
position: sticky;
left: 0;
z-index: 101;
}
.zd_wrapper .grid-table thead tr th {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 100;
}
.status-wrap {
width: 100%;
height: 35px;