完成发票初始版本
This commit is contained in:
55
components/table/table.wxss
Normal file
55
components/table/table.wxss
Normal file
@@ -0,0 +1,55 @@
|
||||
.d-table {
|
||||
display: table !important;
|
||||
}
|
||||
.d-table-row {
|
||||
display: table-row !important;
|
||||
}
|
||||
.d-table-cell {
|
||||
display: table-cell !important;
|
||||
}
|
||||
.d-table-cell {
|
||||
padding: 10px 5px;
|
||||
font-size: 14px;
|
||||
word-break: break-all;
|
||||
min-height: 42px;
|
||||
max-width: 150px;
|
||||
position: relative;
|
||||
}
|
||||
.d-table {
|
||||
background-color: #fff;
|
||||
}
|
||||
.d-table .d-table-row.active {
|
||||
background-color: #d6e8ff;
|
||||
}
|
||||
.d-table .d-table-row:not(:first-child) .d-table-cell::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background-color: #ddd;
|
||||
transform: scaleY(0.3);
|
||||
}
|
||||
.table {
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
width: 100%;
|
||||
}
|
||||
.table1-view {
|
||||
width: 100%;
|
||||
}
|
||||
.table1 {
|
||||
width: var(--width, 100%);
|
||||
min-width: auto;
|
||||
}
|
||||
.text {
|
||||
font-size: 14px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: var(--max_line, 2);
|
||||
}
|
Reference in New Issue
Block a user