打印组件

This commit is contained in:
yanran200730
2024-10-26 21:13:01 +08:00
parent 05f63c7af5
commit 4f4f303867
8 changed files with 665 additions and 241 deletions

BIN
src/assets/code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -37,6 +37,7 @@ html {
body {
margin: 0;
overflow: hidden;
}
h1 {
@@ -545,3 +546,32 @@ img {
display: flex;
justify-content: center;
}
.print-images {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
width: 420px;
max-height: 400px;
padding: 0 10px;
overflow-y: auto;
img {
width: 180px;
margin-bottom: 10px;
cursor: pointer;
}
p {
width: 100%;
line-height: 1.3;
margin-bottom: 10px;
font-size: 14px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

BIN
src/assets/tab_middle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB