Compare commits

..

No commits in common. "b29f3fa34150cd9308a9a3ce8931bd148172b79d" and "6b7fc0d3d657c4f4a28fab2de9d62629d6edd57a" have entirely different histories.

16 changed files with 48 additions and 71 deletions

View File

@ -8,6 +8,7 @@
border-radius: 10px;
float: right;
background-color: #f7f8fa;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.question-allbox{
display: flex;
@ -48,7 +49,6 @@
inset 0 0 0 2px #aee1e3, /* 外边框颜色 */
inset 0 0 0 6px #aee1e3;
margin-top: 80px;
padding: 3px;
}
.title-link1{
height: 60px;
@ -57,7 +57,7 @@
background-color: #aee1e3;
}
.title-link1 th{
padding: 0 11px;
padding: 0 13px;
min-width: 92.5px;
}
.question-box{
@ -65,7 +65,6 @@
line-height: 50px;
}
.question-box td{
padding: 0 3px;
border-bottom: 1px solid #8a9991;
}
@ -97,12 +96,10 @@
inset 0 0 0 2px #aee1e3, /* 外边框颜色 */
inset 0 0 0 6px #aee1e3;
margin-top: 80px;
padding: 3px;
}
.appendbtn{
width:80px;
height: 40px;
font-size: 16px;
background-color: #aee1e3;
border: none;
margin-left: 1110px;
@ -111,7 +108,6 @@
.appenddel{
width:80px;
height: 40px;
font-size: 16px;
background-color: #aee1e3;
border: none;
margin-left: 25px;

View File

@ -86,10 +86,9 @@
margin-top: 180px;
width: 600px;
height: 400px;
border: 10px solid #f8efce;
border: 1px solid black;
position: absolute;
/* background-color: #fef9dd; */
background-image: linear-gradient(#fffcea,#f8efce);
background-color: #fef9dd;
z-index: 2;
}
#splitter{
@ -100,14 +99,11 @@
padding-bottom: 10px;
}
#return{
height: 20px;
width: 30px;
position: absolute;
margin-left: 235px;
margin-left: 230px;
font-size: 20px;
margin-top: -20px;
margin-top: -10px;
cursor: pointer;
background-color: #f8efce;
color: rgb(154, 131, 66);
}
#detailed span{

View File

@ -111,15 +111,16 @@
/* 按钮 */
#SendTestBtn{
height: 50px;
width: 220px;
height: 40px;
width: 130px;
font-size: 25px;
margin-top: 50px;
margin-left: 60px;
background-color: #bfddd6;
margin-top: 40px;
margin-bottom: 40px;
margin-left: 900px;
background-color: #9acec2;
border: none;
border-radius: 20px;
color: #ffffff;
color: #fff;
}

View File

@ -124,7 +124,7 @@ function SendTest(){
</li>
</ul>
</div>
<div className='SendTrain_body_right'>
<div className='SendTest_body_right'>
<p>题目选择</p>
{question&&<table>
<span className='title'>选择题</span>
@ -216,6 +216,7 @@ function SendTest(){
))}
</tbody>
</table>}
<button onClick={SendTrainBtn} id='SendTrainBtn'>发布按钮</button>
</div>
{/* 右边的内容 */}
<div className='right_right'>
@ -250,7 +251,6 @@ function SendTest(){
<p>请填写截至时间</p>
<input type="text" maxLength={10} style={{width:'30px'}} value={StopTime} onChange={getstoptime} />天后
</div>
<button onClick={SendTrainBtn} id='SendTestBtn'>发布按钮</button>
</div>
</div>
</div>

View File

@ -255,15 +255,16 @@
/* 按钮 */
#SendTrainBtn{
height: 50px;
width: 220px;
height: 40px;
width: 130px;
font-size: 25px;
margin-top: 50px;
margin-left: 60px;
background-color: #bfddd6;
margin-top: 100px;
margin-bottom: 40px;
margin-left: 900px;
background-color: #9acec2;
border: none;
border-radius: 20px;
color: #ffffff;
color: #fff;
}

View File

@ -301,7 +301,7 @@ function SendTrain(){
</div>
</div>
</div>}
{/* <button onClick={SendTrainBtn} id='SendTrainBtn'>发布按钮</button> */}
<button onClick={SendTrainBtn} id='SendTrainBtn'>发布按钮</button>
</div>
{/* 最右边的内容 */}
<div className='right_right'>
@ -369,7 +369,6 @@ function SendTrain(){
))}
</select>分钟
</div>
<button onClick={SendTrainBtn} id='SendTrainBtn'>发布按钮</button>
</div>
</div>
</div>

View File

