dev_sync_trustie
杨树林 5 years ago
parent a8c55e8b28
commit 91f4f9df34

@ -585,6 +585,13 @@
} }
.reglistviewdivss333p {
width: 31px;
font-size: 12px;
color: #666666;
text-align: center;
}
.reglistviewdivss3p { .reglistviewdivss3p {
width: 31px; width: 31px;
font-size: 12px; font-size: 12px;
@ -620,6 +627,17 @@ reglistviewdivs2 {
/*PersonModal.js*/ /*PersonModal.js*/
.yslanswerList {
}
.yslanswerList li {
}
.yslanswerList li:hover {
background-color: #F6F4F4;
}
.permaindiv { .permaindiv {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

@ -877,11 +877,21 @@ class PersonModal extends Component {
alignItems: "center", alignItems: "center",
height: "40px", height: "40px",
}}> }}>
<p className=" reglistviewdivss4p" <style>
{
`
a:hover
{
color: #05101A;
}
`
}
</style>
<a title={item.name} className=" reglistviewdivss4p maxnamewidth90"
style={{ style={{
textAlign: "center", textAlign: "center",
}} }}
>{item.name === undefined || item.name === null || item.name === "" ? "--" : item.name}</p> >{item.name === undefined || item.name === null || item.name === "" ? "--" : item.name}</a>
{ {
index === 0 ? index === 0 ?
<p className=" reglistviewdivss4p" <p className=" reglistviewdivss4p"
@ -890,32 +900,32 @@ class PersonModal extends Component {
}} }}
>创建者</p> >创建者</p>
: :
<p className=" reglistviewdivss4p" <a title={item.type} className=" reglistviewdivss4p maxnamewidth90"
style={{ style={{
textAlign: "center", textAlign: "center",
}} }}
>{item.type === undefined || item.type === null || item.type === "" ? "--" : item.type}</p> >{item.type === undefined || item.type === null || item.type === "" ? "--" : item.type}</a>
} }
<p className=" reglistviewdivss5p" <a title={item.school_name} className=" reglistviewdivss5p maxnamewidth110"
style={{ style={{
textAlign: "center", textAlign: "center",
}} }}
>{item.school_name === undefined || item.school_name === null || item.school_name === "" ? "--" : item.school_name}</p> >{item.school_name === undefined || item.school_name === null || item.school_name === "" ? "--" : item.school_name}</a>
<p className=" reglistviewdivss2p" <a title={item.identity} className=" reglistviewdivss2p maxnamewidth90"
style={{ style={{
textAlign: "center", textAlign: "center",
}} }}
>{item.identity === undefined || item.identity === null || item.identity === "" ? "--" : item.identity}</p> >{item.identity === undefined || item.identity === null || item.identity === "" ? "--" : item.identity}</a>
{ {
index === 0 ? index === 0 ?
<p className=" reglistviewdivss33p" <p className=" reglistviewdivss333p"
style={{ style={{
textAlign: "center", textAlign: "center",
}} }}
></p> ></p>
: :
<p className=" reglistviewdivss33p" <p className=" reglistviewdivss333p"
style={{ style={{
textAlign: "center", textAlign: "center",
}} }}
@ -928,7 +938,8 @@ class PersonModal extends Component {
// console.log(this.props.teamutiple_limited ); // console.log(this.props.teamutiple_limited );
if (teacher_ids) { if (teacher_ids) {
cpersondiv1Items = teacher_ids.map((item, index) => cpersondiv1Items = teacher_ids.map((item, index) =>
<a <div className={"yslanswerList"}>
<li
className={this.props.teamutiple_limited === undefined || this.props.teamutiple_limited === null ? "reglistviewdivss2 " : (this.props.teamutiple_limited === true && item.enrollable === false ? "reglistviewdivss2c" : "reglistviewdivss2 ")} className={this.props.teamutiple_limited === undefined || this.props.teamutiple_limited === null ? "reglistviewdivss2 " : (this.props.teamutiple_limited === true && item.enrollable === false ? "reglistviewdivss2c" : "reglistviewdivss2 ")}
key={index} style={{ key={index} style={{
width: "100%", width: "100%",
@ -1026,16 +1037,16 @@ class PersonModal extends Component {
} }
</li>
</a> </div>
); );
} }
const cpersondiv1 = ( const cpersondiv1 = (
<div className={" backgroundspersondiv cpersondiv1 borders2"}> <div className={" backgroundspersondiv cpersondiv1 borders2"}>
<Spin spinning={false}> <Spin spinning={false}>
<div className={cpersondiv1Items.length === 0 ? "demo-infinite-container33" : "demo-infinite-container2"}> <div
className={cpersondiv1Items.length === 0 ? "demo-infinite-container33 yslanswerList" : "demo-infinite-container2 yslanswerList"}>
{ {
cpersondiv1Items.length === 0 ? cpersondiv1Items.length === 0 ?
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE}/> <Empty image={Empty.PRESENTED_IMAGE_SIMPLE}/>
@ -1062,7 +1073,10 @@ class PersonModal extends Component {
var persondiv2Items = []; var persondiv2Items = [];
if (member_ids) { if (member_ids) {
persondiv2Items = member_ids.map((item, index) => persondiv2Items = member_ids.map((item, index) =>
<a <div className={"yslanswerList"}>
<li
className={this.props.mutiple_limited === undefined || this.props.mutiple_limited === null ? "reglistviewdivss2 " : (this.props.mutiple_limited === true && item.enrollable === false ? "reglistviewdivss2c" : "reglistviewdivss2 ")} className={this.props.mutiple_limited === undefined || this.props.mutiple_limited === null ? "reglistviewdivss2 " : (this.props.mutiple_limited === true && item.enrollable === false ? "reglistviewdivss2c" : "reglistviewdivss2 ")}
key={index} style={{ key={index} style={{
width: "100%", width: "100%",
@ -1159,8 +1173,8 @@ class PersonModal extends Component {
} }
</li>
</a> </div>
); );
} }
const persondiv2 = ( const persondiv2 = (
@ -1205,16 +1219,16 @@ class PersonModal extends Component {
width="620px" width="620px"
> >
<style> {/*<style>*/}
{ {/* {*/}
` {/* `*/}
a:hover {/* a:hover*/}
{ {/* {*/}
background-color:#F6F4F4; {/* background-color:#F6F4F4;*/}
} {/* }*/}
` {/* `*/}
} {/* }*/}
</style> {/*</style>*/}
<div className="permaindiv"> <div className="permaindiv">
{/*队名*/} {/*队名*/}
<style>{ <style>{
@ -1365,7 +1379,7 @@ class PersonModal extends Component {
placeholder="请输入想要队员姓名的任意关键字进行搜索" placeholder="请输入想要队员姓名的任意关键字进行搜索"
onPressEnter={this.startSearch2} onPressEnter={this.startSearch2}
onFocus={this.inputOnFocus2} onFocus={this.inputOnFocus2}
onBlur={this.inputOnBlur2} // onBlur={this.inputOnBlur2}
onChange={(e) => this.studentsonChange(e)} onChange={(e) => this.studentsonChange(e)}
value={this.state.keywordstudents} value={this.state.keywordstudents}
suffix={ suffix={

Loading…
Cancel
Save