Web页面优化和修复

This commit is contained in:
Alex Yang
2025-11-30 03:46:47 +08:00
parent b4c37f33b0
commit 4f0815a5f9
5 changed files with 238 additions and 85 deletions

View File

@@ -931,7 +931,7 @@
</thead>
<tbody id="logs-table-body">
<tr>
<td colspan="7" class="py-8 text-center text-gray-500">
<td colspan="5" class="py-8 text-center text-gray-500 border-b border-gray-100">
<i class="fa fa-file-text-o text-4xl mb-2 text-gray-300"></i>
<div>暂无查询日志</div>
</td>

View File

@@ -281,7 +281,7 @@ function updateLogsTable(logs) {
// 显示空状态
const emptyRow = document.createElement('tr');
emptyRow.innerHTML = `
<td colspan="5" class="py-8 text-center text-gray-500">
<td colspan="5" class="py-8 text-center text-gray-500 border-b border-gray-100">
<i class="fa fa-file-text-o text-4xl mb-2 text-gray-300"></i>
<div>暂无查询日志</div>
</td>
@@ -359,8 +359,8 @@ function updateLogsTable(logs) {
<div class="text-xs text-gray-500 mt-1">${formattedDate}</div>
</td>
<td class="py-3 px-4 text-sm">${log.ClientIP}</td>
<td class="py-3 px-4">
<div class="text-sm font-medium">${log.Domain}</div>
<td class="py-3 px-4 text-sm">
<div class="font-medium">${log.Domain}</div>
<div class="text-xs text-gray-500 mt-1">类型: ${log.QueryType}, <span class="${statusClass}">${statusText}</span></div>
</td>
<td class="py-3 px-4 text-sm">${log.ResponseTime}ms</td>