Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into develop

dev_home
杨树明 5 years ago
commit 160ea730fc

@ -26,9 +26,11 @@ $(document).on('turbolinks:load', function() {
var managerGroupName = $link.data('name'); var managerGroupName = $link.data('name');
if(managerGroupId && managerGroupId !== ''){ if(managerGroupId && managerGroupId !== ''){
$managerGroupModal.find('.modal-title').html('重命名');
$managerGroupIdInput.val(managerGroupId); $managerGroupIdInput.val(managerGroupId);
$managerGroupNameInput.val(managerGroupName) $managerGroupNameInput.val(managerGroupName)
} else { } else {
$managerGroupModal.find('.modal-title').html('新建');
$managerGroupIdInput.val(''); $managerGroupIdInput.val('');
$managerGroupNameInput.val(''); $managerGroupNameInput.val('');
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -25595,7 +25595,6 @@ input.form-control {
/* line 134, app/assets/stylesheets/admins/common.scss */ /* line 134, app/assets/stylesheets/admins/common.scss */
.admin-body-container .batch-action-container { .admin-body-container .batch-action-container {
margin-bottom: -15px;
padding: 10px 20px 0; padding: 10px 20px 0;
background: #fff; background: #fff;
} }

@ -115615,9 +115615,11 @@ $(document).on('turbolinks:load', function() {
var managerGroupName = $link.data('name'); var managerGroupName = $link.data('name');
if(managerGroupId && managerGroupId !== ''){ if(managerGroupId && managerGroupId !== ''){
$managerGroupModal.find('.modal-title').html('重命名');
$managerGroupIdInput.val(managerGroupId); $managerGroupIdInput.val(managerGroupId);
$managerGroupNameInput.val(managerGroupName) $managerGroupNameInput.val(managerGroupName)
} else { } else {
$managerGroupModal.find('.modal-title').html('新建');
$managerGroupIdInput.val(''); $managerGroupIdInput.val('');
$managerGroupNameInput.val(''); $managerGroupNameInput.val('');
} }

@ -17016,7 +17016,6 @@ input.form-control {
/* line 126, app/assets/stylesheets/colleges/common.scss */ /* line 126, app/assets/stylesheets/colleges/common.scss */
.college-body-container .batch-action-container { .college-body-container .batch-action-container {
margin-bottom: -15px;
padding: 10px 20px 0; padding: 10px 20px 0;
background: #fff; background: #fff;
} }

@ -25145,7 +25145,6 @@ input.form-control {
/* line 126, app/assets/stylesheets/cooperative/common.scss */ /* line 126, app/assets/stylesheets/cooperative/common.scss */
.cooperative-body-container .batch-action-container { .cooperative-body-container .batch-action-container {
margin-bottom: -15px;
padding: 10px 20px 0; padding: 10px 20px 0;
background: #fff; background: #fff;
} }

@ -59,7 +59,7 @@ class RegisListviewdata extends React.Component {
marginLeft: "37px", marginLeft: "37px",
width: "160px", width: "160px",
textAlign: "center", textAlign: "center",
}} className="textsize"> }} className="textsize maxnamewidth160">
{ {
this.props.admin? this.props.admin?
this.props.admin===true? this.props.admin===true?
@ -135,12 +135,13 @@ class RegisListviewdata extends React.Component {
marginLeft: "41px", marginLeft: "41px",
width: "134px", width: "134px",
marginTop: "29px", marginTop: "29px",
}}> textAlign: "center",
<p className="maxnamewidth134" style={{ }} className="maxnamewidth134">
<a className="maxnamewidth134" title={item.school_name} style={{
color: "#05101A", color: "#05101A",
fontSize: "16px", fontSize: "16px",
textAlign: "center" textAlign: "center"
}}>{item.school_name}</p> }}>{item.school_name}</a>
</div> </div>
<div style={{ <div style={{
marginLeft: "37px", marginLeft: "37px",

@ -86,17 +86,19 @@ class PersonalCompetititem extends React.Component {
}}>{item.creator.name}</a> }}>{item.creator.name}</a>
</div> </div>
<div className=" " style={{ <div className=" maxnamewidth160" style={{
marginTop: "29px", marginTop: "29px",
marginLeft: "37px" marginLeft: "37px",
}}> width: "160px",
<p className="maxnamewidth160" style={{ textAlign: "center"
}} >
<a className="maxnamewidth160" title={item.name} style={{
color: "#05101A", color: "#05101A",
fontSize: "16px", fontSize: "16px",
width: "160px", width: "160px",
textAlign: "center" textAlign: "center"
}}>{item.name}</p> }}>{item.name}</a>
</div> </div>
{this.props.type === 5 || this.props.type === 2 ? {this.props.type === 5 || this.props.type === 2 ?
(this.props.mode === 3 ? (this.props.mode === 3 ?

@ -131,8 +131,6 @@ class CompetitionContents extends Component{
} }
{chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<3?"":chartdata.teams.map((item,key)=>{ {chartdata===undefined?"":chartdata.teams.length===0||chartdata.teams.length<3?"":chartdata.teams.map((item,key)=>{
if(key>2){
let list={ let list={
usersum:key+1, usersum:key+1,
userimg:item.user_image, userimg:item.user_image,
@ -143,7 +141,6 @@ class CompetitionContents extends Component{
user_login:item.user_login user_login:item.user_login
} }
datas.push(list) datas.push(list)
}
})} })}
// console.log(this.props&&this.props.mode) // console.log(this.props&&this.props.mode)

@ -192,7 +192,7 @@ render() {
{ {
list.tags.map((tag,e)=>{ list.tags.map((tag,e)=>{
return( return(
<a className={parseInt(shixunchildValues)===tag.id?"shixun_repertoire active":"shixun_repertoire"} key={e} id={tag.id} name={id} title="subshaicontentshow" rel="subshaicontent" onClick={this.getshixunchildValues}>{tag.name}</a> <a className={parseInt(shixunchildValues)===tag.id?"shixun_repertoire active":"shixun_repertoire"} key={e} id={tag.id} name={id} rel="subshaicontent" onClick={this.getshixunchildValues}>{tag.name}</a>
) )
}) })
} }

Loading…
Cancel
Save