Compare commits

..

No commits in common. "2b499c9347042d60243332b6dc451e4d0d8d3ad7" and "f062dfb337b19eb393304d7980945bd2ce193d5b" have entirely different histories.

3 changed files with 9 additions and 20 deletions

View File

@ -18,10 +18,10 @@
display: flex;
flex-direction: column;
}
/* 第一页(主观题)的左边导航 */
/* 第二页(实训题)的左边导航 */
.nav-left-operation1{
width: 215px;
height: 2150px;
height: 1540px;
position: absolute;
box-shadow: 2px 2px 6px #d4d4d4;
}
@ -77,7 +77,7 @@
height: 280px;
padding: 7px;
position: fixed;
left: 1420px;
right: 0px;
top: 65px;
background-color:#e8f7f0;
box-shadow: 0px 0px 6px #aacbae;
@ -121,10 +121,10 @@
cursor: pointer;
}
/* 第一页(主观题)的右边页面 */
/* 第二页(实训题)的右边页面 */
.body-right1{
width: 1414px;
height: 2150px;
height: 1540px;
position: absolute;
top: 64px;
left: 230px;
@ -146,7 +146,6 @@
width: 100%;
border-spacing: 10px;
}
/* 选择题 */
.test-title{
font-size: 17px;
text-indent: 1em;
@ -163,7 +162,6 @@
margin-left: 40px;
line-height: 40px;
}
/* 判断题 */
.body-right1-comple{
border-collapse: separate;
text-indent: initial;
@ -182,13 +180,6 @@
.body-right1-comple span{
margin-left: 30px;
}
/* 判断题 */
.panduan-box{
background-color: #fff;
}
.panduan-box label{
padding-right: 30px;
}
/* 前进按钮 */
.btn-back1 p{

View File

@ -349,7 +349,7 @@ function Operation1() {
<tbody>
<p>判断题</p>
{Object.keys(TrainData['operateID'][2]).map((key,index)=>(
<tr key={key} className='panduan-box'>
<tr key={key}>
<tr>{index+1}.{TrainData['operateID'][2][key][0][1]}</tr>
<tr>
<label><input type="radio" name={`judge${key}`} checked={judge_answer[key] === 'true'} onChange={handleJudgeOption} value={true} />T</label>
@ -360,9 +360,7 @@ function Operation1() {
</tbody>
</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>
</div>
</div>

View File

@ -17,7 +17,7 @@
display: flex;
flex-direction: column;
}
/* 第二页(实训题)的左边导航 */
/* 第二页(主观题)的左边导航 */
.nav-left-operation2{
width: 215px;
height: 840px;
@ -72,7 +72,7 @@
top: 15px;
left: 180px;
}
/* 第二页(实训题题)的右边页面 */
/* 第二页(主观题)的右边页面 */
.body-right2{
width: 1415px;
height: 845px;