Commit 41dcc65a by qinjianhui

feat:移动端适配

parent 4d233c82
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
...@@ -256,7 +257,7 @@ ...@@ -256,7 +257,7 @@
align-items: center; align-items: center;
} }
.node-text span { .node-text div {
white-space: nowrap; white-space: nowrap;
} }
...@@ -267,6 +268,48 @@ ...@@ -267,6 +268,48 @@
.exception-tips { .exception-tips {
color: red; color: red;
} }
@media screen and (max-width: 800px) {
.form {
max-width: 90%;
}
.order-status .status {
font-size: 16px;
}
.log-progress {
margin-top: 10px;
padding: 0;
padding-bottom: 60px;
}
.node-item {
padding: 0 6px;
}
.node-icon {
width: 20px;
height: 20px;
}
.node-text {
font-size: 10px;
width: 200%;
transform: translateX(-50%) scale(0.7);
}
.node-text div {
white-space: normal;
word-break: break-all;
}
.content {
display: flex;
gap: 40px;
flex-direction: column-reverse;
}
}
</style> </style>
</head> </head>
...@@ -488,11 +531,11 @@ ...@@ -488,11 +531,11 @@
'<div class="node-item' + '<div class="node-item' +
(p.time_utc || progresses[i].show ? ' active' : '') + (p.time_utc || progresses[i].show ? ' active' : '') +
'"><div class="node-icon"></div><div class="node-text">' + '"><div class="node-icon"></div><div class="node-text">' +
'<span>' + '<div>' +
progresses[i].key_stage + progresses[i].key_stage +
'</span>' + '</div>' +
(progresses[i].time_utc (progresses[i].time_utc
? '<span>' + progresses[i].time_utc + '</span>' ? '<div>' + progresses[i].time_utc + '</div>'
: '') + : '') +
'</div></div>' '</div></div>'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment