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; display: flex;
flex-direction: column; flex-direction: column;
} }
/* 第一页(主观题)的左边导航 */ /* 第二页(实训题)的左边导航 */
.nav-left-operation1{ .nav-left-operation1{
width: 215px; width: 215px;
height: 2150px; height: 1540px;
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;
left: 1420px; right: 0px;
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: 2150px; height: 1540px;
position: absolute; position: absolute;
top: 64px; top: 64px;
left: 230px; left: 230px;
@ -146,7 +146,6 @@
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;
@ -163,7 +162,6 @@
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;
@ -182,13 +180,6 @@
.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{

View File

@ -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} className='panduan-box'> <tr key={key}>
<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,9 +360,7 @@ function Operation1() {
</tbody> </tbody>
</table> </table>
)} )}
<button onClick={click}>测试</button> <button onClick={click}>测试</button><button onClick={clear}>清除测试</button><button onClick={submit}>假提交按钮</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>

View File

@ -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;