This commit is contained in:
Li1304553726 2025-11-19 12:39:20 +08:00
parent a5481854fd
commit 99e86b2ff5
3 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ const LearnPage = () => {
<div className="w-[750px] h-[188px] left-0 mt-25 absolute" style={{ backgroundColor: '#DEDEDC' }}> <div className="w-[750px] h-[188px] left-0 mt-25 absolute" style={{ backgroundColor: '#DEDEDC' }}>
<div <div
className="w-[169px] h-[240px] absolute left-0 bottom-0 bg-cover bg-center" className="w-[169px] h-[240px] absolute left-0 bottom-0 bg-cover bg-center"
style={{ backgroundImage: 'url(/book1.png)' }} style={{ backgroundImage: "url('/public/images/book1.png')"}}
></div> ></div>
{/* 左边容器内容 */} {/* 左边容器内容 */}
<div className="absolute left-[200px] top-1/2 transform -translate-y-1/2 w-[520px]"> <div className="absolute left-[200px] top-1/2 transform -translate-y-1/2 w-[520px]">
@ -87,7 +87,7 @@ const LearnPage = () => {
<div className="w-[700px] h-[188px] mt-25 right-0 absolute" style={{ backgroundColor: '#DEDEDC' }}> <div className="w-[700px] h-[188px] mt-25 right-0 absolute" style={{ backgroundColor: '#DEDEDC' }}>
<div <div
className="w-[140px] h-[240px] absolute left-0 bottom-0 bg-cover bg-center " className="w-[140px] h-[240px] absolute left-0 bottom-0 bg-cover bg-center "
style={{ backgroundImage: 'url(/book2.png)' }} style={{ backgroundImage: "url('/public/images/book2.png')"}}
></div> ></div>
{/* 右边容器内容 */} {/* 右边容器内容 */}
<div className="absolute left-[200px] top-1/2 transform -translate-y-1/2 w-[520px] "> <div className="absolute left-[200px] top-1/2 transform -translate-y-1/2 w-[520px] ">

BIN
public/images/book1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
public/images/book2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB