This commit is contained in:
parent
7313e37fdd
commit
f13582ce03
|
@ -103,7 +103,7 @@ function Operation2() {
|
||||||
{/* 左边导航 */}
|
{/* 左边导航 */}
|
||||||
<p>题目</p>
|
<p>题目</p>
|
||||||
<ul className='nav-left-ul2'>
|
<ul className='nav-left-ul2'>
|
||||||
<Link to='/operation1/实训一:数据库的安装' style={{color:'#000',textDecoration:'none'}}>
|
<Link to={`/operation1/${operateID}`} style={{color:'#000',textDecoration:'none'}}>
|
||||||
<li className='subject-dropdown2' onClick={() => setIsSubjectDropdownOpen(!isSubjectDropdownOpen)}>
|
<li className='subject-dropdown2' onClick={() => setIsSubjectDropdownOpen(!isSubjectDropdownOpen)}>
|
||||||
主观题
|
主观题
|
||||||
{isSubjectDropdownOpen ? <span className='list-img2'><img src={bottom} alt="" width='20px' height='20px'/></span> : <span><img src={top} alt="" width='20px' height='20px'/></span>}
|
{isSubjectDropdownOpen ? <span className='list-img2'><img src={bottom} alt="" width='20px' height='20px'/></span> : <span><img src={top} alt="" width='20px' height='20px'/></span>}
|
||||||
|
@ -128,7 +128,7 @@ function Operation2() {
|
||||||
<p>上一页</p>
|
<p>上一页</p>
|
||||||
<img src={arrowleft} alt="" width='40px' height='40px' />
|
<img src={arrowleft} alt="" width='40px' height='40px' />
|
||||||
</Link>
|
</Link>
|
||||||
<Link className='btn-out2' to='/train' style={{color:'#000',textDecoration:'none'}}>
|
<Link className='btn-out2' style={{color:'#000',textDecoration:'none'}}>
|
||||||
<img src={arrowright} alt="" width='40px' height='40px' />
|
<img src={arrowright} alt="" width='40px' height='40px' />
|
||||||
<p>完成</p>
|
<p>完成</p>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
@ -26,7 +26,8 @@ import Marking from '../TeacherPages/MarkingPages/Marking';
|
||||||
import SendTrain from '../TeacherPages/Trainmanage/SendTrain';
|
import SendTrain from '../TeacherPages/Trainmanage/SendTrain';
|
||||||
import TrainManage from '../TeacherPages/Trainmanage/Trainmanage';
|
import TrainManage from '../TeacherPages/Trainmanage/Trainmanage';
|
||||||
import StudentLink from '../TeacherPages/MarkingPages/StudentLink';
|
import StudentLink from '../TeacherPages/MarkingPages/StudentLink';
|
||||||
import List_pods from '../TeacherPages/list_pods/list_pods'
|
import List_pods from '../TeacherPages/list_pods/list_pods';
|
||||||
|
|
||||||
|
|
||||||
// 定义一个组件来包裹除了特定页面(exam)外的所有页面使其有导航
|
// 定义一个组件来包裹除了特定页面(exam)外的所有页面使其有导航
|
||||||
const MainLayout = ({ headerNav:HeaderNav }) => {
|
const MainLayout = ({ headerNav:HeaderNav }) => {
|
||||||
|
|
|
@ -65,7 +65,6 @@ def register_func(usernames, ID, password, Class, gender):
|
||||||
|
|
||||||
db.commit()
|
db.commit()
|
||||||
register_cursor.close()
|
register_cursor.close()
|
||||||
print('注册成功')
|
|
||||||
return '注册成功'
|
return '注册成功'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue