优化
Vercel Deploy / deploy (push) Successful in 1m13s

This commit is contained in:
2026-03-29 20:30:27 +08:00
Unverified
parent 2ef201eb68
commit adfcd61e22
7 changed files with 2246 additions and 7 deletions
+5 -1
View File
@@ -165,7 +165,11 @@
document.getElementById('d-verify-time').innerText = new Date().toLocaleString();
if (data.status === 'valid') {
document.getElementById('display-status').innerHTML = '<span class="status-tag status-valid">核验通过</span>';
document.getElementById('display-status').innerHTML = '<span class="status-tag status-valid">有效</span>';
}
if (data.status === 'invalid') {
document.getElementById('display-status').innerHTML = '<span class="status-tag">无效</span>';
}
// 加载图片
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.1 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.1 MiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.1 MiB

+2 -1
View File
@@ -165,6 +165,7 @@
<div class="container">
<h1>证书查询系统</h1>
<p>说明:可以输入编号或姓名进行查询,也可以点击右侧图标扫码查询;查询范围2024年10月至今</p>
<div class="search-section">
<div class="search-grid">
@@ -172,7 +173,7 @@
<label>编号 / 姓名</label>
<div class="input-with-icon">
<input type="text" id="searchTerm" class="form-control" placeholder="输入或扫码查询">
<div class="scan-trigger" id="startScanBtn" title="扫描条形码/二维码">
<div class="scan-trigger" id="startScanBtn" title="扫描条形码">
<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>
</div>
</div>
+4 -5
View File
@@ -123,8 +123,7 @@
<body>
<div class="detail-container">
<!-- 修复返回路径 -->
<a href="ticket.html" class="back-link">← 返回查询页面</a>
<a href="./index.html" class="back-link">← 返回查询页面</a>
<div id="detailContent">
<div class="loading">正在加载详情...</div>
@@ -193,12 +192,12 @@
${item('开具人', ticket.issuer)}
${item('日期', formatDate(ticket.created_at))}
${item('状态', `
<span class="status ${ticket.status ? 'done' : 'pending'}">
${ticket.status ? '已处理' : '处理'}
<span class="status ${ticket.processed ? 'done' : 'pending'}">
${ticket.status ? '已处理' : '处理'}
</span>
`, true)}
${item('办结否', `
<span class="status ${ticket.processed ? 'TRUE' : 'FALSE'}">
<span class="status ${ticket.status ? 'TRUE' : 'FALSE'}">
${ticket.processed ? '已办结' : '未办结'}
</span>
`, true)}
+1
View File
@@ -158,6 +158,7 @@
<h1>单据查询</h1>
<p>请输入查询条件,可以查询2024年至今的单据</p>
<div class="search-form">
<div class="form-group">
<label>编号 / 姓名</label>