dev_aliyun_beta
杨树林 5 years ago
parent f230cf8a11
commit 601f4439ef

@ -266,7 +266,7 @@ class PollNewQuestbank extends Component {
this.setState({ this.setState({
projects: result.data, projects: result.data,
pollid: pollid, pollid: pollid,
polls_status: 1, polls_status: result.data.poll.is_public===false?1:2,
polls_name: result.data.poll.name, polls_name: result.data.poll.name,
polls_description: result.data.poll.description, polls_description: result.data.poll.description,
poll_questions: result.data.questions, poll_questions: result.data.questions,
@ -315,7 +315,7 @@ class PollNewQuestbank extends Component {
this.setState({ this.setState({
projects: result.data, projects: result.data,
pollid: pollid, pollid: pollid,
polls_status: 1, polls_status: result.data.poll.is_public===false?1:2,
polls_name: result.data.poll.name, polls_name: result.data.poll.name,
polls_description: result.data.poll.description, polls_description: result.data.poll.description,
poll_questions: result.data.questions, poll_questions: result.data.questions,
@ -673,7 +673,7 @@ class PollNewQuestbank extends Component {
{"answer_id": 2, "answer_position": 2, "answer_text": ""}, {"answer_id": 2, "answer_position": 2, "answer_text": ""},
{"answer_id": 3, "answer_position": 3, "answer_text": ""}, {"answer_id": 3, "answer_position": 3, "answer_text": ""},
{"answer_id": 4, "answer_position": 4, "answer_text": ""}, {"answer_id": 4, "answer_position": 4, "answer_text": ""},
// {"answer_id": 5, "answer_position": 5, "answer_text": "其他"}, {"answer_id": 5, "answer_position": 5, "answer_text": "其他"},
] ]
}; };
question = {"question": questiontwo}; question = {"question": questiontwo};
@ -767,7 +767,7 @@ class PollNewQuestbank extends Component {
{"answer_id": 2, "answer_position": 2, "answer_text": ""}, {"answer_id": 2, "answer_position": 2, "answer_text": ""},
{"answer_id": 3, "answer_position": 3, "answer_text": ""}, {"answer_id": 3, "answer_position": 3, "answer_text": ""},
{"answer_id": 4, "answer_position": 4, "answer_text": ""}, {"answer_id": 4, "answer_position": 4, "answer_text": ""},
// {"answer_id": 5, "answer_position": 5, "answer_text": "其他"}, {"answer_id": 5, "answer_position": 5, "answer_text": "其他"},
] ]
}; };
question = {"question": questiontwo}; question = {"question": questiontwo};
@ -823,6 +823,7 @@ class PollNewQuestbank extends Component {
problemtopicbool: false, problemtopicbool: false,
bindingid:undefined, bindingid:undefined,
Newdisplay:false, Newdisplay:false,
newoption: false,
}) })
}else{ }else{
@ -832,6 +833,7 @@ class PollNewQuestbank extends Component {
problemtopic: null, problemtopic: null,
problemtopicbool: false, problemtopicbool: false,
Newdisplay:false, Newdisplay:false,
newoption: false,
}) })
} }
@ -1775,7 +1777,7 @@ class PollNewQuestbank extends Component {
createquestionsandanswers = (object, number, option, other, max_choices, min_choices, insert_id) => { createquestionsandanswers = (object, number, option, other, max_choices, min_choices, insert_id) => {
var thiss = this; var thiss = this;
var poll_id = this.state.pollid; var poll_id = this.state.pollid;
var urlly = `/polls/${poll_id}/poll_questions.json` var urlly = `/poll_bank_questions.json`;
var max_choicess = null; var max_choicess = null;
var min_choicess = null; var min_choicess = null;
if (max_choices === 0 && min_choices === 0) { if (max_choices === 0 && min_choices === 0) {
@ -1786,6 +1788,7 @@ class PollNewQuestbank extends Component {
min_choicess = min_choices; min_choicess = min_choices;
} }
axios.post(urlly, { axios.post(urlly, {
exercise_bank_id:poll_id,
question_title: object.question.question_title, question_title: object.question.question_title,
question_type: number, question_type: number,
is_necessary: object.question.is_necessary, is_necessary: object.question.is_necessary,
@ -1823,7 +1826,7 @@ class PollNewQuestbank extends Component {
///编辑修改到服务器当中 ///编辑修改到服务器当中
edittotheserver = (object, number, option, other, max_choices, min_choices) => { edittotheserver = (object, number, option, other, max_choices, min_choices) => {
// console.log("调用了edittotheserver") // console.log("调用了edittotheserver")
var url = `/poll_questions/${object.question.id}.json` var url = `/poll_bank_questions/${object.question.id}.json`
var thiss = this; var thiss = this;
axios.put(url, { axios.put(url, {
// debug: true, // debug: true,
@ -1851,7 +1854,7 @@ class PollNewQuestbank extends Component {
eletetoserver = (pollid, newarr, type, index) => { eletetoserver = (pollid, newarr, type, index) => {
// console.log("调用了eletetoserver") // console.log("调用了eletetoserver")
var id = pollid; var id = pollid;
var url = `/poll_questions/${id}.json` var url = `/exercise_bank_questions/${id}.json`
let {mysingles, mydoubles, mymainsint} = this.state let {mysingles, mydoubles, mymainsint} = this.state
var thiss = this; var thiss = this;
@ -1893,7 +1896,7 @@ class PollNewQuestbank extends Component {
var thiss = this; var thiss = this;
if (bool === true) { if (bool === true) {
var url = `/exercise_bank_questions/${poll_question_id}/up_down.json`; var url = `/exercise_bank_questions/${poll_question_id}/up_down.json`;
axios.post(url, { axios.put(url, {
opr: "up", opr: "up",
}).then((result) => { }).then((result) => {
try { try {
@ -1910,7 +1913,7 @@ class PollNewQuestbank extends Component {
}) })
} else { } else {
var url = `/exercise_bank_questions/${poll_question_id}/up_down.json`; var url = `/exercise_bank_questions/${poll_question_id}/up_down.json`;
axios.post(url, { axios.put(url, {
opr: "down", opr: "down",
}).then((result) => { }).then((result) => {
try { try {
@ -2444,7 +2447,7 @@ class PollNewQuestbank extends Component {
} }
//试图 //试图
toWorkDetail = () => { toWorkDetail = () => {
this.props.history.push(`/banks/poll/${this.props.match.params.workId}`); this.props.history.push(`/banks/poll/${this.props.match.params.workId} `);
this.props.initPublic(undefined); this.props.initPublic(undefined);
} }
@ -2707,7 +2710,7 @@ class PollNewQuestbank extends Component {
console.log(this.state.poll_questions); console.log(this.state.poll_questions);
console.log(this.state.adddom); console.log(this.state.adddom);
let resultDom; let resultDom;
resultDom = <div> resultDom = <div id={"biaoshipolll1111111"}>
<p className="clearfix font-16"> <p className="clearfix font-16">
<span className="color-grey-6 fl">{index + 1}</span> <span className="color-grey-6 fl">{index + 1}</span>
<span <span
@ -2785,7 +2788,7 @@ class PollNewQuestbank extends Component {
</div> </div>
return ( return (
<div> <div id={"biaoshipolll222"}>
{/*这里是编辑和新增的地方*/} {/*这里是编辑和新增的地方*/}
{ {
this.state.bindingid && this.state.bindingid===item.question.id? this.state.bindingid && this.state.bindingid===item.question.id?
@ -2798,6 +2801,7 @@ class PollNewQuestbank extends Component {
resultDomtwo = resultDomtwo =
<div > <div >
<span <span
id={"ceshiyong3"}
className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"} className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"}
<Checkbox value={itemo.question.is_necessary} <Checkbox value={itemo.question.is_necessary}
checked={itemo.question.is_necessary === 1 ? true : false} checked={itemo.question.is_necessary === 1 ? true : false}
@ -2825,21 +2829,36 @@ class PollNewQuestbank extends Component {
<div></div>) : itemt.answer_text === "" ? ( <div></div>) : itemt.answer_text === "" ? (
<p className="df mb20"> <p className="df mb20">
<span <span
className="color-grey-6 mr3 w60 font-16 lineh-40" className="color-grey-6 mr3 w55 font-16 lineh-40"
style={{"text-align": "center"}}>其它</span> style={{"text-align": "center"}}>其它</span>
<input <input
className="mr20 input-flex-40 TextAreainput" disabled className="mr20 max1010 input-flex-40 TextAreainput" disabled
placeholder='无法编辑!将由参与答题的人手动录入'></input> placeholder='无法编辑!将由参与答题的人手动录入'></input>
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
itemo.question.question_type === 1?(
indext>1?
<span>
{
itemo.question.question_type === 2 ?"":
<a className="lineh-40" <a className="lineh-40"
onClick={() => this.Deleteentrys(arrid, indext, true)}><Tooltip onClick={() => this.Deleteentrys(arrid, indext, true)}><Tooltip
title="删除" title="删除"
placement={"bottom"}><i placement={"bottom"}><i
className="iconfont icon-htmal5icon19 font-20 color-grey-c"></i></Tooltip></a> className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
: ""} }
<a className="lineh-40 ml10 yw18"
><Tooltip
placement={"bottom"}><i
className="color-green font-18 iconfont "></i></Tooltip></a>
</span>
:"")
: "":""}
</p>) : (<p className="df mb20"> </p>) : (<p className="df mb20">
<span className="color-grey-6 mr10 w60 font-16 lineh-40" <span className="color-grey-6 mr5 w55 font-16 lineh-40"
style={{"text-align": "center"}}>选项</span> style={{"text-align": "center"}}>选项</span>
<TextArea <TextArea
@ -2847,17 +2866,40 @@ class PollNewQuestbank extends Component {
className="mr20 TextAreas" className="mr20 TextAreas"
value={itemt.answer_text} value={itemt.answer_text}
style={{ style={{
"height": "45px", maxWidth: "1010px",
"max-height": "9.0072e+15px", height: "45px",
maxHeight: "9.0072e+15px",
"overflow-y": "hidden", "overflow-y": "hidden",
"line-height": "35px", lineHeight: "35px",
}} }}
onInput={(e) => this.HandleInputChanges(e, indexo, indext)}></TextArea> onInput={(e) => this.HandleInputChanges(e, indexo, indext)}></TextArea>
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
<a className="lineh-40" indext>1?
<span>
<a className="lineh-40 mr"
onClick={() => this.Deleteentrys(arrid, indext, false)}><Tooltip onClick={() => this.Deleteentrys(arrid, indext, false)}><Tooltip
title="删除" placement={"bottom"}><i title="删除" placement={"bottom"}><i
className="iconfont icon-htmal5icon19 font-20 color-grey-c"></i></Tooltip></a> className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
{
itemo.question.answers[itemo.question.answers.length-1].answer_text === "其他"&&itemo.question.answers.length-2===indext?
<a className="lineh-40 "
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增" placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
: itemo.question.answers.length-1===indext?
<a className="lineh-40 "
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增" placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
: <a className="lineh-40 yw18"
></a>
}
</span>
:indext===1&&itemo.question.answers.length===2||indext===1&&itemo.question.answers.length===3?<a className="lineh-40 mr10"
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增" placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>:""
: ""} : ""}
</p>)} </p>)}
</div> </div>
@ -2867,26 +2909,26 @@ class PollNewQuestbank extends Component {
<div className="df"> <div className="df">
{itemo.question.question_type === 1 ? ( {itemo.question.question_type === 1 ? (
<div> <div>
<div style={{minWidth: "1100px"}}> {/*<ActionBtn style="grey" className="mr20 mt5"*/}
{/* onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>*/}
<div style={{minWidth: "1138px"}}>
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
<ActionBtn style="grey" className="mr20 mt5" ""
onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>
: ""} : ""}
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
(this.state.newoption === false ? (this.state.newoption === false ?
<ActionBtn style="grey" className="mr20 mt5" <ActionBtn style="grey" className="ml61 mt5"
onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> onClick={() => this.Addanotheroption(itemo.question.id)}>添加[其它]选项</ActionBtn>
: "") : "")
: ""} : ""}
<span className="fr mt5"> <span className="fr mt5">
<ActionBtn style="greyBack" className="mr20 w100" <ActionBtn style="greyBack" className="mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> onClick={() => this.Deleteadddomtwo(indexo, itemo,true)} >保存并继续</ActionBtn>
<ActionBtn style="blue" className=" w100" <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存并退出 </ActionBtn>
</span> </span>
</div> </div>
</div> </div>
@ -2897,8 +2939,8 @@ class PollNewQuestbank extends Component {
: itemo.question.question_type === 2 ? ( : itemo.question.question_type === 2 ? (
//////////////////////////////////////////// 可选 //////////////////////////////////////////// 可选
<div> <div >
<div style={{minWidth: "1100px"}}> <div style={{minWidth: "1179px"}}>
<div> <div>
<span <span
className="color-grey-6 mr20 font-16 lineh-40 fl">可选</span> className="color-grey-6 mr20 font-16 lineh-40 fl">可选</span>
@ -2950,6 +2992,14 @@ class PollNewQuestbank extends Component {
className="ml10 mr20 color-grey-6 lineh-40 fl font-16"></span> className="ml10 mr20 color-grey-6 lineh-40 fl font-16"></span>
<span <span
className="color-grey-9 fl lineh-40">学生答题时系统对其选择的选项个数进行限制--表示不限制</span> className="color-grey-9 fl lineh-40">学生答题时系统对其选择的选项个数进行限制--表示不限制</span>
<span className="fr mt5">
<ActionBtn style="greyBack" className=" mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续 </ActionBtn>
<ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存并退出</ActionBtn>
</span>
</div> </div>
</div> </div>
@ -2957,60 +3007,60 @@ class PollNewQuestbank extends Component {
</div> </div>
) )
: (<div style={{minWidth: "1100px"}}></div>) : (<div style={{minWidth: "1179px"}}></div>)
} }
</div> </div>
<div> <div>
{itemo.question.question_type === 2 ? {itemo.question.question_type === 2 ?
( // (
this.state.polls_status === undefined || this.state.polls_status === 1 ? // this.state.polls_status === undefined || this.state.polls_status === 1 ?
<div className="clearfix mt30" > // <div className="clearfix mt30" >
//
<div><ActionBtn style="grey" className="mr20 fl mt5" // {/*<div><ActionBtn style="grey" className="mr20 fl mt5"*/}
onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn> // {/* onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>*/}
//
{ // {/* {*/}
this.state.newoption === false ? <ActionBtn style="grey" className="mr20 fl mt5" // {/* this.state.newoption === false ? <ActionBtn style="grey" className="mr20 fl mt5"*/}
onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> : "" // {/* onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> : ""*/}
} // {/* }*/}
//
</div> // {/*</div>*/}
//
//
<span className="fr mt5"> // <span className="fr mt5">
<ActionBtn style="greyBack" className=" mr20 w100" // <ActionBtn style="greyBack" className=" mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> // onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" // <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> // onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续 </ActionBtn>
<ActionBtn style="blue" className=" w100" // <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> // onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存并退出</ActionBtn>
</span> // </span>
</div> // </div>
//
//
: // :
<div className="clearfix mt30" > // <div className="clearfix mt30" >
<span className="fr mt5"> // <span className="fr mt5">
<ActionBtn style="greyBack" className=" mr20 w100" // <ActionBtn style="greyBack" className=" mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> // onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" // <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> // onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn>
<ActionBtn style="blue" className=" w100" // <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> // onClick={() => this.Deleteadddomthree(indexo, itemo,true)}> 保存并退出</ActionBtn>
</span> // </span>
</div> // </div>
) // )
""
: itemo.question.question_type === 3 ? : itemo.question.question_type === 3 ?
<div className="clearfix mt30" > <div className="clearfix mt30" >
<span className="fr"> <span className="fr">
<ActionBtn style="greyBack" className="mr20 w100" <ActionBtn style="greyBack" className="mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续 </ActionBtn>
<ActionBtn style="blue" className=" w100" <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存并退出</ActionBtn>
</span> </span>
</div> </div>
: :
@ -3041,6 +3091,7 @@ class PollNewQuestbank extends Component {
resultDomtwo = resultDomtwo =
<div > <div >
<span <span
id={"ceshiyong1"}
className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"} className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"}
<Checkbox value={itemo.question.is_necessary} <Checkbox value={itemo.question.is_necessary}
checked={itemo.question.is_necessary === 1 ? true : false} checked={itemo.question.is_necessary === 1 ? true : false}
@ -3062,27 +3113,49 @@ class PollNewQuestbank extends Component {
onInput={(e) => this.HandleInputTopic(e, indexo)}>{itemo.question.question_title}</TextArea> onInput={(e) => this.HandleInputTopic(e, indexo)}>{itemo.question.question_title}</TextArea>
{itemo.question.answers === undefined ? "" : itemo.question.answers.map((itemt, indext) => { {itemo.question.answers === undefined ? "" : itemo.question.answers.map((itemt, indext) => {
console.log("chishiyong1");
console.log( itemo.question.answers[itemo.question.answers.length - 1]);
return ( return (
<div> <div>
{itemt.answer_text === undefined ? ( {itemt.answer_text === undefined ? (
<div></div>) : itemt.answer_text === "" ? ( <div></div>) : itemt.answer_text === "" ? (
<p className="df mb20"> <p className="df mb20">
<span <span
className="color-grey-6 mr3 w60 font-16 lineh-40" className="color-grey-6 mr3 w55 font-16 lineh-40"
style={{"text-align": "center"}}>其它</span> style={{"text-align": "center"}}>其它</span>
<input <input
className="mr20 input-flex-40 TextAreainput" disabled className="mr20 max1010 input-flex-40 TextAreainput" disabled
placeholder='无法编辑!将由参与答题的人手动录入'></input> placeholder='无法编辑!将由参与答题的人手动录入'></input>
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
<a className="lineh-40" indext>1?
<span>
{
itemo.question.question_type === 2?"":
<a className="lineh-40 mr10"
onClick={() => this.Deleteentrys(arrid, indext, true)}><Tooltip onClick={() => this.Deleteentrys(arrid, indext, true)}><Tooltip
title="删除" title="删除"
placement={"bottom"}><i placement={"bottom"}><i
className="iconfont icon-htmal5icon19 font-20 color-grey-c"></i></Tooltip></a> className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
}
{/* {*/}
{/* itemo.question.answers.length-1=== indext?*/}
{/* <a className="lineh-40 "*/}
{/* onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip*/}
{/* title="新增"*/}
{/* placement={"bottom"}><i*/}
{/* className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>*/}
{/*: <a className="lineh-40 yw18"*/}
{/* ><Tooltip*/}
{/* placement={"bottom"}><i*/}
{/* className="color-green font-18 iconfont "></i></Tooltip></a>*/}
{/* }*/}
</span>
:""
: ""} : ""}
</p>) : (<p className="df mb20"> </p>) : (<p className="df mb20">
<span className="color-grey-6 mr10 w60 font-16 lineh-40" <span className="color-grey-6 mr5 w55 font-16 lineh-40"
style={{"text-align": "center"}}>选项</span> style={{"text-align": "center"}}>选项</span>
<TextArea <TextArea
@ -3090,17 +3163,40 @@ class PollNewQuestbank extends Component {
className="mr20 TextAreas" className="mr20 TextAreas"
value={itemt.answer_text} value={itemt.answer_text}
style={{ style={{
"height": "45px", maxWidth: "1010px",
"max-height": "9.0072e+15px", height: "45px",
maxHeight: "9.0072e+15px",
"overflow-y": "hidden", "overflow-y": "hidden",
"line-height": "35px", lineHeight: "35px",
}} }}
onInput={(e) => this.HandleInputChanges(e, indexo, indext)}></TextArea> onInput={(e) => this.HandleInputChanges(e, indexo, indext)}></TextArea>
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
<a className="lineh-40" indext>1?
<span>
<a className="lineh-40 mr10"
onClick={() => this.Deleteentrys(arrid, indext, false)}><Tooltip onClick={() => this.Deleteentrys(arrid, indext, false)}><Tooltip
title="删除" placement={"bottom"}><i title="删除" placement={"bottom"}><i
className="iconfont icon-htmal5icon19 font-20 color-grey-c"></i></Tooltip></a> className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
{
itemo.question.answers[itemo.question.answers.length - 1].answer_text==="其他"&&itemo.question.answers.length - 2 === indext ?
<a className="lineh-40 "
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增" placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
: itemo.question.answers.length - 1 === indext ?
<a className="lineh-40 "
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增" placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
:
<a className="lineh-40 yw18"
></a>
}
</span>
:indext===1&&itemo.question.answers.length===2||indext===1&&itemo.question.answers.length===3? <a className="lineh-40 mr10"
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增" placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>:""
: ""} : ""}
</p>)} </p>)}
</div> </div>
@ -3110,26 +3206,26 @@ class PollNewQuestbank extends Component {
<div className="df"> <div className="df">
{itemo.question.question_type === 1 ? ( {itemo.question.question_type === 1 ? (
<div> <div>
<div style={{minWidth: "1100px"}}> {/*<ActionBtn style="grey" className="mr20 mt5"*/}
{/* onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>*/}
<div style={{minWidth: "1138px"}}>
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
<ActionBtn style="grey" className="mr20 mt5" ""
onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>
: ""} : ""}
{this.state.polls_status === undefined || this.state.polls_status === 1 ? {this.state.polls_status === undefined || this.state.polls_status === 1 ?
(this.state.newoption === false ? (this.state.newoption === false ?
<ActionBtn style="grey" className="mr20 mt5" <ActionBtn style="grey" className="ml61 mt5"
onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> onClick={() => this.Addanotheroption(itemo.question.id)}>添加[其它]选项</ActionBtn>
: "") : "")
: ""} : ""}
<span className="fr mt5"> <span className="fr mt5">
<ActionBtn style="greyBack" className="mr20 w100" <ActionBtn style="greyBack" className="mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续 </ActionBtn>
<ActionBtn style="blue" className=" w100" <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存并退出</ActionBtn>
</span> </span>
</div> </div>
</div> </div>
@ -3141,7 +3237,7 @@ class PollNewQuestbank extends Component {
: itemo.question.question_type === 2 ? ( : itemo.question.question_type === 2 ? (
//////////////////////////////////////////// 可选 //////////////////////////////////////////// 可选
<div> <div>
<div style={{minWidth: "1100px"}}> <div style={{minWidth: "1179px"}}>
<div> <div>
<span <span
className="color-grey-6 mr20 font-16 lineh-40 fl">可选</span> className="color-grey-6 mr20 font-16 lineh-40 fl">可选</span>
@ -3193,6 +3289,15 @@ class PollNewQuestbank extends Component {
className="ml10 mr20 color-grey-6 lineh-40 fl font-16"></span> className="ml10 mr20 color-grey-6 lineh-40 fl font-16"></span>
<span <span
className="color-grey-9 fl lineh-40">学生答题时系统对其选择的选项个数进行限制--表示不限制</span> className="color-grey-9 fl lineh-40">学生答题时系统对其选择的选项个数进行限制--表示不限制</span>
<span className="fr mt5">
<ActionBtn style="greyBack" className=" mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}
>保存并继续 </ActionBtn>
<ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存并退出</ActionBtn>
</span>
</div> </div>
</div> </div>
@ -3200,60 +3305,64 @@ class PollNewQuestbank extends Component {
</div> </div>
) )
: (<div style={{minWidth: "1100px"}}></div>) : (<div style={{minWidth: "1179px"}}></div>)
} }
</div> </div>
<div> <div>
{itemo.question.question_type === 2 ? {itemo.question.question_type === 2 ?
( // (
this.state.polls_status === undefined || this.state.polls_status === 1 ? // this.state.polls_status === undefined || this.state.polls_status === 1 ?
<div className="clearfix mt30" > // <div className="clearfix mt30" >
//
<div><ActionBtn style="grey" className="mr20 fl mt5" // <div><ActionBtn style="grey" className="mr20 fl mt5"
onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn> // onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>
//
{ // {
this.state.newoption === false ? <ActionBtn style="grey" className="mr20 fl mt5" // this.state.newoption === false ? <ActionBtn style="grey" className="mr20 fl mt5"
onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> : "" // onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> : ""
} // }
//
</div> // </div>
//
//
<span className="fr mt5"> // <span className="fr mt5">
<ActionBtn style="greyBack" className=" mr20 w100" // <ActionBtn style="greyBack" className=" mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> // onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" // <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> // onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}
<ActionBtn style="blue" className=" w100" // >保存并继续 </ActionBtn>
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> // <ActionBtn style="blue" className=" w100"
</span> // onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存并退出</ActionBtn>
</div> // </span>
// </div>
//
: //
<div className="clearfix mt30" > // :
<span className="fr mt5"> // <div className="clearfix mt30" >
<ActionBtn style="greyBack" className=" mr20 w100" // <span className="fr mt5">
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> // <ActionBtn style="greyBack" className=" mr20 w64"
<ActionBtn style="blue" className="mr20 w100" // onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> // <ActionBtn style="blue" className="mr20 w100"
<ActionBtn style="blue" className=" w100" // onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> // >保存并继续</ActionBtn>
</span> // <ActionBtn style="blue" className=" w100"
</div> // onClick={() => this.Deleteadddomthree(indexo, itemo,true)}> 保存并退出</ActionBtn>
) // </span>
// </div>
// )
""
: itemo.question.question_type === 3 ? : itemo.question.question_type === 3 ?
<div className="clearfix mt30" > <div className="clearfix mt30" >
<span className="fr"> <span className="fr">
<ActionBtn style="greyBack" className="mr20 w100" <ActionBtn style="greyBack" className="mr20 w64"
onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn> onClick={() => this.Deleteadddom(indexo,true)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo,true)}>保存</ActionBtn> onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}
>保存并继续</ActionBtn>
<ActionBtn style="blue" className=" w100" <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo,true)}>保存并继续</ActionBtn> onClick={() => this.Deleteadddomthree(indexo, itemo,true)}> 保存并退出</ActionBtn>
</span> </span>
</div> </div>
: :
@ -3293,6 +3402,7 @@ class PollNewQuestbank extends Component {
resultDomtwo = resultDomtwo =
<div className="problemShow"> <div className="problemShow">
<span <span
id={"ceshiyong2"}
className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"} className="font-16 color-grey-6 mb20">{itemo.question.question_type === 1 ? "单选题" : itemo.question.question_type === 2 ? "多选题" : "主观题"}
<Checkbox value={itemo.question.is_necessary} <Checkbox value={itemo.question.is_necessary}
checked={itemo.question.is_necessary === 1 ? true : false} checked={itemo.question.is_necessary === 1 ? true : false}
@ -3314,27 +3424,40 @@ class PollNewQuestbank extends Component {
onInput={(e) => this.HandleInputTopic(e, indexo)}>{itemo.question.question_title}</TextArea> onInput={(e) => this.HandleInputTopic(e, indexo)}>{itemo.question.question_title}</TextArea>
{itemo.question.answers === undefined ? "" : itemo.question.answers.map((itemt, indext) => { {itemo.question.answers === undefined ? "" : itemo.question.answers.map((itemt, indext) => {
console.log("ceshiyong2");
console.log(itemo.question.answers.length-1);
return ( return (
<div> <div>
{itemt.answer_text === undefined ? ( {itemt.answer_text === undefined ? (
<div></div>) : itemt.answer_text === "" ? ( <div></div>) : itemt.answer_text === "" ? (
<p className="df mb20"> <p className="df mb20">
<span <span
className="color-grey-6 mr3 w60 font-16 lineh-40" className="color-grey-6 mr3 w55 font-16 lineh-40"
style={{"text-align": "center"}}>其它</span> style={{"text-align": "center"}}>其它</span>
<input <input
className="mr20 input-flex-40 TextAreainput" disabled className="mr20 max1010 input-flex-40 TextAreainput" disabled
placeholder='无法编辑!将由参与答题的人手动录入'></input> placeholder='无法编辑!将由参与答题的人手动录入'></input>
{polls_status === undefined || polls_status === 1 ? {polls_status === undefined || polls_status === 1 ?
<a className="lineh-40" indext>1?
<span>
{
itemo.question.question_type === 2?""
:
<a className="lineh-40 mr10"
onClick={() => this.Deleteentrys(arrid, indext, true)}><Tooltip onClick={() => this.Deleteentrys(arrid, indext, true)}><Tooltip
title="删除" title="删除"
placement={"bottom"}><i placement={"bottom"}><i
className="iconfont icon-htmal5icon19 font-20 color-grey-c"></i></Tooltip></a> className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
}
</span>
:""
: ""} : ""}
</p>) : (<p className="df mb20"> </p>) : (<p className="df mb20">
<span className="color-grey-6 mr10 w60 font-16 lineh-40" <span className="color-grey-6 mr5 w55 font-16 lineh-40"
style={{"text-align": "center"}}>选项</span> style={{"text-align": "center"}}>选项</span>
<TextArea <TextArea
@ -3342,17 +3465,45 @@ class PollNewQuestbank extends Component {
className="mr20 TextAreas" className="mr20 TextAreas"
value={itemt.answer_text} value={itemt.answer_text}
style={{ style={{
"height": "45px", maxWidth: "1010px",
"max-height": "9.0072e+15px", height: "45px",
maxHeight: "9.0072e+15px",
"overflow-y": "hidden", "overflow-y": "hidden",
"line-height": "35px", lineHeight: "35px",
}} }}
onInput={(e) => this.HandleInputChanges(e, indexo, indext)}></TextArea> onInput={(e) => this.HandleInputChanges(e, indexo, indext)}></TextArea>
{polls_status === undefined || polls_status === 1 ? {polls_status === undefined || polls_status === 1 ?
<a className="lineh-40" (indext>1?
<span>
<a className="lineh-40 mr10"
onClick={() => this.Deleteentrys(arrid, indext, false)}><Tooltip onClick={() => this.Deleteentrys(arrid, indext, false)}><Tooltip
title="删除" placement={"bottom"}><i title="删除" placement={"bottom"}><i
className="iconfont icon-htmal5icon19 font-20 color-grey-c"></i></Tooltip></a> className="iconfont icon-htmal5icon19 font-22 color-grey-c"></i></Tooltip></a>
{
itemo.question.answers[itemo.question.answers.length-1].answer_text==="其他"&&itemo.question.answers.length-2===indext?
<a className="lineh-40 "
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增"
placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
:
itemo.question.answers.length - 1 === indext ?
<a className="lineh-40 "
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增"
placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>
:
<a className="lineh-40 yw18"
></a>
}
</span>
:indext===1&&itemo.question.answers.length===2||indext===1&&itemo.question.answers.length===3?<a className="lineh-40 mr10"
onClick={() => this.Ewoption(itemo.question.id, itemo)}><Tooltip
title="新增"
placement={"bottom"}><i
className="color-green font-18 iconfont icon-roundaddfill"></i></Tooltip></a>:"")
: ""} : ""}
</p>)} </p>)}
</div> </div>
@ -3362,26 +3513,27 @@ class PollNewQuestbank extends Component {
<div className="df"> <div className="df">
{itemo.question.question_type === 1 ? ( {itemo.question.question_type === 1 ? (
<div> <div>
<div style={{minWidth: "1100px"}}> {/*<ActionBtn style="grey" className="mr20 mt5"*/}
{/* onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>*/}
<div style={{minWidth: "1138px"}}>
{polls_status === undefined || polls_status === 1 ? {polls_status === undefined || polls_status === 1 ?
<ActionBtn style="grey" className="mr20 mt5" ""
onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>
: ""} : ""}
{polls_status === undefined || polls_status === 1 ? {polls_status === undefined || polls_status === 1 ?
(newoption === false ? (newoption === false ?
<ActionBtn style="grey" className="mr20 mt5" <ActionBtn style="grey" className="ml61 mt5"
onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> onClick={() => this.Addanotheroption(itemo.question.id)}>添加[其它]选项</ActionBtn>
: "") : "")
: ""} : ""}
<span className="fr mt5"> <span className="fr mt5">
<ActionBtn style="greyBack" className="mr20 w100" <ActionBtn style="greyBack" className="mr20 w64"
onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn> onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo)}>保存</ActionBtn> onClick={() => this.Deleteadddomtwo(indexo, itemo)}
> 保存并继续</ActionBtn>
<ActionBtn style="blue" className=" w100" <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo)}>保存并继续</ActionBtn> onClick={() => this.Deleteadddomthree(indexo, itemo)}>保存并退出</ActionBtn>
</span> </span>
</div> </div>
</div> </div>
@ -3393,7 +3545,7 @@ class PollNewQuestbank extends Component {
: itemo.question.question_type === 2 ? ( : itemo.question.question_type === 2 ? (
//////////////////////////////////////////// 可选 //////////////////////////////////////////// 可选
<div> <div>
<div style={{minWidth: "1100px"}}> <div style={{minWidth: "1179px"}}>
<div> <div>
<span <span
className="color-grey-6 mr20 font-16 lineh-40 fl">可选</span> className="color-grey-6 mr20 font-16 lineh-40 fl">可选</span>
@ -3445,6 +3597,15 @@ class PollNewQuestbank extends Component {
className="ml10 mr20 color-grey-6 lineh-40 fl font-16"></span> className="ml10 mr20 color-grey-6 lineh-40 fl font-16"></span>
<span <span
className="color-grey-9 fl lineh-40">学生答题时系统对其选择的选项个数进行限制--表示不限制</span> className="color-grey-9 fl lineh-40">学生答题时系统对其选择的选项个数进行限制--表示不限制</span>
<span className="fr mt5">
<ActionBtn style="greyBack" className=" mr20 w64"
onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo)}
>保存并继续</ActionBtn>
<ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomthree(indexo, itemo)}> 保存并退出</ActionBtn>
</span>
</div> </div>
</div> </div>
@ -3452,60 +3613,63 @@ class PollNewQuestbank extends Component {
</div> </div>
) )
: (<div style={{minWidth: "1100px"}}></div>) : (<div style={{minWidth: "1179px"}}></div>)
} }
</div> </div>
<div> <div>
{itemo.question.question_type === 2 ? {itemo.question.question_type === 2 ?
( // (
polls_status === undefined || polls_status === 1 ? // polls_status === undefined || polls_status === 1 ?
<div className="clearfix mt30" > // <div className="clearfix mt30" >
//
<div><ActionBtn style="grey" className="mr20 fl mt5" // <div><ActionBtn style="grey" className="mr20 fl mt5"
onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn> // onClick={() => this.Ewoption(itemo.question.id, itemo)}>新增选项</ActionBtn>
//
{ // {
newoption === false ? <ActionBtn style="grey" className="mr20 fl mt5" // newoption === false ? <ActionBtn style="grey" className="mr20 fl mt5"
onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> : "" // onClick={() => this.Addanotheroption(itemo.question.id)}>新增其他选项</ActionBtn> : ""
} // }
//
</div> // </div>
//
//
<span className="fr mt5"> // <span className="fr mt5">
<ActionBtn style="greyBack" className=" mr20 w100" // <ActionBtn style="greyBack" className=" mr20 w64"
onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn> // onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" // <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo)}>保存</ActionBtn> // onClick={() => this.Deleteadddomtwo(indexo, itemo)}
<ActionBtn style="blue" className=" w100" // >保存并继续</ActionBtn>
onClick={() => this.Deleteadddomtwo(indexo, itemo)}>保存并继续</ActionBtn> // <ActionBtn style="blue" className=" w100"
</span> // onClick={() => this.Deleteadddomthree(indexo, itemo)}> 保存并退出</ActionBtn>
</div> // </span>
// </div>
//
: //
<div className="clearfix mt30" > // :
<span className="fr mt5"> // <div className="clearfix mt30" >
<ActionBtn style="greyBack" className=" mr20 w100" // <span className="fr mt5">
onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn> // <ActionBtn style="greyBack" className=" mr20 w64"
<ActionBtn style="blue" className="mr20 w100" // onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn>
onClick={() => this.Deleteadddomthree(indexo, itemo)}>保存</ActionBtn> // <ActionBtn style="blue" className="mr20 w100"
<ActionBtn style="blue" className=" w100" // onClick={() => this.Deleteadddomtwo(indexo, itemo)}
onClick={() => this.Deleteadddomtwo(indexo, itemo)}>保存并继续</ActionBtn> // > 保存并继续 </ActionBtn>
</span> // <ActionBtn style="blue" className=" w100"
</div> // onClick={() => this.Deleteadddomthree(indexo, itemo)}>保存并退出</ActionBtn>
) // </span>
// </div>
// )
""
: itemo.question.question_type === 3 ? : itemo.question.question_type === 3 ?
<div className="clearfix mt30"> <div className="clearfix mt30">
<span className="fr"> <span className="fr">
<ActionBtn style="greyBack" className="mr20 w100" <ActionBtn style="greyBack" className="mr20 w64"
onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn> onClick={() => this.Deleteadddom(indexo)}>取消</ActionBtn>
<ActionBtn style="blue" className="mr20 w100" <ActionBtn style="blue" className="mr20 w100"
onClick={() => this.Deleteadddomthree(indexo, itemo)}>保存</ActionBtn> onClick={() => this.Deleteadddomtwo(indexo, itemo)}
>保存并继续 </ActionBtn>
<ActionBtn style="blue" className=" w100" <ActionBtn style="blue" className=" w100"
onClick={() => this.Deleteadddomtwo(indexo, itemo)}>保存并继续</ActionBtn> onClick={() => this.Deleteadddomthree(indexo, itemo)}>保存并退出</ActionBtn>
</span> </span>
</div> </div>
: :

@ -17,7 +17,22 @@
min-height: 40px; min-height: 40px;
min-line-height: 40px; min-line-height: 40px;
} }
.ml61{
margin-left: 61px;
}
.w64{
width: 64px;
}
.w55{
width: 55px!important;
}
.max1010{
width: 1010px !important;
max-width: 1010px !important;
}
.yw18{
min-width: 18px;
}
/* 选答 */ /* 选答 */
.chooseAnswer{ .chooseAnswer{
display: inline-block; display: inline-block;

@ -103,6 +103,9 @@ a.decoration{text-decoration: underline}
.mb0{margin-bottom: 0px!important;}.mb3{ margin-bottom: 3px;}.mb5{ margin-bottom: 5px;}.mb7{ margin-bottom: 7px;}.mb10{ margin-bottom: 10px;}.mb11{ margin-bottom: 11px;}.mb14{ margin-bottom: 14px;}.mb15{ margin-bottom: 15px;}.mb16{ margin-bottom: 16px;}.mb20{ margin-bottom: 20px!important;}.mb25{ margin-bottom: 25px;}.mb26{ margin-bottom: 26px;}.mb28{ margin-bottom: 28px;}.mb30{ margin-bottom: 30px!important;}.mb40{ margin-bottom: 40px!important;}.mb50{ margin-bottom: 50px!important;}.mb60{ margin-bottom: 60px!important;}.mb70{ margin-bottom: 70px!important;}.mb80{ margin-bottom: 80px!important;}.mb90{ margin-bottom: 90px!important;}.mb100{ margin-bottom: 100px!important;}.mb110{ margin-bottom: 110px;} .mb0{margin-bottom: 0px!important;}.mb3{ margin-bottom: 3px;}.mb5{ margin-bottom: 5px;}.mb7{ margin-bottom: 7px;}.mb10{ margin-bottom: 10px;}.mb11{ margin-bottom: 11px;}.mb14{ margin-bottom: 14px;}.mb15{ margin-bottom: 15px;}.mb16{ margin-bottom: 16px;}.mb20{ margin-bottom: 20px!important;}.mb25{ margin-bottom: 25px;}.mb26{ margin-bottom: 26px;}.mb28{ margin-bottom: 28px;}.mb30{ margin-bottom: 30px!important;}.mb40{ margin-bottom: 40px!important;}.mb50{ margin-bottom: 50px!important;}.mb60{ margin-bottom: 60px!important;}.mb70{ margin-bottom: 70px!important;}.mb80{ margin-bottom: 80px!important;}.mb90{ margin-bottom: 90px!important;}.mb100{ margin-bottom: 100px!important;}.mb110{ margin-bottom: 110px;}
.ml-3{ margin-left: -3px;}.ml1{margin-left: 1px;}.ml2{margin-left: 2px;}.ml3{margin-left: 3px;}.ml4{margin-left: 4px;}.ml5{ margin-left: 5px;}.ml6{ margin-left: 6px;}.ml10{ margin-left: 10px;}.ml12{ margin-left:12px!important;}.ml13{ margin-left:13px!important;}.ml15{ margin-left: 15px;}.ml18{ margin-left: 18px;}.ml20{ margin-left: 20px;}.ml22{ margin-left: 22px;}.ml25{ margin-left: 25px;}.ml29{margin-left: 29px;}.ml30{ margin-left: 30px;}.ml33{ margin-left: 33px;}.ml35{ margin-left:35px;}.ml40{margin-left:40px;}.ml42{margin-left:42px;}.ml45{ margin-left: 45px;}.ml50{ margin-left: 50px;}.ml55{ margin-left: 55px;}.ml60{ margin-left: 60px;}.ml72{ margin-left: 72px;}.ml73{ margin-left: 73px;}.ml75{ margin-left: 75px;}.ml80{ margin-left: 80px;}.ml85{margin-left:85px;}.ml95{ margin-left: 95px;}.ml115{margin-left: 115px}.ml123{ margin-left: 123px;}.ml150{ margin-left: 150px;}.ml180{ margin-left: 180px;}.ml230{ margin-left: 230px;}.ml240{margin-left: 240px;}.ml250{ margin-left: 250px;}.ml290{ margin-left: 290px;} .ml-3{ margin-left: -3px;}.ml1{margin-left: 1px;}.ml2{margin-left: 2px;}.ml3{margin-left: 3px;}.ml4{margin-left: 4px;}.ml5{ margin-left: 5px;}.ml6{ margin-left: 6px;}.ml10{ margin-left: 10px;}.ml12{ margin-left:12px!important;}.ml13{ margin-left:13px!important;}.ml15{ margin-left: 15px;}.ml18{ margin-left: 18px;}.ml20{ margin-left: 20px;}.ml22{ margin-left: 22px;}.ml25{ margin-left: 25px;}.ml29{margin-left: 29px;}.ml30{ margin-left: 30px;}.ml33{ margin-left: 33px;}.ml35{ margin-left:35px;}.ml40{margin-left:40px;}.ml42{margin-left:42px;}.ml45{ margin-left: 45px;}.ml50{ margin-left: 50px;}.ml55{ margin-left: 55px;}.ml60{ margin-left: 60px;}.ml72{ margin-left: 72px;}.ml73{ margin-left: 73px;}.ml75{ margin-left: 75px;}.ml80{ margin-left: 80px;}.ml85{margin-left:85px;}.ml95{ margin-left: 95px;}.ml115{margin-left: 115px}.ml123{ margin-left: 123px;}.ml150{ margin-left: 150px;}.ml180{ margin-left: 180px;}.ml230{ margin-left: 230px;}.ml240{margin-left: 240px;}.ml250{ margin-left: 250px;}.ml290{ margin-left: 290px;}
.mr3{margin-right: 3px}.mr4{margin-right: 4px}.mr5{ margin-right: 5px;}.mr8{ margin-right: 8px;}.mr10{ margin-right: 10px;}.mr12{ margin-right:12px!important;}.mr15{ margin-right: 15px;}.mr18{ margin-right: 18px;}.mr20{ margin-right: 20px;}.mr24{ margin-right: 24px;}.mr25{ margin-right: 25px;}.mr30{ margin-right:30px;}.mr35{margin-right:35px;}.mr40{margin-right:40px;}.mr45{margin-right:45px;}.mr50{ margin-right: 50px;}.mr60{ margin-right:60px;}.mr70{ margin-right: 70px;}.mr75{ margin-right: 75px;}.mr80{ margin-right:80px;}.mr90{ margin-right:90px;}.mr100{ margin-right: 100px;}.mr110{ margin-right:110px;}.mr350{ margin-right:350px;} .mr3{margin-right: 3px}.mr4{margin-right: 4px}.mr5{ margin-right: 5px;}.mr8{ margin-right: 8px;}.mr10{ margin-right: 10px;}.mr12{ margin-right:12px!important;}.mr15{ margin-right: 15px;}.mr18{ margin-right: 18px;}.mr20{ margin-right: 20px;}.mr24{ margin-right: 24px;}.mr25{ margin-right: 25px;}.mr30{ margin-right:30px;}.mr35{margin-right:35px;}.mr40{margin-right:40px;}.mr45{margin-right:45px;}.mr50{ margin-right: 50px;}.mr60{ margin-right:60px;}.mr70{ margin-right: 70px;}.mr75{ margin-right: 75px;}.mr80{ margin-right:80px;}.mr90{ margin-right:90px;}.mr100{ margin-right: 100px;}.mr110{ margin-right:110px;}.mr350{ margin-right:350px;}
.ml61{
margin-left: 61px;
}
.pt1{ padding-top:1px;}.pt3{ padding-top:3px!important;}.pt5{ padding-top:5px!important;}.pt10{ padding-top:10px;}.pt15{ padding-top:15px;}.pt17{ padding-top:17px;}.pt20{ padding-top:20px!important;}.pt25{ padding-top:25px;}.pt30{ padding-top:30px;}.pt35{ padding-top:35px;}.pt37{ padding-top:37px;}.pt40{ padding-top:40px;}.pt47{ padding-top:47px;}.pt49{ padding-top:49px;}.pt50{ padding-top:50px;}.pt60{ padding-top:60px;}.pt70{ padding-top:70px;}.pt80{ padding-top:80px;}.pt90{ padding-top:90px;}.pt100{padding-top:100px;}.pt110{ padding-top:110px;}.pt120{ padding-top:120px;}.pt130{padding-top:130px;} .pt1{ padding-top:1px;}.pt3{ padding-top:3px!important;}.pt5{ padding-top:5px!important;}.pt10{ padding-top:10px;}.pt15{ padding-top:15px;}.pt17{ padding-top:17px;}.pt20{ padding-top:20px!important;}.pt25{ padding-top:25px;}.pt30{ padding-top:30px;}.pt35{ padding-top:35px;}.pt37{ padding-top:37px;}.pt40{ padding-top:40px;}.pt47{ padding-top:47px;}.pt49{ padding-top:49px;}.pt50{ padding-top:50px;}.pt60{ padding-top:60px;}.pt70{ padding-top:70px;}.pt80{ padding-top:80px;}.pt90{ padding-top:90px;}.pt100{padding-top:100px;}.pt110{ padding-top:110px;}.pt120{ padding-top:120px;}.pt130{padding-top:130px;}
.pb3{ padding-bottom:3px!important;}.pb5{ padding-bottom:5px!important;}.pb10{ padding-bottom:10px;}.pb15{ padding-bottom:15px;}.pb20{ padding-bottom:20px;}.pb25{ padding-bottom:20px;}.pb25{ padding-bottom:20px;}.pb30{ padding-bottom:30px;}.pb35{ padding-bottom:35px;}.pb40{ padding-bottom:40px;}.pb47{ padding-bottom:47px;}.pb50{ padding-bottom:50px;}.pb60{ padding-bottom:60px;}.pb70{ padding-bottom:70px;}.pb80{ padding-bottom:80px;}.pb90{ padding-bottom:90px;}.pb100{ padding-bottom:100px;}.pb110{ padding-bottom:110px;}.pb155{ padding-bottom:155px;} .pb3{ padding-bottom:3px!important;}.pb5{ padding-bottom:5px!important;}.pb10{ padding-bottom:10px;}.pb15{ padding-bottom:15px;}.pb20{ padding-bottom:20px;}.pb25{ padding-bottom:20px;}.pb25{ padding-bottom:20px;}.pb30{ padding-bottom:30px;}.pb35{ padding-bottom:35px;}.pb40{ padding-bottom:40px;}.pb47{ padding-bottom:47px;}.pb50{ padding-bottom:50px;}.pb60{ padding-bottom:60px;}.pb70{ padding-bottom:70px;}.pb80{ padding-bottom:80px;}.pb90{ padding-bottom:90px;}.pb100{ padding-bottom:100px;}.pb110{ padding-bottom:110px;}.pb155{ padding-bottom:155px;}
@ -111,7 +114,6 @@ a.decoration{text-decoration: underline}
.pl0{ padding-left:0px!important;}.pl2{ padding-left:2px;}.pl5{ padding-left:5px;}.pl7{ padding-left:7px;}.pl8{ padding-left:8px;}.pl10{ padding-left:10px;}.pl15{ padding-left:15px;}.pl20{ padding-left:20px;}.pl22{ padding-left:22px;}.pl25{ padding-left:25px;}.pl28{ padding-left:28px;}.pl30{ padding-left:30px !important;}.pl33{padding-left: 33px}.pl35{ padding-left:35px;}.pl40{ padding-left:40px;}.pl42{ padding-left:42px;}.pl45{ padding-left:45px;}.pl50{ padding-left:50px;}.pl60{ padding-left:60px;}.pl70{padding-left:70px;}.pl75{padding-left:75px;}.pl80{padding-left:80px;}.pl88{ padding-left:88px;}.pl92{padding-left:92px;}.pl100{ padding-left:100px;} .pl0{ padding-left:0px!important;}.pl2{ padding-left:2px;}.pl5{ padding-left:5px;}.pl7{ padding-left:7px;}.pl8{ padding-left:8px;}.pl10{ padding-left:10px;}.pl15{ padding-left:15px;}.pl20{ padding-left:20px;}.pl22{ padding-left:22px;}.pl25{ padding-left:25px;}.pl28{ padding-left:28px;}.pl30{ padding-left:30px !important;}.pl33{padding-left: 33px}.pl35{ padding-left:35px;}.pl40{ padding-left:40px;}.pl42{ padding-left:42px;}.pl45{ padding-left:45px;}.pl50{ padding-left:50px;}.pl60{ padding-left:60px;}.pl70{padding-left:70px;}.pl75{padding-left:75px;}.pl80{padding-left:80px;}.pl88{ padding-left:88px;}.pl92{padding-left:92px;}.pl100{ padding-left:100px;}
.pr2{ paddding-right:2px;}.pr5{ padding-right:5px;}.pr7{ padding-right:7px;}.pr10{ padding-right:10px;}.pr15{ padding-right:15px;}.pr20{ padding-right:20px!important;}.pr25{ padding-right:25px!important;}.pr30{ padding-right:30px!important;}.pr40{ padding-right:40px;}.pr42{ padding-right:42px;}.pr45{ padding-right:45px;}.pr60{padding-right:60px;}.pr75{padding-right:75px;} .pr2{ paddding-right:2px;}.pr5{ padding-right:5px;}.pr7{ padding-right:7px;}.pr10{ padding-right:10px;}.pr15{ padding-right:15px;}.pr20{ padding-right:20px!important;}.pr25{ padding-right:25px!important;}.pr30{ padding-right:30px!important;}.pr40{ padding-right:40px;}.pr42{ padding-right:42px;}.pr45{ padding-right:45px;}.pr60{padding-right:60px;}.pr75{padding-right:75px;}
.padding5-10{padding:5px 10px;box-sizing: border-box} .padding5-10{padding:5px 10px;box-sizing: border-box}
.padding5-20{padding:5px 20px;box-sizing: border-box} .padding5-20{padding:5px 20px;box-sizing: border-box}
.padding10{padding: 10px;box-sizing: border-box} .padding10{padding: 10px;box-sizing: border-box}

Loading…
Cancel
Save