Commit 92466f04 by wufan

style:新建线下课居中

parent 4b964ca8
/* /*
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-08-05 10:07:47 * @Date: 2020-08-05 10:07:47
* @LastEditors: zhangleyuan * @LastEditors: wufan
* @LastEditTime: 2021-03-29 14:08:47 * @LastEditTime: 2021-05-25 15:25:33
* @Description: 线下课新增/编辑页 * @Description: 线下课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有 * @Copyright: 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -823,7 +823,7 @@ class AddOfflineCourse extends React.Component { ...@@ -823,7 +823,7 @@ class AddOfflineCourse extends React.Component {
</div> </div>
</div> </div>
<div className="course-catalog"> <div className="course-catalog">
<span className="label"><span className="require">*</span>课程分类:</span> <span className="label special"><span className="require">*</span>课程分类:</span>
<TreeSelect <TreeSelect
showSearch showSearch
treeNodeFilterProp="title" treeNodeFilterProp="title"
...@@ -840,7 +840,7 @@ class AddOfflineCourse extends React.Component { ...@@ -840,7 +840,7 @@ class AddOfflineCourse extends React.Component {
/> />
</div> </div>
<div className="course-catalog"> <div className="course-catalog">
<span className="label"><span className="require">*</span>上课地点:</span> <span className="label special"><span className="require">*</span>上课地点:</span>
<Input <Input
value={offlinePlace} value={offlinePlace}
maxLength={40} maxLength={40}
...@@ -852,7 +852,7 @@ class AddOfflineCourse extends React.Component { ...@@ -852,7 +852,7 @@ class AddOfflineCourse extends React.Component {
/> />
</div> </div>
<div className="course-catalog" id="teacher"> <div className="course-catalog" id="teacher">
<span className="label"><span className="require">* </span>讲师:</span> <span className="label special"><span className="require">* </span>讲师:</span>
<Select <Select
placeholder="请选择讲师" placeholder="请选择讲师"
value={teacherName} value={teacherName}
......
...@@ -43,6 +43,9 @@ ...@@ -43,6 +43,9 @@
text-align: right; text-align: right;
width: 120px; width: 120px;
flex-shrink: 0; flex-shrink: 0;
&.special {
line-height: 32px;
}
} }
.required { .required {
position: relative; position: relative;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
.cover { .cover {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 48px;
left: 0; left: 0;
top: 0; top: 0;
background-color: rgba(0, 0, 0, 0.05); background-color: rgba(0, 0, 0, 0.05);
......
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