Merge pull request '修改启智图片、弹框等' (#392) from tongChong/forgeplus-react:dev_military_admin into pre_dev_military

This commit is contained in:
xxq250 2022-06-07 11:36:45 +08:00
commit 4536144561
4 changed files with 7 additions and 5 deletions

View File

@ -38,14 +38,14 @@ function SecondSection() {
<Slider {...setting}>
<div>
<Link to="/competition/qz2022" className="competition-slide-item" >
<Link to="/competition/qz2022/notice" className="competition-slide-item" >
<img className='competition-notice' src={notice} />
<img className='competition-text' src={text} />
</Link>
</div>
<div>
<Link to="/competition/qz2022" className="competition-slide-item" >
<Link to="/competition/qz2022/notice" className="competition-slide-item" >
<img className='competition-notice' src={notice} />
<img className='competition-text' src={text} />
</Link>

View File

@ -9,6 +9,7 @@
.competition-slide-item {
display: flex;
justify-content: center;
align-items: center;
height: 2.6vw;
}
@ -18,7 +19,8 @@
}
.competition-text {
width: 23.5vw;
// width: 23.5vw;
height: 2vw;
}
@keyframes ballRotation {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -4,7 +4,7 @@ import { isMobile } from 'educoder';
import './index.scss';
import Slider from './Slider';
import QzModal from './QzModal';
// import QzModal from './QzModal';
import FirstSection from './FirstSection';
import SecondSection from './SecondSection';
import ThirdSection from './ThirdSection';
@ -129,7 +129,7 @@ function HomePage({ history }) {
<div className="homePage">
<Slider />
<QzModal />
{/* <QzModal /> */}
<div id="home-first-section" className="home-first-section">
<FirstSection first={first} />
</div>