Commit 41dcc65a by qinjianhui

feat:移动端适配

parent 4d233c82
<!DOCTYPE html>
<html lang="en">
<head>
......@@ -256,7 +257,7 @@
align-items: center;
}
.node-text span {
.node-text div {
white-space: nowrap;
}
......@@ -267,6 +268,48 @@
.exception-tips {
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>
</head>
......@@ -488,11 +531,11 @@
'<div class="node-item' +
(p.time_utc || progresses[i].show ? ' active' : '') +
'"><div class="node-icon"></div><div class="node-text">' +
'<span>' +
'<div>' +
progresses[i].key_stage +
'</span>' +
'</div>' +
(progresses[i].time_utc
? '<span>' + progresses[i].time_utc + '</span>'
? '<div>' + progresses[i].time_utc + '</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