dev_forum
杨树明 5 years ago
parent a938ecb5a9
commit d62aff6452

@ -11,10 +11,11 @@
float: left;
width: 97px;}
.head-nav{
float: left;
text-align: center;
height: 60px;
box-sizing: border-box;
min-width: 1000px;
min-width: 1200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

@ -20,16 +20,16 @@ function locationurl(list){
// TODO 开发期多个身份切换
let debugType =""
// if (isDev) {
// const _search = window.location.search;
// let parsed = {};
// if (_search) {
// parsed = queryString.parse(_search);
// }
// debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' :
// window.location.search.indexOf('debug=s') != -1 ? 'student' :
// window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin'
// }
if (isDev) {
const _search = window.location.search;
let parsed = {};
if (_search) {
parsed = queryString.parse(_search);
}
debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' :
window.location.search.indexOf('debug=s') != -1 ? 'student' :
window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin'
}
window._debugType = debugType;
export function initAxiosInterceptors(props) {

@ -713,6 +713,10 @@ submittojoinclass=(value)=>{
><a href={this.props.Headertop===undefined?"":this.props.Headertop.auth}>工程认证</a></li>
</ul>
</div>
</div>
<style>
{
`
@ -722,7 +726,7 @@ submittojoinclass=(value)=>{
top: -2px;
background: #fff;
z-index: 2;
right: -241px;
right: 185px;
}
`
}
@ -771,10 +775,6 @@ submittojoinclass=(value)=>{
</div>
</div>
</div>
</div>
{/*<span className="font-15 fr mt17">
<%= link_to '登录', signin_path, :className => "mr5" %>
<em className="vertical-line"></em>

@ -20,7 +20,7 @@ const versionNum = '0001';
// let _url_origin = getUrl()
let _url_origin='';
if(window.location.port === "3007"){
_url_origin="https://newweb.educoder.net";
_url_origin="http://47.96.87.25:48080/";
}
// let _url_origin=`https://www.educoder.net`;

@ -15,7 +15,7 @@
text-align: center;
height: 60px;
box-sizing: border-box;
min-width: 1000px;
min-width: 1200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;

Loading…
Cancel
Save