mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-23 13:29:53 +08:00
footer置底
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#root {
|
#root {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-height: 900px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ h1 {
|
|||||||
|
|
||||||
.container {
|
.container {
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
min-height: 671px;
|
min-height: calc(100vh - 260px);
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
color: #ff4d4f;
|
color: #ff4d4f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.complete {
|
||||||
|
color: #ff4d4f;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-item {
|
.left-item {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.content {
|
.content {
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
min-height: 581px;
|
min-height: calc(100vh - 350px);
|
||||||
height: auto;
|
height: auto;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|||||||
@@ -45,6 +45,8 @@ const LatestLearnPage = () => {
|
|||||||
{!loading &&
|
{!loading &&
|
||||||
courses.length > 0 &&
|
courses.length > 0 &&
|
||||||
courses.map((item: any) => (
|
courses.map((item: any) => (
|
||||||
|
<>
|
||||||
|
{item.course && (
|
||||||
<div
|
<div
|
||||||
key={item.course.id}
|
key={item.course.id}
|
||||||
className={styles["item"]}
|
className={styles["item"]}
|
||||||
@@ -118,6 +120,8 @@ const LatestLearnPage = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<div className={styles["extra"]}>{systemConfig.pcIndexFooterMsg}</div>
|
<div className={styles["extra"]}>{systemConfig.pcIndexFooterMsg}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user