Commit 07276b70 by wufan

style:验收样式优化

parent 0c2a08d4
...@@ -2,13 +2,12 @@ ...@@ -2,13 +2,12 @@
.box-header { .box-header {
display: flex; display: flex;
width: calc(100% - 80px); width: calc(100% - 80px);
margin-bottom: 16px; margin-bottom: 4px;
.header-item { .header-item {
width: 30%; width: 30%;
margin-right: 3%; margin-right: 3%;
display: flex; display: flex;
.item-name { .item-name {
width: 80px;
flex-shrink: 0; flex-shrink: 0;
} }
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
} }
.course-category-tree { .course-category-tree {
position: relative; position: relative;
margin-top: 16px; margin-top: 12px;
width: 900px; width: 900px;
border: 1px solid #e8e8e8; border: 1px solid #e8e8e8;
.ant-tree.ant-tree-directory { .ant-tree.ant-tree-directory {
......
.examPage{ .examPage{
padding-bottom: 50px; padding-bottom: 50px;
.ant-alert-info{ .box {
background: rgba(255, 244, 221, 1); padding-bottom: 40px!important;
border: none;
} }
.ant-form-item{ .ant-form-item{
&:last-child{ &:last-child{
......
...@@ -9,6 +9,8 @@ import _ from 'underscore' ...@@ -9,6 +9,8 @@ import _ from 'underscore'
import GraphicsEditor from '../../course-manage/components/GraphicsEditor'; import GraphicsEditor from '../../course-manage/components/GraphicsEditor';
import SelectPaperModal from './SelectPaperModal' import SelectPaperModal from './SelectPaperModal'
import PreviewModal from './PreviewModal' import PreviewModal from './PreviewModal'
import ShowTips from "@/components/ShowTips";
import './AddExam.less'; import './AddExam.less';
const { RangePicker } = DatePicker; const { RangePicker } = DatePicker;
...@@ -230,8 +232,9 @@ function AddExam(props: any) { ...@@ -230,8 +232,9 @@ function AddExam(props: any) {
<Breadcrumbs navList={props.type === 'edit' ? "编辑考试" : "新建考试"} goBack={handleGoBack} /> <Breadcrumbs navList={props.type === 'edit' ? "编辑考试" : "新建考试"} goBack={handleGoBack} />
<div className="box"> <div className="box">
<Alert message="请遵守国家相关规定,切勿上传低俗色情、暴力恐怖、谣言诈骗、侵权盗版等相关内容,小麦企学院保有依据国家规定及平台规则进行处理的权利" type="info" showIcon /> <div className="show-tips">
<div className="form"> <ShowTips message="请遵守国家相关规定,切勿上传低俗色情、暴力恐怖、谣言诈骗、侵权盗版等相关内容,小麦企学院保有依据国家规定及平台规则进行处理的权利" />
</div> <div className="form">
<div className="title">基本信息</div> <div className="title">基本信息</div>
<Form <Form
labelCol={{ span: 3 }} labelCol={{ span: 3 }}
......
...@@ -293,7 +293,7 @@ function ExaminationManager(props: any) { ...@@ -293,7 +293,7 @@ function ExaminationManager(props: any) {
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<div className="search-condition"> <div className="search-condition">
<div className="search-condition__item"> <div className="search-condition__item">
<span className="search-name">考试名称:</span> <span className="search-name">考试名称</span>
<Search <Search
value={query.examName} value={query.examName}
className='search-input' className='search-input'
...@@ -321,7 +321,7 @@ function ExaminationManager(props: any) { ...@@ -321,7 +321,7 @@ function ExaminationManager(props: any) {
></TeacherSelect> ></TeacherSelect>
<div className="search-condition__item"> <div className="search-condition__item">
<span className="search-name">考试时间:</span> <span className="search-name">考试时间</span>
<RangePicker <RangePicker
className='search-input' className='search-input'
value={[ value={[
...@@ -339,7 +339,7 @@ function ExaminationManager(props: any) { ...@@ -339,7 +339,7 @@ function ExaminationManager(props: any) {
</div> </div>
{ {
!!expandFilter && <div className="search-condition__item"> !!expandFilter && <div className="search-condition__item">
<span className="search-name">创建时间:</span> <span className="search-name">创建时间</span>
<RangePicker <RangePicker
className='search-input' className='search-input'
value={[ value={[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment