实训兼容edge

courseware
dinglink 5 years ago
parent 492525dbaf
commit 4cb90430e7

@ -11267,7 +11267,7 @@ Copyright © 2018 Basecamp, LLC
type: "GET",
dataType: "script",
cache: true,
async: false,
async: true,
global: false,
// Only evaluate the response if it is successful (gh-4126)

@ -89,7 +89,7 @@ setpostcookie();
clearAllCookie()
if(timestamp&&checkSubmitFlg===false){
$.ajax({url:proxy,async:false,success:function(data){
$.ajax({url:proxy,async:true,success:function(data){
if(data.status===0){
timestamp=data.message;
setpostcookie();
@ -100,7 +100,7 @@ setpostcookie();
checkSubmitFlg=false;
}, 2000);
}else if(checkSubmitFlg===false){
$.ajax({url:proxy,async:false,success:function(data){
$.ajax({url:proxy,async:true,success:function(data){
if(data.status===0){
timestamp=data.message;
setpostcookie();

@ -92,8 +92,21 @@ class CoursesHomeCard extends Component{
<Tooltip placement="bottom" title={item.school}>
<span className="color-grey-98">{item.school}</span>
</Tooltip>
</p>
<div style={{height:30}}>
{item.teacher_users.length===0?<span className="color-grey-98" style={{marginTop:20}}>
</span>:
<span className="color-grey-98" style={{height:40}}>协作老师
{item.teacher_users&&item.teacher_users.map((iem,idx)=>{
<div style="margin-left: 5px;" v-if={idx<3}>{iem[0]} </div>
})
}
</span>
}
</div>
</div>
<div className="edu-txt-center course-bottom">

@ -81,7 +81,7 @@ class InfosBanner extends Component{
<Tooltip placement='bottom' title={ data && data.authentication ?"已实名认证":"未实名认证"}>
<i className={ data && data.authentication ? "iconfont icon-renzhengshangjia font-18 user-colorgrey-blue":"iconfont icon-renzhengshangjia font-18 user-colorgrey-B8"}></i>
</Tooltip>
</p>
</p>
</div>
<div className="fr">
<div class="fl headtab mt20">

Loading…
Cancel
Save