From e764a2b8471b535ecfa4251fcaee6bc82e61a3a3 Mon Sep 17 00:00:00 2001 From: MT-Fire <798521692@qq.com> Date: Tue, 10 Mar 2026 12:50:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E6=88=90MinerU=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E5=8C=96=E7=BF=BB=E8=AF=91pdf=E5=AF=B9=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/history_detail/02-layout/layout.css | 4 +- index.html | 13 +- input/English PDF Test.pdf | Bin 0 -> 52427 bytes input/pdf测试.pdf | Bin 58234 -> 0 bytes js/history/history_detail_scripts.js | 426 +++++++++++++++++++- js/history/history_detail_show_tab.js | 17 +- js/process/main.js | 117 +++--- js/process/mineru-structured-translation.js | 111 ++++- test.html | 2 +- views/history/history_detail.html | 1 + 10 files changed, 609 insertions(+), 82 deletions(-) create mode 100644 input/English PDF Test.pdf delete mode 100644 input/pdf测试.pdf diff --git a/css/history_detail/02-layout/layout.css b/css/history_detail/02-layout/layout.css index 55f8439..6554686 100644 --- a/css/history_detail/02-layout/layout.css +++ b/css/history_detail/02-layout/layout.css @@ -15,6 +15,8 @@ body { max-width: 1200px; margin: 40px auto; height: 100vh; + display: flex; + flex-direction: column; background: var(--color-bg-base); border-radius: var(--radius-xl); /* 使用变量定义的轻量化阴影 */ @@ -87,8 +89,8 @@ body { .tab-content { background: transparent; padding: 8px 0; - height: 100vh; min-height: 300px; + flex: 1; margin-top: 0; /* 优化阅读体验的字体设置 */ font-size: 1.0625rem; /* 17px */ diff --git a/index.html b/index.html index 9998a36..f93f766 100644 --- a/index.html +++ b/index.html @@ -231,7 +231,7 @@ pointer-events: none; } /* 新增:右侧大 Logo 背景装饰 */ - .workspace-header::after { + /* .workspace-header::after { content: ''; position: absolute; right: -20px; @@ -242,10 +242,11 @@ background-repeat: no-repeat; background-position: center; background-size: contain; - opacity: 0.07; /* 极低透明度,仅作纹理 */ + 极低透明度,仅作纹理 + opacity: 0.07; transform: rotate(-10deg); pointer-events: none; - } + } */ .workspace-header-content { position: relative; z-index: 1; @@ -594,7 +595,7 @@
`N1 S)HjuXO;4x7^nPYG<-O_M~bD=J!=ib0^kQ7{6IRd}fRM
zb~Aq73|e|8o}HxkuO^9oRGeWa3{g2{d6nb%!E#94P3YMb4wg)hM-O*eT8qR81
zf$+%J3h~!dU+
*vsdv_
z#1`>4-DS5X4-_m^eJZ#8MlGE&&Q=55jh7KKzvf4b*1spZoea7|8bW?v10*D4$EWi1=sAw=zbVyZMgD%_e1vsl=u_wduWw?=+P(8
z!!~f;=LCA(4tx%|FC+9LZ1?v5k3UCm!o6*rza=@#h=1~kL+R<>X(;CsNdoeKG{g$k}AIh0`3UB){^Lmfm%YLz<
z77K^m3g1c*Q9J;@&!Eo?xaZyXkm@_|PrNL1I}MqxE4m#H(t|#(c^ex={^n#qKIZa7
z7Yp+1ekyIp+3^|ns#@=Pc5m6|qCLp9Uvy~@#P(CGs|cP6XPEFIB;o+*(z;i+5Ifm}
zO}v>JdBqXFL&mn93
*B)
zHO=szFx_0z@NF#Z6f^0mKFL?rt3Hq|?<4L~HC1MCrS~GPeK9B5nK<)`)|KS^=WDBd
z51HlwW7D0Ee9r0qBDU2AD)Wo_ls|%aT@x{C6#!c?Mvotl8sbUhTI5gsCYF>m`0B8<
zIF)JCxqLey+Kfy=M=F*oAF1Kb_0!~Ym;ORgl9#rZnbj4{rwB}R*&ci^F#7G=wa^zS
zP*AtXNT_($r{)}${weeq6{T}eUpxo(l+4l(p~xr;W_VlGq{2$3Q-3)XIb=B>e>v8S
z#k8Ru-au>S6D$hu@a)Eq9bFTFxq2rmjPDj%j5?2Z(%wn!PT4DcTG8hLe`Puo+r5W;
zn!|s;p)>AD{foz5<+F3=dG&+A{U6H)zgHb_p~Eu(;hExF{Jc}P1j3_zD$5!Q*$V*8
z)bw=TwFduBm#VFU!DoT$v}7F)!ukGD4o&B7pJg`65H+j^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