@@ -111,7 +111,11 @@ const props = withDefaults(defineProps<{
scrollbar-width: none;
}
-
+.auto_table{
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ border: 1px solid rgb(226, 226, 226);
+}
h3{
width: 100%;
font-size: 25px;
@@ -203,18 +207,18 @@ h5{
.box_name {
padding: 8px 2px;
- width: 50%;
+ width: 30%;
text-wrap: wrap;
max-height: 80px;
overflow: hidden; /* 配合 ellipsis 需要 */
- border-right: 1px solid rgb(182, 181, 181);
}
.content {
padding: 8px 2px;
- width: 50%;
+ width: 70%;
text-wrap: wrap;
word-break: break-all;
+ border-left: 1px solid rgb(182, 181, 181);
}
}
.tabs_cell_box{
@@ -237,11 +241,13 @@ h5{
#printContainer .el-table .cell{
padding: 0 5px;
text-align: center;
+ max-width: max-content;
}
#printContainer table th{
font-weight: normal;
border-right: 1px solid rgb(182, 181, 181);
+ text-align: center;
}
#printContainer table td{
border: 1px solid rgb(182, 181, 181);