feature/xinhan-branch #2

Merged
biss merged 5 commits from feature/xinhan-branch into master 2026-04-04 15:02:59 +08:00
Showing only changes of commit 750d481be6 - Show all commits
+18 -5
View File
@@ -6,17 +6,30 @@
<title>Xinhan 查询</title> <title>Xinhan 查询</title>
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script> <script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
<style> <style>
body { font-family: Arial, Helvetica, sans-serif; background: #f7f7f7; margin: 0; } :root { --bg: #f7f7f7; --card: #fff; --primary: #1a73e8; --text: #222; font-size: 14px; }
.container { max-width: 1000px; margin: 20px auto; padding: 16px; } html, body { margin: 0; padding: 0; height: 100%; font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); }
.card { background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 2px 6px rgba(0,0,0,.05); } .container { max-width: 1000px; margin: 20px auto; padding: 0 12px; }
.card { background: var(--card); border-radius: 8px; padding: 16px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
h1 { font-size: 20px; margin: 0 0 12px; } h1 { font-size: 20px; margin: 0 0 12px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; } .form-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 12px; }
.form-control { width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; } .form-control { width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.btn { padding: 8px 14px; background: #1a73e8; color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; } .btn { padding: 8px 14px; background: var(--primary); color: white; border-radius: 6px; border: none; font-weight: 600; cursor: pointer; }
.table-wrapper { margin-top: 12px; overflow-x: auto; } .table-wrapper { margin-top: 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; } table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; } th, td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; }
th { background: #f6f7f9; } th { background: #f6f7f9; }
.loading { text-align: center; color: #666; padding: 20px; }
@media (max-width: 900px) {
.form-row { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 700px) {
.form-row { grid-template-columns: 1fr; }
}
/* 更紧凑的表格在小屏上隐藏部分列,保持可读性,同时允许横向滚动查看完整信息 */
@media (max-width: 600px) {
table thead th:nth-child(4), table tbody td:nth-child(4),
table thead th:nth-child(5), table tbody td:nth-child(5) { display: none; }
}
</style> </style>
</head> </head>
<body> <body>