🔍 AI 免费微诊断

输入你的网站、抖音或视频号链接。我们会真实抓取你的页面——读出你的标题、正文长度、图片 alt、表单字段、统计代码——再逐项检查 SEO 与转化路径,最后由 AI 给出按优先级排序的改造建议。

✓ 真实抓取,不靠猜 ✓ 全程可见,每步耗时都给你看 ✓ 免费 · 无需注册

抖音 / 视频号的页面需要登录且由脚本渲染,程序读不到内容,这类链接我们会改用平台通用规律做诊断,并明确告诉你——不会假装看过。

'; var blob = new Blob([html], {type:'text/html;charset=utf-8'}); var a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'diagnose-report-' + Date.now() + '.html'; document.body.appendChild(a); a.click(); a.remove(); try { URL.revokeObjectURL(a.href); } catch(e) {} } /* ── 账户:把当前报告存到账户 ── */ function claimReport(reportId){ var c = document.getElementById('accContact'); var v = (c ? c.value : '').trim(); if (!v) { alert('请填写手机号或邮箱'); return; } fetch('/api/auth.php', {method:'POST', headers:{'Content-Type':'application/json'}, body: JSON.stringify({action:'claim', contact: v, report_id: reportId})}) .then(function(r){return r.json();}) .then(function(d){ if(!d.ok){ alert(d.error || '保存失败'); return; } try { localStorage.setItem('dycm_token', d.token); localStorage.setItem('dycm_contact', d.contact); } catch(e){} var st = document.getElementById('accState'); if(st) st.innerHTML = '✅ 已存到账户 ' + esc(d.contact) + ',共 ' + d.reports_count + ' 份报告。可随时在「我的报告」查看。'; var box = document.getElementById('accBox'); if(box) box.style.background = '#ecfdf5'; }) .catch(function(){ alert('网络异常,请重试'); }); } /* ── 已登录时预填账户状态 ── */ function initAccount(){ try { var c = localStorage.getItem('dycm_contact'); if(!c) return; var inp = document.getElementById('accContact'); if(inp) inp.value = c; var st = document.getElementById('accState'); if(st) st.innerHTML = '✅ 已存到账户 ' + esc(c) + ',可随时在「我的报告」查看。'; var box = document.getElementById('accBox'); if(box) box.style.background = '#ecfdf5'; } catch(e){} } /* ── 入口:支持带参直达 & 刷新恢复 ── */ (function boot(){ var q = new URLSearchParams(location.search); var url = q.get('url') || ''; var platform = q.get('platform') || 'website'; var industry = q.get('industry') || ''; var taskId = q.get('task_id') || ''; if (taskId) { S.taskId = taskId; S.t0 = Date.now(); S.serverSteps = null; S.serverDone = null; S.revealed = 0; S.lastRevealAt = Date.now(); S.shown = false; $('panelInput').hidden = true; $('panelProgress').hidden = false; renderSteps([]); $('console').innerHTML = ''; log('恢复上次的诊断任务,继续等待结果…', 'cur'); startClock(); startPump(); startPolling(); return; } if (url) { // 高亮对应平台 Array.prototype.forEach.call(document.querySelectorAll('.plat'), function(x){ x.classList.toggle('on', x.getAttribute('data-p') === platform); }); $('dUrl').value = url; $('dIndustry').value = industry; $('dUrl').placeholder = url; runDiagnose(platform, url, industry); return; } $('dUrl').focus(); })();