2026-03-20 21:53:19 +08:00

265 lines
4.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
background: #f5f7fa;
color: #333;
line-height: 1.6;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 20px;
}
header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 30px;
border-radius: 12px;
margin-bottom: 20px;
text-align: center;
}
header h1 {
font-size: 28px;
margin-bottom: 10px;
}
header p {
opacity: 0.9;
font-size: 14px;
}
.controls {
background: white;
padding: 20px;
border-radius: 12px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
display: flex;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}
.controls label {
font-weight: 500;
}
.controls input[type="date"] {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 14px;
}
.controls button {
padding: 8px 20px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s;
}
#loadBtn {
background: #667eea;
color: white;
}
#loadBtn:hover {
background: #5a6fd6;
}
#todayBtn {
background: #f0f0f0;
color: #333;
}
#todayBtn:hover {
background: #e0e0e0;
}
.loading, .error {
text-align: center;
padding: 40px;
background: white;
border-radius: 12px;
margin-bottom: 20px;
}
.loading {
color: #667eea;
}
.error {
color: #e74c3c;
background: #fdf2f2;
}
.hidden {
display: none !important;
}
.content {
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.date-info {
background: white;
padding: 15px 20px;
border-radius: 12px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.date-info h2 {
font-size: 18px;
color: #667eea;
}
.data-section {
margin-bottom: 30px;
}
.data-section h3 {
font-size: 20px;
margin-bottom: 15px;
color: #333;
padding-left: 10px;
border-left: 4px solid #667eea;
}
.module-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.module-card {
background: white;
padding: 20px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.2s, box-shadow 0.2s;
}
.module-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.module-card.full-width {
grid-column: 1 / -1;
}
.module-card h4 {
font-size: 16px;
margin-bottom: 15px;
color: #555;
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.data-table tr {
border-bottom: 1px solid #f0f0f0;
}
.data-table tr:last-child {
border-bottom: none;
}
.data-table td {
padding: 10px 5px;
}
.data-table td:first-child {
color: #666;
width: 60%;
}
.data-table td:last-child {
text-align: right;
font-weight: 500;
color: #667eea;
}
/* 经纪机构表格样式 */
#jjjgTable {
font-size: 13px;
}
#jjjgTable th,
#jjjgTable td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #eee;
}
#jjjgTable th {
background: #f8f9fa;
font-weight: 600;
color: #555;
}
#jjjgTable tr:hover {
background: #f8f9fa;
}
#jjjgTable td:nth-child(3),
#jjjgTable td:nth-child(4) {
text-align: right;
}
/* 截图样式 */
#screenshotContainer {
text-align: center;
padding: 10px;
}
.screenshot-img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
footer {
text-align: center;
padding: 20px;
color: #999;
font-size: 13px;
}
@media (max-width: 768px) {
.module-grid {
grid-template-columns: 1fr;
}
.controls {
flex-direction: column;
align-items: stretch;
}
header h1 {
font-size: 22px;
}
}