From 209be93fbb81da20592a6fda541cf9f8df8661fa Mon Sep 17 00:00:00 2001 From: LaoWang <257199637@qq.com> Date: Tue, 2 Jun 2026 12:37:32 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AF=91=E6=96=87=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=20iframe=20=E5=86=85=E5=B5=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=EF=BC=88=E4=B8=8E=E5=8E=9F=E6=96=87=E4=B8=80=E8=87=B4?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/app.js | 5 ++++- static/index.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/static/app.js b/static/app.js index 9e38427..1425f0a 100644 --- a/static/app.js +++ b/static/app.js @@ -153,7 +153,10 @@ function renderPaper(p) { else if (p.arxiv) links.push(`πŸ“‹ arXiv`); // Show translation button for ALL papers with arxiv or pdf const paperId = p.arxiv || (p.pdf ? p.pdf.split('/').pop().replace('.pdf','') : null); - if (paperId) links.push(`πŸ“– θ―‘ζ–‡`); + if (paperId) { + const transUrl = `/papers/translated/${paperId}.pdf`; + links.push(``); + } return `
${p.year||'β€”'}
${p.title}
${p.authors||''}${p.venue?`${p.venue}`:''}${tags}
diff --git a/static/index.html b/static/index.html index 1cfc950..27ea49f 100644 --- a/static/index.html +++ b/static/index.html @@ -185,7 +185,10 @@ function renderPaper(p) { else if (p.arxiv) links.push(`πŸ“‹ arXiv`); // Show translation button for ALL papers with arxiv or pdf const paperId = p.arxiv || (p.pdf ? p.pdf.split('/').pop().replace('.pdf','') : null); - if (paperId) links.push(`πŸ“– θ―‘ζ–‡`); + if (paperId) { + const transUrl = `/papers/translated/${paperId}.pdf`; + links.push(``); + } return `
${p.year||'β€”'}
${p.title}
${p.authors||''}${p.venue?`${p.venue}`:''}${tags}