样式调整

main
liuyiliang 3 months ago
parent 0a3825a449
commit 90bad9816a
  1. 4
      packages/examination/src/style/common.css
  2. 8
      packages/examination/src/views/exam-online/compoents/ExamListPage.tsx
  3. 10
      packages/examination/src/views/examPaper/examPaperList.tsx
  4. 10
      packages/examination/src/views/question/questionList.tsx
  5. 4
      packages/examination/src/views/statistical/serviceStatistics.tsx

@ -382,3 +382,7 @@ table.ikd-input-table {
height: 100%; height: 100%;
font-size: x-large; font-size: x-large;
} }
.ant-btn-dangerous {
color: #ff4d4f !important;
border-color: #ff4d4f !important;
}

@ -472,7 +472,10 @@ const ExamListPage = ({ history }: { history: any }) => {
} }
return ( return (
<div className="list-filter"> <div className="container">
<div>
<div className="header-filter">
<div className="list-filter" style={{display: 'flex', padding: 15}}>
<Form <Form
//ref={this.formRef} //ref={this.formRef}
className="filter" className="filter"
@ -541,6 +544,8 @@ const ExamListPage = ({ history }: { history: any }) => {
</Button> </Button>
</Form.Item> </Form.Item>
</Form> </Form>
</div>
</div>
<div style={{marginBottom: 16, textAlign: "right"}}> <div style={{marginBottom: 16, textAlign: "right"}}>
<Button onClick={handleDeleteSelected} danger> <Button onClick={handleDeleteSelected} danger>
@ -586,6 +591,7 @@ const ExamListPage = ({ history }: { history: any }) => {
</div> </div>
</Modal> </Modal>
</div> </div>
</div>
); );
}; };

@ -349,7 +349,10 @@ class ExamPaperList extends Component<any, States> {
]; ];
return ( return (
<div className="list-filter"> <div className="container">
<div>
<div className="header-filter">
<div className="list-filter" style={{display: 'flex', padding: 15}}>
<Form <Form
ref={this.formRef} ref={this.formRef}
className="filter" className="filter"
@ -396,13 +399,15 @@ class ExamPaperList extends Component<any, States> {
}}></Button> }}></Button>
</Form.Item> </Form.Item>
</Form> </Form>
</div>
</div>
<Form <Form
className="filter" className="filter"
layout="inline" layout="inline"
style={{ justifyContent: 'flex-end' }} style={{ justifyContent: 'flex-end' }}
> >
<Form.Item> <Form.Item>
<Button type="default" onClick={this.handleBatchDeleteExamPaper}></Button> <Button type="default" onClick={this.handleBatchDeleteExamPaper} danger></Button>
</Form.Item> </Form.Item>
<Form.Item> <Form.Item>
<Button type="default" onClick={() => this.handleBatchUpdatePaperStatus(1)}></Button> <Button type="default" onClick={() => this.handleBatchUpdatePaperStatus(1)}></Button>
@ -439,6 +444,7 @@ class ExamPaperList extends Component<any, States> {
}} }}
/> />
</div> </div>
</div>
); );
} }
} }

@ -281,7 +281,10 @@ class QuestionList extends Component<any, States> {
]; ];
return ( return (
<div className="list-filter"> <div className="container">
<div>
<div className="header-filter">
<div className="list-filter" style={{display: 'flex', padding: 15}}>
<Form <Form
ref={this.formRef} ref={this.formRef}
className="filter" className="filter"
@ -357,13 +360,15 @@ class QuestionList extends Component<any, States> {
}}></Button> }}></Button>
</Form.Item> </Form.Item>
</Form> </Form>
</div>
</div>
<Form <Form
className="filter" className="filter"
layout="inline" layout="inline"
style={{ justifyContent: 'flex-end' }} style={{ justifyContent: 'flex-end' }}
> >
<Form.Item> <Form.Item>
<Button type="default" onClick={this.handleBatchDeleteQuestions}></Button> <Button type="default" onClick={this.handleBatchDeleteQuestions} danger></Button>
</Form.Item> </Form.Item>
<Form.Item> <Form.Item>
<Button type="primary" onClick={() => { <Button type="primary" onClick={() => {
@ -396,6 +401,7 @@ class QuestionList extends Component<any, States> {
}} }}
/> />
</div> </div>
</div>
); );
} }
} }

@ -75,14 +75,14 @@ const App: React.FC = () => {
key: 'serviceStatusName', key: 'serviceStatusName',
}, },
{ {
title: '启保时间', title: '起保日期',
dataIndex: 'startDate', dataIndex: 'startDate',
align: 'center', align: 'center',
width: 150, width: 150,
key: 'startDate', key: 'startDate',
}, },
{ {
title: '终保时间', title: '终保日期',
dataIndex: 'doneDate', dataIndex: 'doneDate',
align: 'center', align: 'center',
width: 150, width: 150,

Loading…
Cancel
Save