@ -119,9 +119,7 @@
margin-top: 180px;
z-index: 2;
border: 10px solid #ceedf5;
/* background-color: #d4f6f6; */
background-color: #e7f5f8;
background-image: linear-gradient(#e7f5f8,#ceedf5);
background-color: #d4f6f6;
}
.TrainBox table{
margin-top: 60px;

View File

@ -1,6 +1,6 @@
.body-right-classId{
/* width: 1420px; */
width: 85.6%;
width: 86.3%;
height: 830px;
position: absolute;
top: 72px;
@ -151,7 +151,7 @@
left: 0px;
}
.studentName{
font-size: 20px;
padding-top: 25px;
padding-left: 42px;
font-size: 18px;
padding-top: 20px;
padding-left: 10px;
}

View File

@ -101,7 +101,7 @@
height: 420px;
position: absolute;
top: 160px;
left: 180px;
left: 150px;
background-color: #d1ece2ea;
z-index: 1;
}

View File

@ -21,7 +21,7 @@
/* 第二页(实训题)的左边导航 */
.nav-left-exam{
width: 215px;
height: 840px;
height: 900px;
position: absolute;
box-shadow: 2px 2px 6px #d4d4d4;
}
@ -59,8 +59,8 @@
z-index: 1000;
}
.dropdown-menu1-exam li{
background-color: rgb(254, 252, 252);
border-bottom: 2px solid rgb(231, 231, 231);
background-color: rgb(236, 232, 232);
border-bottom: 2px solid rgb(213, 208, 208);
}
/* 显示下拉菜单 */
.subject-dropdown.open1-exam + .dropdown-menu1-exam {
@ -120,39 +120,23 @@
margin-top: 5px;
cursor: pointer;
}
/* 题目 */
.body-right1-exam{
width: 1414px;
height: 1540px;
position: absolute;
top: 64px;
left: 230px;
border-radius: 10px;
background-color: #f7f8fa;
}
.body-right1-exam p{
width: 80px;
height: 30px;
margin: 0px;
padding-left: 10px;
margin-left: -10px;
font-size: 20px;
color: #273128;
background-image: linear-gradient(#c7e0ca,#a7daa3);
border-radius: 0 10px 10px 0;
}
.body-right1-exam table{
width: 100%;
border-spacing: 10px;
}
.subject-btn{
width: 120px;
height: 45px;
width: 100px;
height: 40px;
border: none;
margin-top: 120px;
margin-bottom: 30px;
margin-top: 150px;
margin-left: 1200px;
border-radius: 20px;
font-size: 18px;
background-image: linear-gradient(rgb(211, 249, 231),rgb(191, 231, 213));
background-image: linear-gradient(rgb(195, 255, 227),rgb(168, 224, 200));
}

View File

@ -264,7 +264,7 @@ function Exam() {
</div>
</div>
<div className='body-right1-exam'>
<div className='body-right1'>
{TestData&&<table>
<p>选择题</p>
<tbody>

View File

@ -74,9 +74,10 @@
#score{
position: absolute;
margin-left: 260px;
margin-left: 290px;
margin-top: -135px;
font-size: 30px;
font-size: 45px;
/* color: #ff6666; */
color: rgb(252, 102, 102);
}

View File

@ -59,7 +59,7 @@ function SubjectPage(){
<span>发布者:{'小陈老师'}</span>
<div>发布时间:{testdata[key][1][0][5]}</div>
<div>截至时间:{testdata[key][1][0][6]}</div>
<div id='score'>分数{testdata[key][0][5]}</div>
<div id='score'>{testdata[key][0][5]}</div>
</div>
))}
</div>

View File

@ -59,8 +59,8 @@
z-index: 1000;
}
.dropdown-menu1 li{
background-color: rgb(254, 252, 252);
border-bottom: 2px solid rgb(231, 231, 231);
background-color: rgb(236, 232, 232);
border-bottom: 2px solid rgb(213, 208, 208);
}
/* 显示下拉菜单 */
.subject-dropdown.open1 + .dropdown-menu1 {
@ -124,6 +124,7 @@
/* 第一页(主观题)的右边页面 */
.body-right1{
width: 1414px;
height: 2150px;
position: absolute;
top: 64px;
left: 230px;
@ -197,11 +198,10 @@
}
.operation-btn1{
width: 110px;
width: 100px;
height: 40px;
border: none;
margin-top: 50px;
margin-bottom: 20px;
margin-left: 20px;
border-radius: 20px;
font-size: 18px;

View File

@ -337,6 +337,7 @@ function Operation1() {
{Object.keys(TrainData['operateID'][1]).map((key,index)=>(
<tr key={key}>
<tr className='test-title1'>{index+1}.{TrainData['operateID'][1][key][0][1]}</tr>
{/* <br /> */}
<div className='input-box'>
<span>请填入你的答案</span>
<input type="text" onChange={handleInputChange} name={key} value={completion_answer[key]||''}/>

View File

@ -53,7 +53,7 @@
font-size: 17px;
border: none;
display: inline-block;
padding: 3px 23px;
padding: 3px 26px;
background-color: rgba(175, 235, 230, 0.929);
color: #000;
text-decoration: none;