Compare commits

...

2 Commits

Author SHA1 Message Date
nopy 2b499c9347 Merge branch 'master' of https://gitea.xn--7p0a.site/2312072104/dm 2024-06-29 16:36:28 +08:00
nopy ae66adad85 1 2024-06-29 16:36:25 +08:00
3 changed files with 20 additions and 9 deletions

View File

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