diff --git a/client/web/static/app.js b/client/web/static/app.js
index b5fe490..285cd70 100644
--- a/client/web/static/app.js
+++ b/client/web/static/app.js
@@ -273,8 +273,8 @@ async function loadResumes() {
${escapeHtml(r.position || '未设置求职意向')}
-
-
+
+
`).join('');
@@ -303,6 +303,14 @@ $('btnCancelResume').addEventListener('click', () => {
editingResumeId = null;
});
+// 点遮罩空白处也可关闭弹窗
+$('resumeModal').addEventListener('click', (e) => {
+ if (e.target === $('resumeModal')) {
+ $('resumeModal').classList.add('hidden');
+ editingResumeId = null;
+ }
+});
+
$('btnSaveResume').addEventListener('click', async () => {
if (!editingResumeId) return;
const title = $('editResumeTitle').value.trim();
diff --git a/client/web/static/style.css b/client/web/static/style.css
index 20b697c..7d6228d 100644
--- a/client/web/static/style.css
+++ b/client/web/static/style.css
@@ -217,7 +217,21 @@ body {
/* 简历条目操作区 */
.resume-item { justify-content: space-between; }
.r-main { flex: 1; }
-.r-actions { display: flex; gap: 12px; align-items: center; }
+.r-actions { display: flex; gap: 10px; align-items: center; }
+.mini-btn {
+ padding: 5px 14px;
+ font-size: 13px;
+ border-radius: 6px;
+ border: 1px solid var(--border);
+ background: #fff;
+ cursor: pointer;
+ transition: all .2s;
+ white-space: nowrap;
+}
+.mini-btn.edit { color: var(--primary); border-color: var(--primary); }
+.mini-btn.edit:hover { background: var(--primary); color: #fff; }
+.mini-btn.del { color: var(--danger); border-color: var(--danger); }
+.mini-btn.del:hover { background: var(--danger); color: #fff; }
/* ===== 加载 ===== */
.spinner {
diff --git a/client/web/templates/index.html b/client/web/templates/index.html
index bdc96e7..5508e67 100644
--- a/client/web/templates/index.html
+++ b/client/web/templates/index.html
@@ -4,7 +4,7 @@
Boss直聘 AI 智能投递
-
+