Commit 15e9930c by chenshu

fix:优化样式

parent 13a2beac
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-07-17 15:49:11 * @Date: 2020-07-17 15:49:11
* @Last Modified by: chenshu * @Last Modified by: chenshu
* @Last Modified time: 2021-03-23 19:18:11 * @Last Modified time: 2021-03-24 14:13:04
* @Description: 大班互动-添加/编辑直播课 * @Description: 大班互动-添加/编辑直播课
*/ */
...@@ -103,6 +103,7 @@ class AddLive extends React.Component { ...@@ -103,6 +103,7 @@ class AddLive extends React.Component {
whetherVisitorsJoin:'NO', whetherVisitorsJoin:'NO',
liveCourseWarmMedia: {}, liveCourseWarmMedia: {},
introduce: '', introduce: '',
liveCourseMediaRequests: [],
}, },
} }
} }
...@@ -613,7 +614,7 @@ handleChangeBasicInfo = (field, value) => { ...@@ -613,7 +614,7 @@ handleChangeBasicInfo = (field, value) => {
<div className="footer"> <div className="footer">
<Button onClick={this.handleGoBack}>取消</Button> <Button onClick={this.handleGoBack}>取消</Button>
<Button onClick={this.handleShowPreviewModal}>预览课程介绍</Button> <Button onClick={this.handleShowPreviewModal}>预览</Button>
<Button type="primary" onClick={_.debounce(() => this.handleSubmit(), 3000, true)}>保存</Button> <Button type="primary" onClick={_.debounce(() => this.handleSubmit(), 3000, true)}>保存</Button>
</div> </div>
......
...@@ -127,7 +127,6 @@ class GraphicsEditor extends React.Component { ...@@ -127,7 +127,6 @@ class GraphicsEditor extends React.Component {
'xmimage', 'xmimage',
'xmvideo', 'xmvideo',
'table', 'table',
'code',
'splitLine', 'splitLine',
'undo', 'undo',
'redo', 'redo',
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
background-color: #fff !important; background-color: #fff !important;
border: none !important; border: none !important;
border-bottom: 1px solid #E8E8E8 !important; border-bottom: 1px solid #E8E8E8 !important;
width: 700px;
} }
.w-e-text-container { .w-e-text-container {
...@@ -42,6 +43,7 @@ ...@@ -42,6 +43,7 @@
} }
} }
&.introduce { &.introduce {
height: 200px;
.w-e-text-container { .w-e-text-container {
height: ~'calc(100% - 41px)' !important; height: ~'calc(100% - 41px)' !important;
} }
......
...@@ -66,7 +66,7 @@ class AddGraphicsCourse extends React.Component { ...@@ -66,7 +66,7 @@ class AddGraphicsCourse extends React.Component {
courseCatalogList:[], //分类列表 courseCatalogList:[], //分类列表
categoryId:null, //分类的Id值 categoryId:null, //分类的Id值
whetherVisitorsJoin: 'NO', // 是否允许游客加入 whetherVisitorsJoin: 'NO', // 是否允许游客加入
isContent: '', isContent: true,
} }
} }
...@@ -113,17 +113,17 @@ class AddGraphicsCourse extends React.Component { ...@@ -113,17 +113,17 @@ class AddGraphicsCourse extends React.Component {
}); });
} }
catalogChange= (value) => { catalogChange= (value, options) => {
const changeValueLength = value.length; const changeValueLength = value.length;
switch (changeValueLength){ switch (changeValueLength){
case 1: case 1:
this.setState({categoryId:value[0]}); this.setState({ categoryId: value[0], categoryName: options[0].categoryName });
break; break;
case 2: case 2:
this.setState({categoryId:value[1]}); this.setState({ categoryId: value[1], categoryName: `${options[0].categoryName}-${options[1].categoryName}` });
break; break;
default: default:
this.setState({categoryId:null}); this.setState({ categoryId: null, categoryName: '' });
break; break;
} }
} }
...@@ -285,7 +285,7 @@ class AddGraphicsCourse extends React.Component { ...@@ -285,7 +285,7 @@ class AddGraphicsCourse extends React.Component {
courseMedia, courseMedia,
introduce, introduce,
} }
console.log()
const previewGraphicsModal = ( const previewGraphicsModal = (
<PreviewGraphicsModal <PreviewGraphicsModal
courseBasicInfo={courseBasinInfo} courseBasicInfo={courseBasinInfo}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-07-16 11:05:17 * @Date: 2020-07-16 11:05:17
* @Last Modified by: chenshu * @Last Modified by: chenshu
* @Last Modified time: 2021-03-22 17:43:10 * @Last Modified time: 2021-03-24 14:40:40
* @Description: 添加直播-简介 * @Description: 添加直播-简介
*/ */
...@@ -163,15 +163,15 @@ class AddGraphicsIntro extends React.Component { ...@@ -163,15 +163,15 @@ class AddGraphicsIntro extends React.Component {
</Col> </Col>
<Col span={21}> <Col span={21}>
<div className="desc"> <div className="desc">
<div>开启:此图文课将在用户店铺的图文课列表中出现</div> <div>开启:图文课将在用户学员表中展示</div>
<div>关闭:此图文课将在用户店铺的图文课列表中隐藏</div> <div>关闭:图文课将在用户学员表中隐藏</div>
</div> </div>
</Col> </Col>
</Row> </Row>
</div> </div>
</div> </div>
<div className="introduce"> <div className="introduce required">
<span className="label">课程内容:</span> <span className="label" style={{ marginTop: 5 }}>课程内容:</span>
<div className="content"> <div className="content">
<div className="intro-list"> <div className="intro-list">
<div className="intro-list__item content-editor"> <div className="intro-list__item content-editor">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-05-19 11:01:31 * @Date: 2020-05-19 11:01:31
* @Last Modified by: chenshu * @Last Modified by: chenshu
* @Last Modified time: 2021-03-19 16:25:31 * @Last Modified time: 2021-03-24 15:13:38
* @Description 余额异常弹窗 * @Description 余额异常弹窗
*/ */
import React from 'react'; import React from 'react';
...@@ -107,7 +107,7 @@ class WatchDataModal extends React.Component { ...@@ -107,7 +107,7 @@ class WatchDataModal extends React.Component {
} }
}, },
{ {
title: '观看时长', title: '观看时长',
key: 'watchDuration', key: 'watchDuration',
dataIndex: 'watchDuration', dataIndex: 'watchDuration',
render: (val) => { render: (val) => {
......
...@@ -81,20 +81,12 @@ ...@@ -81,20 +81,12 @@
.intro-item:not(:first-child) { .intro-item:not(:first-child) {
margin-top: 13px; margin-top: 13px;
} }
.text {
color: #666; color: #666;
line-height: 17px;
p { p {
font-size: 12px; font-size: 12px;
} }
}
.picture {
img { img {
width: 100%; max-width: 100%;
}
} }
} }
} }
......
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