This commit is contained in:
黄心宇 2023-07-05 09:14:53 +08:00
parent b8010bdda0
commit d5f7c09268
4 changed files with 3 additions and 1 deletions

BIN
dist.zip

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

View File

@ -31,6 +31,7 @@
font-size: 15px;
}
.line {
margin-top: 3px;
position: absolute;
bottom: 0;
width: 100%;

View File

@ -2,6 +2,7 @@ import './index.less'
import guide from 'img/homePage/guide.png'
import right from 'img/homePage/right-arraw.png'
import titleIcon from 'img/homePage/title-icon.png'
import defaultImg from 'img/homePage/default.png'
import { gethomePageDocList } from '../../utils/request/api'
import { useEffect, useState } from 'react'
@ -46,7 +47,7 @@ function ConferenceGuide() {
})}
<a href="information">查看更多资讯<img src={ right } alt="" /></a>
</div>
<img src={ newsList[0].headImg } alt="" className="right-img"/>
<img src={ newsList[0].headImg || defaultImg } alt="" className="right-img"/>
</>
}
</div>