forked from Gitlink/meeting
修改请求地址/专区配置,优化banner等
This commit is contained in:
parent
023bbe7917
commit
dabcaed87f
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 MiB After Width: | Height: | Size: 11 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 319 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
|
|
@ -29,8 +29,8 @@ export const menu = [
|
|||
]
|
||||
|
||||
export const defaultPage = {
|
||||
'/register': 1410,
|
||||
'/contact': 1411
|
||||
'/register': 300,
|
||||
'/contact': 299
|
||||
}
|
||||
|
||||
export const information = {
|
||||
|
|
@ -92,6 +92,6 @@ export const meetingAgenda = {
|
|||
}
|
||||
|
||||
export const config = {
|
||||
zoneKey: 'kydh',
|
||||
zoneId: 139,
|
||||
zoneKey: 'kydhgw',
|
||||
zoneId: 6,
|
||||
}
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
import './index.less'
|
||||
import { Link, useLocation } from 'umi';
|
||||
import MeetingAgenda from './meetingAgenda';
|
||||
import ConferenceGuide from './conferenceGuide';
|
||||
import Member from './member';
|
||||
import greenRight from 'img/homePage/green-right.png'
|
||||
import titleIcon from 'img/homePage/title-icon.png'
|
||||
import headBanner from 'img/homePage/head-banner.png'
|
||||
import { homePage } from '../../constants/info'
|
||||
import { getBaseInfo, getPartnerList } from '../../utils/request/api'
|
||||
import { useRef, useState, useEffect } from 'react';
|
||||
|
|
@ -99,7 +97,8 @@ function HomePage(){
|
|||
return(
|
||||
<div className="page">
|
||||
<div className="banner">
|
||||
<img src={ headBanner } alt="" />
|
||||
<img src={ mainInfo && mainInfo.bannerList && mainInfo.bannerList.split(',')[0]} alt=""/>
|
||||
{/* <div className='mainTitle'>{mainInfo && mainInfo.mainTitle}</div> */}
|
||||
</div>
|
||||
|
||||
<div className="fixed-menu" style={{ opacity: fixedMenuOpacity }}>
|
||||
|
|
|
|||
|
|
@ -67,11 +67,32 @@
|
|||
.banner {
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.headBanner2{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.mainTitle{
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 54%;
|
||||
transform: translate(-50%, -50%);
|
||||
background-image: url('img/homePage/titleBg.png');
|
||||
font-size: 22px;
|
||||
color: white;
|
||||
width: 22vw;
|
||||
height: 6vh;
|
||||
background-size: 100% 100%;
|
||||
text-align: center;
|
||||
line-height: 5.6vh;
|
||||
letter-spacing: 5px;
|
||||
}
|
||||
}
|
||||
.fixed-menu {
|
||||
position: fixed;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function beforeFetch(){
|
|||
}
|
||||
|
||||
const service = axios.create({
|
||||
// baseURL: 'https://testgetway.trustie.net/',
|
||||
baseURL: 'https://gateway.gitlink.org.cn',
|
||||
timeout: 1800000, // 请求超时时间
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue