杨树林 6 years ago
commit 9726c409a1

@ -1156,7 +1156,6 @@ class Listofworksstudentone extends Component {
this.setState({ this.setState({
data: datalist, data: datalist,
datas: datalists, datas: datalists,
teacherlist: teacherlist,
teacherlists: teacherlists, teacherlists: teacherlists,
loadingstate: false, loadingstate: false,
styletable: styletable, styletable: styletable,

@ -82,7 +82,7 @@
margin-left: -154px; margin-left: -154px;
text-align: center; text-align: center;
} }
.inline{ .inlines{
display: inline-block; display: inline-block;
width: auto; width: auto;
line-height: 26px; line-height: 26px;

@ -168,7 +168,7 @@ class TaskResultLayer extends Component {
<i className="far fa-times-circle closeIcon" onClick={closeTaskResultLayer} title="关闭"></i> <i className="far fa-times-circle closeIcon" onClick={closeTaskResultLayer} title="关闭"></i>
<img src={isLastGame? passallImg : passpartImg} width="652px" className="passTaskImg"/> <img src={isLastGame? passallImg : passpartImg} width="652px" className="passTaskImg"/>
<div className="winpPerson expGold"> <div className="winpPerson expGold">
<p className="inline"><span className=" goldring"/> <p className="inline inlines"><span className=" goldring"/>
{currentPassedGameGainGold >= 0 ? `+${currentPassedGameGainGold}` : '+0'} {currentPassedGameGainGold >= 0 ? `+${currentPassedGameGainGold}` : '+0'}
</p> </p>
<p className="inline exp"> <p className="inline exp">

@ -5,9 +5,10 @@ export function loadSshScript(callback) {
let prefix = 'react/build' let prefix = 'react/build'
if (window.location.port == 3007) { if (window.location.port == 3007) {
prefix = '' prefix = ''
_url_origin = 'https://newweb.educoder.net/';
} else { } else {
// _url_origin = `https://testeduplus2.educoder.net/`; // _url_origin = `https://testeduplus2.educoder.net/`;
_url_origin = ''; _url_origin = '/';
} }
const $ = window.$; const $ = window.$;
// 未加载过 // 未加载过

@ -18,8 +18,11 @@ import Trialapplication from "../login/Trialapplication";
const $ = window.$; const $ = window.$;
const versionNum = '0001'; const versionNum = '0001';
// let _url_origin = getUrl() // let _url_origin = getUrl()
console.log(this.props)
let _url_origin=''; let _url_origin='';
if(window.location.port === "3007"){
_url_origin="https://newweb.educoder.net";
}
// let _url_origin=`https://www.educoder.net`; // let _url_origin=`https://www.educoder.net`;
if (!window['indexHOCLoaded']) { if (!window['indexHOCLoaded']) {

Loading…
Cancel
Save