diff --git a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx index e461afb..240fed0 100644 --- a/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx +++ b/packages/examination/src/views/exam-online/compoents/ExamListPage.tsx @@ -162,7 +162,7 @@ const ExamListPage = ({ history }: { history: any }) => { console.log('跳转到编辑页面,examId:', examId); }; - const handleDetail = (examId: number)=>{ + const handleDetail = (examId: number) => { sessionStorage.setItem('examId', String(examId)); history.push('/exam-detail'); console.log('跳转到答题情况,examId:', examId); @@ -355,53 +355,56 @@ const ExamListPage = ({ history }: { history: any }) => { return (
-
- - - setSearchForm({...searchForm, examName: e.target.value}) - } - style={{width: 150, marginRight: 8}} - /> - - - setSearchForm({...searchForm, paperName: e.target.value}) - } - style={{width: 150, marginRight: 8}} - /> - - - - - setSearchForm({...searchForm, validTime: value}) - } - style={{marginRight: 8}} - /> - - +
+
+ + + setSearchForm({ ...searchForm, examName: e.target.value }) + } + style={{ width: 200, marginRight: '30' }} + /> + + + setSearchForm({ ...searchForm, paperName: e.target.value }) + } + style={{ width: 200, marginRight: '30' }} + /> + + + + + setSearchForm({ ...searchForm, validTime: value }) + } + /> +
+
+ + +