合并代码

This commit is contained in:
谢思 2022-04-01 15:54:43 +08:00
commit d3419fba42
4 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,12 @@
.qz2022Container{
padding-top:0;
padding-top:0 !important;
background:#fff ;
}
.qz-login{
position: absolute;
right: 20px;
top: 20px;
right: 70px;
top: 0;
color: #fff;
.login-box{
a:hover{

View File

@ -214,7 +214,7 @@ export default Form.create()((props) => {
<Button type="primary" className="submit_info" onClick={applySubmit}>
提交资料
</Button>
<a href={httpUrl+'/busiAttachments/download/391'}><Button className="add_member download ml20">
<a href={'http://osrem.jk:81/api/attachments/1963'}><Button className="add_member download ml20">
下载报名表
</Button></a>
</div>}

View File

@ -33,16 +33,16 @@ function Chat({ form, showNotification, match, history }) {
</div>
{/* style={{display:'flex', width: '1200px', margin:'30px auto',padding: '0 120px',justifyContent: 'space-between', background: 'white'}} */}
{/* style={{display:'flex',alignItems: 'center'}} */}
<div className="links">
<div onClick={() => { window.open('https://fc.osredm.com/forums/theme/107') }}>
<div className="links qz_main">
<div onClick={() => { window.open('http://www.osredm.jk/forums/theme/76') }}>
<img src={chat1}></img>
<div>参赛咨询</div>
</div>
<div onClick={() => { window.open('https://fc.osredm.com/forums/theme/108') }}>
<div onClick={() => { window.open('http://www.osredm.jk/forums/theme/77') }}>
<img src={chat2}></img>
<div>选手交流</div>
</div>
<div onClick={() => { window.open('https://fc.osredm.com/forums/theme/109') }}>
<div onClick={() => { window.open('http://www.osredm.jk/forums/theme/78') }}>
<img src={chat3}></img>
<div>专家答疑</div>
</div>

View File

@ -10,11 +10,11 @@ import '../notice/detail.scss';
export default Form.create()((props) => {
const {history, match:{params:{type}}, qzDetail, setReloadDetail} = props;
const [description, setDescription] = useState(qzDetail && type === "introduce" ? (qzDetail.content) : type === "fingerpost" ? (qzDetail.guide) : (qzDetail && qzDetail.about_us));
const [description, setDescription] = useState(qzDetail && type === "introduce" ? (qzDetail && qzDetail.content) : type === "fingerpost" ? (qzDetail && qzDetail.guide) : (qzDetail && qzDetail.about_us));
const [errorMessage, setErrorMessage] = useState(undefined);
useEffect(()=>{
setDescription(qzDetail && type === "introduce" ? (qzDetail.content) : type === "fingerpost" ? (qzDetail.guide) : (qzDetail && qzDetail.about_us));
setDescription(qzDetail && type === "introduce" ? (qzDetail && qzDetail.content) : type === "fingerpost" ? (qzDetail && qzDetail.guide) : (qzDetail && qzDetail.about_us));
}, [qzDetail])
function submit(){