196 lines
2.8 KiB
SCSS
196 lines
2.8 KiB
SCSS
|
// 打印前
|
||
|
.newform {
|
||
|
.page-break{
|
||
|
page-break-after: always;
|
||
|
}
|
||
|
|
||
|
.h1 {
|
||
|
font-size: 16px;
|
||
|
text-align: center;
|
||
|
font-weight: bold;
|
||
|
padding: 20px 0 10px 0;
|
||
|
}
|
||
|
|
||
|
.flex {
|
||
|
justify-content: space-between;
|
||
|
display: flex;
|
||
|
width: 80%;
|
||
|
padding: 10px 0;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
.subflex {
|
||
|
justify-content: space-between;
|
||
|
display: flex;
|
||
|
width: 80%;
|
||
|
font-size: 14px;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
|
||
|
|
||
|
.table-dialog {
|
||
|
border-collapse: collapse;
|
||
|
width: 100%;
|
||
|
|
||
|
th {
|
||
|
background-color: #f9f9f9;
|
||
|
font-size: 14px;
|
||
|
line-height: 1.6;
|
||
|
border: 1px solid #eaeaea;
|
||
|
text-align: left;
|
||
|
|
||
|
}
|
||
|
.tab_tr{
|
||
|
td {
|
||
|
width: 16.666666%;
|
||
|
}
|
||
|
}
|
||
|
td {
|
||
|
border: 1px solid #eaeaea;
|
||
|
padding: 8px;
|
||
|
font-size: 14px;
|
||
|
line-height: 1.6;
|
||
|
|
||
|
.td_img{
|
||
|
width: 120px;
|
||
|
height: 156px;
|
||
|
overflow: hidden;
|
||
|
background-size: 100% 100%;
|
||
|
|
||
|
img{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background-size: 100% 100%;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.title {
|
||
|
width: 160px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.table-inside {
|
||
|
border-collapse: collapse;
|
||
|
width: calc(100% + 2px);
|
||
|
margin: -1px -2px -1px -1px;
|
||
|
|
||
|
td {
|
||
|
padding: 8px;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.print_table{
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
.levelup{
|
||
|
padding-left: 10px;
|
||
|
border-left: 4px solid #04a9f5;
|
||
|
margin-bottom: 10px;
|
||
|
margin-top: 20px;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
position: relative;
|
||
|
|
||
|
h1 {
|
||
|
font-size: 15px;
|
||
|
font-weight: bold;
|
||
|
margin: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.paper-details{
|
||
|
border: 1px solid #eee;
|
||
|
padding: 0 20px;
|
||
|
.paper-class{
|
||
|
font-size: 14px;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
.paper-item{
|
||
|
border-bottom: 1px dashed #eee;
|
||
|
padding: 0px 10px 10px 10px;
|
||
|
.paper-ask{
|
||
|
font-size: 14px;
|
||
|
margin: 10px 0;
|
||
|
}
|
||
|
.paper-answer{
|
||
|
display: flex;
|
||
|
padding: 0 40px;
|
||
|
div{
|
||
|
flex: 1;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.standard-print{
|
||
|
border: 1px solid #eee;
|
||
|
padding: 20px;
|
||
|
margin-top: 10px;
|
||
|
|
||
|
h1{
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
.standard-dl{
|
||
|
font-size: 14px;
|
||
|
line-height: 24px;
|
||
|
}
|
||
|
}
|
||
|
.no-tr-show,.no-show{
|
||
|
display: none;
|
||
|
}
|
||
|
// 打印后
|
||
|
@media print {
|
||
|
.newform {
|
||
|
overflow: hidden;
|
||
|
|
||
|
.h1 {
|
||
|
margin-top: 40px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.el-table{
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.dialogContent{
|
||
|
.print_table{
|
||
|
display: block;
|
||
|
}
|
||
|
}
|
||
|
.levelup{
|
||
|
margin: 20px 0 10px 0;
|
||
|
|
||
|
}
|
||
|
.standard-print{
|
||
|
border: none;
|
||
|
padding: 0px;
|
||
|
margin-top: 0px;
|
||
|
h1{
|
||
|
font-size: 18px;
|
||
|
margin-top: 30px;
|
||
|
}
|
||
|
.standard-dl{
|
||
|
font-size: 14px;
|
||
|
line-height: 24px;
|
||
|
}
|
||
|
}
|
||
|
.no-print{
|
||
|
display: none;
|
||
|
}
|
||
|
.no-tr-show{
|
||
|
display: table-row;
|
||
|
}
|
||
|
.no-show{
|
||
|
display: block;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|