This commit is contained in:
parent
950f670f85
commit
ae66adad85
|
@ -18,10 +18,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
/* 第二页(实训题)的左边导航 */
|
/* 第一页(主观题)的左边导航 */
|
||||||
.nav-left-operation1{
|
.nav-left-operation1{
|
||||||
width: 215px;
|
width: 215px;
|
||||||
height: 1540px;
|
height: 2150px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
box-shadow: 2px 2px 6px #d4d4d4;
|
box-shadow: 2px 2px 6px #d4d4d4;
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
height: 280px;
|
height: 280px;
|
||||||
padding: 7px;
|
padding: 7px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0px;
|
left: 1420px;
|
||||||
top: 65px;
|
top: 65px;
|
||||||
background-color:#e8f7f0;
|
background-color:#e8f7f0;
|
||||||
box-shadow: 0px 0px 6px #aacbae;
|
box-shadow: 0px 0px 6px #aacbae;
|
||||||
|
@ -121,10 +121,10 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 第二页(实训题)的右边页面 */
|
/* 第一页(主观题)的右边页面 */
|
||||||
.body-right1{
|
.body-right1{
|
||||||
width: 1414px;
|
width: 1414px;
|
||||||
height: 1540px;
|
height: 2150px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 64px;
|
top: 64px;
|
||||||
left: 230px;
|
left: 230px;
|
||||||
|
@ -146,6 +146,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-spacing: 10px;
|
border-spacing: 10px;
|
||||||
}
|
}
|
||||||
|
/* 选择题 */
|
||||||
.test-title{
|
.test-title{
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
text-indent: 1em;
|
text-indent: 1em;
|
||||||
|
@ -162,6 +163,7 @@
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
/* 判断题 */
|
||||||
.body-right1-comple{
|
.body-right1-comple{
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
text-indent: initial;
|
text-indent: initial;
|
||||||
|
@ -180,6 +182,13 @@
|
||||||
.body-right1-comple span{
|
.body-right1-comple span{
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
}
|
}
|
||||||
|
/* 判断题 */
|
||||||
|
.panduan-box{
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.panduan-box label{
|
||||||
|
padding-right: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
/* 前进按钮 */
|
/* 前进按钮 */
|
||||||
.btn-back1 p{
|
.btn-back1 p{
|
||||||
|
|
|
@ -349,7 +349,7 @@ function Operation1() {
|
||||||
<tbody>
|
<tbody>
|
||||||
<p>判断题</p>
|
<p>判断题</p>
|
||||||
{Object.keys(TrainData['operateID'][2]).map((key,index)=>(
|
{Object.keys(TrainData['operateID'][2]).map((key,index)=>(
|
||||||
<tr key={key}>
|
<tr key={key} className='panduan-box'>
|
||||||
<tr>{index+1}.{TrainData['operateID'][2][key][0][1]}</tr>
|
<tr>{index+1}.{TrainData['operateID'][2][key][0][1]}</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<label><input type="radio" name={`judge${key}`} checked={judge_answer[key] === 'true'} onChange={handleJudgeOption} value={true} />T</label>
|
<label><input type="radio" name={`judge${key}`} checked={judge_answer[key] === 'true'} onChange={handleJudgeOption} value={true} />T</label>
|
||||||
|
@ -360,7 +360,9 @@ function Operation1() {
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
)}
|
)}
|
||||||
<button onClick={click}>测试</button><button onClick={clear}>清除测试</button><button onClick={submit}>假提交按钮</button>
|
<button onClick={click}>测试</button>
|
||||||
|
<button onClick={clear}>清除测试</button>
|
||||||
|
<button onClick={submit}>假提交按钮</button>
|
||||||
<Link to={`/operation2/${operateID}`}><button onClick={saveAnswers}>下一页</button></Link>
|
<Link to={`/operation2/${operateID}`}><button onClick={saveAnswers}>下一页</button></Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
/* 第二页(主观题)的左边导航 */
|
/* 第二页(实训题)的左边导航 */
|
||||||
.nav-left-operation2{
|
.nav-left-operation2{
|
||||||
width: 215px;
|
width: 215px;
|
||||||
height: 840px;
|
height: 840px;
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
top: 15px;
|
top: 15px;
|
||||||
left: 180px;
|
left: 180px;
|
||||||
}
|
}
|
||||||
/* 第二页(主观题)的右边页面 */
|
/* 第二页(实训题题)的右边页面 */
|
||||||
.body-right2{
|
.body-right2{
|
||||||
width: 1415px;
|
width: 1415px;
|
||||||
height: 845px;
|
height: 845px;
|
||||||
|
|
Loading…
Reference in New Issue