cla协议签署增加tips以及跳转链接
This commit is contained in:
parent
9ff5a32770
commit
413044e286
|
|
@ -44,21 +44,19 @@ export function initAxiosInterceptors(props) {
|
|||
}
|
||||
requestProxy(config);
|
||||
let url = `/api${config.url}`;
|
||||
|
||||
// if (`${config[0]}` !== `true`) {
|
||||
// if (window.location.port === "3007") {
|
||||
// config.url = `${proxy}${url}`;
|
||||
// if (config.url.indexOf('?') === -1) {
|
||||
// config.url = `${config.url}?debug=${debugType}`;
|
||||
// } else {
|
||||
// config.url = `${config.url}&debug=${debugType}`;
|
||||
// }
|
||||
// } else {
|
||||
// config.url = url;
|
||||
// }
|
||||
// }
|
||||
|
||||
if (window.location.port === "3007") {
|
||||
config.url = `${proxy}${url}`;
|
||||
if (config.url.indexOf('?') === -1) {
|
||||
config.url = `${config.url}?debug=admin`;
|
||||
} else {
|
||||
config.url = `${config.url}&debug=admin`;
|
||||
}
|
||||
} else {
|
||||
config.url = url;
|
||||
}
|
||||
config.withCredentials = false;
|
||||
config.url = url;
|
||||
// config.url = url;
|
||||
return config;
|
||||
},
|
||||
err => {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
import React,{ forwardRef, useState , useEffect } from 'react';
|
||||
import '../teamSetting.scss';
|
||||
import RenderHtml from '../../../../components/render-html';
|
||||
import img1 from '../../../Images/personalInfo3.png';
|
||||
import { Button , Form , Input , Spin } from 'antd';
|
||||
import { getImageUrl } from 'educoder';
|
||||
import { Link } from 'react-router-dom';
|
||||
import axios from 'axios';
|
||||
|
||||
|
||||
|
|
@ -74,6 +76,7 @@ function CLAinfos(props){
|
|||
</div>
|
||||
</div>
|
||||
<div style={{margin:"0px auto",width:"1200px",paddingBottom:"50px"}}>
|
||||
<div className='emailTips mb20 mt20'><img src={img1} alt="" width={16} className='mr10'/>请确保您填写的为有效邮箱,<Link to={`/settings/emails`}>前往更新邮箱地址</Link></div>
|
||||
{details.is_sign && <div className="wirtes_tips"><span>您已签署协议,可在“个人设置 > 我的 CLA”中查看和管理本协议</span></div> }
|
||||
<div className="cla_c">
|
||||
<p className="cla_c_title">协议内容</p>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,23 @@
|
|||
margin:20px 0px!important;
|
||||
}
|
||||
}
|
||||
.emailTips{
|
||||
height: 45px;
|
||||
background-color:#fff5eb;
|
||||
border:1px solid #ffa13a;
|
||||
border-radius:2px;
|
||||
padding: 7px 20px;
|
||||
letter-spacing: 1.5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-image: url('../../Images/personalInfo2.png');
|
||||
background-size: 100% 100%;
|
||||
border: none;
|
||||
color:#181818;
|
||||
a{
|
||||
color:#ffa13a;
|
||||
}
|
||||
}
|
||||
.cla_list_box{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
|
|
|||
Loading…
Reference in New Issue