97 lines
4.6 KiB
HTML
97 lines
4.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>证书查询系统</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Orbitron:wght@500;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="../css/tech-query.css">
|
|
<link rel="stylesheet" href="../css/notice-banner.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
|
|
<script src="https://unpkg.com/html5-qrcode"></script>
|
|
</head>
|
|
<body>
|
|
<main class="page-shell">
|
|
<section class="page-header">
|
|
<div class="hero-card">
|
|
<span class="eyebrow">Certificate Search</span>
|
|
<h1>荣誉证书智能核验平台</h1>
|
|
<p>支持按证书编号、持有人姓名与发证日期进行检索,也可以直接扫码快速定位证书记录。</p>
|
|
<div class="hero-meta">
|
|
<span class="meta-chip">数据范围:2024 年 10 月至今</span>
|
|
<span class="meta-chip">查询方式:文本检索 / 条形码扫描</span>
|
|
</div>
|
|
</div>
|
|
<aside class="stat-card">
|
|
<div>
|
|
<div class="stat-label">Module</div>
|
|
<div class="stat-value">CERT</div>
|
|
</div>
|
|
<p></p>
|
|
</aside>
|
|
</section>
|
|
|
|
<section class="panel-card">
|
|
<div class="panel-title-row">
|
|
<div>
|
|
<h2 class="panel-title">检索条件</h2>
|
|
<div class="panel-subtitle">输入编号或姓名后即可开始查询</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="search-grid">
|
|
<div class="form-group">
|
|
<label class="form-label" for="searchTerm">编号 / 姓名</label>
|
|
<div class="input-with-action">
|
|
<input type="text" id="searchTerm" class="tech-input" placeholder="输入编号、姓名或奖项名,或点击右侧扫条形码">
|
|
<button type="button" class="icon-action" id="startScanBtn" title="扫条形码查询" aria-label="扫条形码查询">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7V5a2 2 0 0 1 2-2h2"></path><path d="M17 3h2a2 2 0 0 1 2 2v2"></path><path d="M21 17v2a2 2 0 0 1-2 2h-2"></path><path d="M7 21H5a2 2 0 0 1-2-2v-2"></path><rect x="7" y="7" width="10" height="10"></rect></svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="form-label" for="dateStart">开始日期</label>
|
|
<input type="date" id="dateStart" class="tech-input">
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="form-label" for="dateEnd">结束日期</label>
|
|
<input type="date" id="dateEnd" class="tech-input">
|
|
</div>
|
|
<button id="searchBtn" class="tech-button">执行查询</button>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="panel-card results-card">
|
|
<div class="panel-title-row">
|
|
<div>
|
|
<h2 class="panel-title">查询结果</h2>
|
|
<div class="panel-subtitle">点击“查看详情”进入证书详情页</div>
|
|
</div>
|
|
</div>
|
|
<div id="resultsArea" class="results-shell">
|
|
<div class="empty-state">请输入查询条件,或使用扫码功能快速检索证书。</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<div id="scanner-overlay" class="scanner-overlay">
|
|
<div class="scanner-frame">
|
|
<div id="reader"></div>
|
|
<div class="scanner-line"></div>
|
|
</div>
|
|
<div class="scanner-text">请将条形码置于识别框内</div>
|
|
<button class="tech-button secondary" id="stopScanBtn" type="button">退出扫描</button>
|
|
</div>
|
|
|
|
<footer class="page-footer">
|
|
<p>© 2026 BI Intelligent Query Interface</p>
|
|
</footer>
|
|
|
|
<script src="../js/certs-index.js"></script>
|
|
<script src="https://cdn.jsdmirror.cn/gh/bishshi/wechat-detect@main/wechat-detect.js"></script>
|
|
<script src="../js/notice-banner.js"></script>
|
|
</body>
|
|
</html>
|