diff --git a/MysteelGetMinPrice.js b/MysteelGetMinPrice.js index 9cc2d55..3ed1b28 100644 --- a/MysteelGetMinPrice.js +++ b/MysteelGetMinPrice.js @@ -156,27 +156,28 @@ panel.innerHTML = `
高级筛选配置
-
类别 (默认全选):
+
类别:
${buildCheckboxes('names', FILTER_OPTIONS.names)}
-
线径 (默认全选):
+
线径:
${buildCheckboxes('specs', FILTER_OPTIONS.specs)}
-
材质 (默认全选):
+
材质:
${buildCheckboxes('materials', FILTER_OPTIONS.materials)}
+
导出配置
-
导出格式:
+
导出格式:
-
自定义文件名称:
+
自定义文件名称:
@@ -193,6 +194,9 @@
类别:${formatF(f.names)}
线径:${formatF(f.specs)}
材质:${formatF(f.materials)}
+
+ 格式:${f.exportFormat.toUpperCase()} +
`; tooltip.style.display = 'block'; }); @@ -218,6 +222,7 @@ const active = getCurrentFilters(); saveFiltersToLocal(active); // 写入 localStorage panel.style.display = 'none'; + showToast('配置已保存', 'success'); }); } @@ -227,7 +232,7 @@ function startSingleProcess() { // 🔒 登录状态守卫拦截 if (!isUserLoggedIn()) { - showToast('请先登录 Mysteel 账号后再进行数据提取操作。', 'error'); + showToast('请登录 Mysteel 账号后重试!', 'error'); return; } @@ -275,7 +280,7 @@ async function startBatchProcess() { // 🔒 登录状态守卫拦截 if (!isUserLoggedIn()) { - showToast('请先登录 Mysteel 账号后再进行批量提取操作。', 'error'); + showToast('请登录 Mysteel 账号后重试。', 'error'); return; } @@ -354,7 +359,7 @@ Object.assign(toast.style, { position: 'fixed', - top: '20px', + top: '30vh', left: '50%', transform: 'translateX(-50%)', backgroundColor: bgColor, @@ -377,13 +382,13 @@ // 动画显示 requestAnimationFrame(() => { toast.style.opacity = '1'; - toast.style.top = '40px'; + toast.style.top = '33vh'; }); // 定时移除 setTimeout(() => { toast.style.opacity = '0'; - toast.style.top = '20px'; + toast.style.top = '30vh'; setTimeout(() => { if (toast.parentNode) { toast.parentNode.removeChild(toast);