上传文件至 static

This commit is contained in:
wangzhiming 2025-05-06 17:59:02 +08:00
parent 00c3c517ff
commit c2eafdf513

112
static/style.css Normal file
View File

@ -0,0 +1,112 @@
body {
font-family: 'Microsoft YaHei', sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 20px;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #8B4513;
text-align: center;
margin-bottom: 30px;
}
.input-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: bold;
}
input[type="date"] {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
margin-bottom: 15px;
}
button {
background-color: #8B4513;
color: white;
border: none;
padding: 12px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
width: 100%;
transition: background-color 0.3s;
}
button:hover {
background-color: #A0522D;
}
.result-grid {
display: grid;
grid-template-columns: 1fr;
gap: 15px;
margin-top: 20px;
}
.result-item {
display: flex;
justify-content: space-between;
padding-bottom: 10px;
border-bottom: 1px dashed #ddd;
}
.label {
font-weight: bold;
color: #8B4513;
}
.value {
text-align: right;
}
.hidden {
display: none;
}
.error {
color: #d9534f;
padding: 10px;
background-color: #f8d7da;
border-radius: 4px;
margin-top: 20px;
}
.loading {
text-align: center;
margin: 20px 0;
}
.spinner {
border: 4px solid rgba(0, 0, 0, 0.1);
border-radius: 50%;
border-top: 4px solid #8B4513;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin: 0 auto 15px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}