Commit 4284bda0 authored by baixian's avatar baixian

bug修改

parents b72e4375 33d43a3b
......@@ -17,6 +17,6 @@
</head>
<body>
<div id="root"></div>
<script src="dist/main.js?1574779111827" charset="utf-8"></script>
<script src="dist/main.js?1574825757558" charset="utf-8"></script>
</body>
</html>
\ No newline at end of file
......@@ -89,15 +89,15 @@ class UploadCourseware extends React.Component {
width={600}
>
<div className={pageStyle.uploadBox} style={{ display: !info.src ? 'block' : 'none' }}>
<input
type="file"
className={pageStyle.uploadInput}
accept=".ppt, .pptx, image/*, application/vnd.ms-powerpoint, video/mp4, application/pdf, audio/*"
onChange={this.uploadCourseMateria}
id="uploadcourseware"
/>
<div className={pageStyle.uploadBoxTitle}>可将文件直接拖拽到此处上传或者点击上传</div>
<div className={pageStyle.filetypebox}>
<input
type="file"
className={pageStyle.uploadInput}
accept=".ppt, .pptx, image/*, application/vnd.ms-powerpoint, video/mp4, application/pdf, audio/*"
onChange={this.uploadCourseMateria}
id="uploadcourseware"
/>
<div className={pageStyle.boxotem}>
<img src={`${__IMGCDN__}course/ppt.png`} alt="" />
<div className={pageStyle.boxotemname}>支持ppt</div>
......
......@@ -13,6 +13,15 @@
border:2px dashed rgba(194,194,194,1);
margin: 0 auto;
position: relative;
.uploadInput {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
opacity: 0;
}
.uploadBoxTitle {
color: #575757;
font-size: 16px;
......@@ -25,15 +34,6 @@
align-items: center;
justify-content: space-around;
position: relative;
.uploadInput {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 2;
opacity: 0;
}
.boxotem {
img {
display: block;
......
......@@ -1077,11 +1077,21 @@ export default {
},
});
yield put({
type: 'findCourse',
type: 'updateState',
payload: {
id: addCourseObj.id,
addCourseObj: {
...addCourseObj,
content: JSON.stringify(info),
},
coursewareInfo: info,
},
});
// yield put({
// type: 'findCourse',
// payload: {
// id: addCourseObj.id,
// },
// });
yield put({
type: 'selectCourseList',
payload: {
......
......@@ -94,7 +94,7 @@ class AddCourseModal extends React.Component {
okText={loading ? '保存中...' : '保存'}
onOk={this.submit}
bodyStyle={{
padding: '40px 20px',
padding: '20px 20px',
}}
>
{courseListTotal == 0 && <Empty description={<span className={pageStyle.emptytext}>您还没有创建单课<br />请直接点击“创建专栏”完成创建</span>} />}
......@@ -103,8 +103,8 @@ class AddCourseModal extends React.Component {
{courseList.map(ele => (
<Col span={12} style={{ marginBottom: '10px' }} key={ele.id}>
<Checkbox id="1" style={{ display: 'flex', alignItems: 'flex-start' }} onChange={() => this.checkedChange(ele.id)} checked={course_ids.indexOf(ele.id) != -1}>
<div className={pageStyle.colItem} >
<img className={pageStyle.courseCover} src={ele.cover ? imagify(ele.cover || '') : `${__IMGCDN__}/course/courseDefaultImg.png`} alt="" />
<div className={pageStyle.colItem} title={ele.title} >
<img className={pageStyle.courseCover} src={ele.cover ? imagify(ele.cover || '') : `${__IMGCDN__}course/courseDefaultImg.png`} alt="" />
<div className={pageStyle.courseTitle}>{ele.title}</div>
</div>
</Checkbox>
......
......@@ -127,10 +127,10 @@ class CourseBoxForm extends React.Component {
gutter: 20,
xs: 1,
sm: 1,
md: 2,
md: 1,
lg: 2,
xl: 3,
xxl: 4,
xl: 2,
xxl: 3,
}}
dataSource={list}
footer={
......@@ -149,10 +149,15 @@ class CourseBoxForm extends React.Component {
}
renderItem={item => (
<List.Item style={{ minWidth: '320px' }} className={pageStyle.listitem}>
<Card bodyStyle={{ padding: 20, minWidth: '320px' }}>
<Card
bodyStyle={{
padding: '14px', minWidth: '320px', borderRadius: '6px', border: '1px solid #e8e8e8',
}}
bordered={false}
>
<Card.Meta
style={{ padding: 0, borderRadius: '6px' }}
avatar={<img className={pageStyle.itemImg} alt="图片" src={item.cover ? imagify(item.cover) : `${__IMGCDN__}/course/courseDefaultImg.png`} />}
avatar={<img className={pageStyle.itemImg} alt="图片" src={item.cover ? imagify(item.cover) : `${__IMGCDN__}course/courseDefaultImg.png`} />}
title={
<div className={pageStyle.itemTitleWrap}>
<div className={pageStyle.itemTitle}>{item.title}</div>
......@@ -207,7 +212,7 @@ class CourseBoxForm extends React.Component {
</div>
}
/>
{item.status == 2 && <img className={pageStyle.notpublishicon} src={`${__IMGCDN__}/course/notpublish_b.png`} alt="" />}
{item.status == 2 && <img className={pageStyle.notpublishicon} src={`${__IMGCDN__}course/notpublish_b.png`} alt="" />}
</Card>
</List.Item>
)}
......@@ -217,7 +222,7 @@ class CourseBoxForm extends React.Component {
{total == 0 &&
<div>
<div className={pageStyle.noData}>
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}/course/no_data.png`} alt="缺省图" />
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}course/no_data.png`} alt="缺省图" />
<h3>暂无专栏课程,点击“立即创建”创建专栏课程</h3>
<Button type="primary" className={pageStyle.createBtn} onClick={toCreateSingleCourse}>立即创建</Button>
</div>
......@@ -236,11 +241,11 @@ class CourseBoxForm extends React.Component {
</div>
<div className={pageStyle.photoWrap} style={{ display: !editSingleCourseInfo.cover ? 'flex' : 'none' }}>
<div className={pageStyle.material} onClick={chooseMaterial}>
<img src={`${__IMGCDN__}/course/check.png`} alt="从素材库选择" />
<img src={`${__IMGCDN__}course/check.png`} alt="从素材库选择" />
<div className={pageStyle.tip}>从素材库选择</div>
</div>
<div className={pageStyle.material}>
<img src={`${__IMGCDN__}/course/uploadImg.png`} alt="上传图片" />
<img src={`${__IMGCDN__}course/uploadImg.png`} alt="上传图片" />
<div className={pageStyle.tip}>上传图片</div>
<input
type="file"
......
......@@ -21,7 +21,7 @@
}
}
.itemImg {
width: 90px;
width: 165px;
height: 90px;
border-radius: 6px;
}
......
......@@ -272,14 +272,14 @@ class CourseDetailForm extends React.Component {
</div> :
<div className={pageStyle.photoWrap}>
<div className={pageStyle.defaultImgBox}>
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}/course/courseDefaultImg.png`} alt="" />
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}course/courseDefaultImg.png`} alt="" />
<div className={pageStyle.chooseType}>
<div className={pageStyle.material} onClick={this.chooseMaterial}>
<img src={`${__IMGCDN__}/course/upload_icon2.png`} alt="从素材库选择" />
<img src={`${__IMGCDN__}course/upload_icon2.png`} alt="从素材库选择" />
<div className={pageStyle.tip}>从素材库选择</div>
</div>
<div className={pageStyle.material}>
<img src={`${__IMGCDN__}/course/upload_icon1.png`} alt="上传图片" />
<img src={`${__IMGCDN__}course/upload_icon1.png`} alt="上传图片" />
<div className={pageStyle.tip}>上传图片</div>
<input
type="file"
......@@ -353,11 +353,11 @@ class CourseDetailForm extends React.Component {
{!addCourseObj.poster ?
<div className={pageStyle.posterWrap}>
<div className={pageStyle.posterUploadBox} onClick={choosePoster}>
<img src={`${__IMGCDN__}/course/check.png`} alt="从素材库选择" />
<img src={`${__IMGCDN__}course/postermodul.png`} alt="从素材库选择" />
<div className={pageStyle.tip}>选择模板</div>
</div>
<div className={pageStyle.posterUploadBox} style={{ marginRight: 30 }}>
<img src={`${__IMGCDN__}/course/uploadImg.png`} alt="上传图片" />
<img src={`${__IMGCDN__}course/posterlocal.png`} alt="上传图片" />
<div className={pageStyle.tip}>本地上传</div>
<input
type="file"
......
......@@ -7,7 +7,7 @@
align-items: center;
width: 200px;
.cover {
width: 56px;
width: 100px;
height: 56px;
border-radius: 4px;
display: block;
......
......@@ -191,7 +191,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon1.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon1.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>访问人数</div>
......@@ -242,7 +242,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon2.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon2.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享好友</div>
......@@ -266,7 +266,7 @@ class StaticBox extends React.Component {
</Col> */}
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon3.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon3.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享邀请卡</div>
......@@ -281,7 +281,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon4.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon4.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>评论</div>
......
......@@ -835,7 +835,7 @@ class StaticCenter extends React.Component {
<div className={pageStyle.container}>
<div className={pageStyle.tabbox}>
<div className={pageStyle.gatherInfo}>
<img className={pageStyle.titleicon} src={`${__IMGCDN__}/course/book_icon.png`} alt="" />
<img className={pageStyle.titleicon} src={`${__IMGCDN__}course/book_icon.png`} alt="" />
<div className={pageStyle.gatherDetail}>
<div className={pageStyle.titlebox}>
<span className={pageStyle.title}>{gatherDetail.title || ''}</span>
......@@ -956,23 +956,23 @@ class StaticCenter extends React.Component {
<Radio.Group onChange={this.posterChange} value={this.state.choosedPoster || addCourseObj.poster}>
<Row className={`${pageStyle.posterSetBox} posterSetBox`}>
<Col span={6} style={{ marginBottom: '10px' }}>
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="clock-test/member/12186/2019-11-26/f766995d6957b3ff91c983d97514986b.jpg">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/f766995d6957b3ff91c983d97514986b.jpg" alt="" />
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/1.png">
<img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/1.png`} alt="" />
</Radio>
</Col>
<Col span={6} style={{ marginBottom: '10px' }}>
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="clock-test/member/12186/2019-11-26/b8d7da24f8bd0a1efa23e0cab68efc64.jpg">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/b8d7da24f8bd0a1efa23e0cab68efc64.jpg" alt="" />
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/2.png">
<img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/2.png`} alt="" />
</Radio>
</Col>
<Col span={6} style={{ marginBottom: '10px' }} >
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="clock-test/member/12186/2019-11-26/0b6647b87af063e90288286cda9c7a1d.jpg">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/0b6647b87af063e90288286cda9c7a1d.jpg" alt="" />
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/3.png">
<img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/3.png`} alt="" />
</Radio>
</Col>
<Col span={6} style={{ marginBottom: '10px' }} >
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="clock-test/member/12186/2019-11-26/dcedfa5eb225dbb7f05ae729ae05a5d7.jpg">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/dcedfa5eb225dbb7f05ae729ae05a5d7.jpg" alt="" />
<Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/4.png">
<img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/4.png`} alt="" />
</Radio>
</Col>
</Row>
......
......@@ -254,7 +254,7 @@ class AddCourseModalForm extends React.Component {
imageStyle={{
height: 64,
}}
image={`${__IMGCDN__}/course/no_data.png`}
image={`${__IMGCDN__}course/no_data.png`}
description={<span className={pageStyle.emptytext}>您还没有创建单课<br /><br />请直接点击<strong>“创建专栏”</strong> 完成创建</span>}
/>}
{courseListTotal > 0 &&
......@@ -263,7 +263,7 @@ class AddCourseModalForm extends React.Component {
<Col span={12} style={{ marginBottom: '20px' }} key={ele.id}>
<Checkbox id="1" style={{ display: 'flex', alignItems: 'flex-start' }} onChange={() => this.checkedChange(ele.id)} checked={course_ids.indexOf(ele.id) != -1}>
<div className={pageStyle.colItem} >
<img className={pageStyle.courseCover} src={ele.cover ? imagify(ele.cover || '') : `${__IMGCDN__}/course/courseDefaultImg.png`} alt="" />
<img className={pageStyle.courseCover} src={ele.cover ? imagify(ele.cover || '') : `${__IMGCDN__}course/courseDefaultImg.png`} alt="" />
<div className={pageStyle.courseTitle}>{ele.title}</div>
</div>
</Checkbox>
......
......@@ -8,10 +8,10 @@ const MediaCard = (props) => {
method,
} = props;
return (
<div className={pageStyle.box} {...props} onClick={() => method.gogatherdetail(info.id)}>
<div className={pageStyle.box} {...props} onClick={() => method.gogatherdetail(info.id)} title={info.title}>
{
info.cover ? <img className={pageStyle.image} src={imagify(info.cover)} alt="" /> :
<img className={pageStyle.image} src={`${__IMGCDN__}/course/courseDefaultImg.png`} alt="" />
<img className={pageStyle.image} src={`${__IMGCDN__}course/courseDefaultImg.png`} alt="" />
}
<div className={pageStyle.infobox}>
<div className={pageStyle.topbox}>
......@@ -23,7 +23,7 @@ const MediaCard = (props) => {
<div className={pageStyle.coursecount}><span style={{ color: 'red', paddingRight: '2px' }}>{info.sub_courses_count}</span>个课程</div>
</div>
</div>
{info.status == 2 && <img className={pageStyle.notpublishicon} src={`${__IMGCDN__}/course/notpublish_a.png`} alt="" />}
{info.status == 2 && <img className={pageStyle.notpublishicon} src={`${__IMGCDN__}course/notpublish_a.png`} alt="" />}
</div>
);
};
......
.box {
border-radius: 8px;
overflow: hidden;
width: 316px;
width: 340px;
height: 110px;
border-radius: 6px;
box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.08);
......@@ -18,7 +18,7 @@
bottom: 7px;
}
.image {
width: 90px;
width: 160px;
height: 90px;
border-radius: 6px;
display: block;
......
......@@ -28,24 +28,24 @@ class MediaCard extends React.Component {
{info.type == 1 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.imgBox}`} title={content.name} onClick={() => methods.preview(info)}>
<img className={pageStyle.image} src={`${imagify(info.src)}`} alt="" />
<img className={pageStyle.imageicon} src={`${__IMGCDN__}/course/photo_icon.png`} alt="" />
<img className={pageStyle.imageicon} src={`${__IMGCDN__}course/photo_icon.png`} alt="" />
</div>}
{info.type == 2 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.videoBox}`} title={content.name} onClick={() => methods.preview(info)}>
<img className={pageStyle.videoposter} src={`${videoPoster(info.src)}`} alt="" />
<img className={pageStyle.videoicon} src={`${__IMGCDN__}/course/video_icon.png`} alt="" />
<img className={pageStyle.videoicon} src={`${__IMGCDN__}course/video_icon.png`} alt="" />
<div className={pageStyle.videoplay}>
<img className={pageStyle.videoplayicon} src={`${__IMGCDN__}smallplayicon.png`} alt="" />
</div>
</div>}
{info.type == 4 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.fileBox}`} title={content.name} onClick={() => methods.preview(info)}>
<img className={pageStyle.fileIcon} src={`${__IMGCDN__}/course/ppt_icon.png`} alt="" />
<img className={pageStyle.fileIcon} src={`${__IMGCDN__}course/ppt_icon.png`} alt="" />
<div className={pageStyle.fileName}>{content.name}</div>
</div>}
{info.type == 3 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.audioBox}`} title={content.name} onClick={() => methods.preview(info)}>
<img className={pageStyle.audioIcon} src={`${__IMGCDN__}/course/audio_icon.png`} alt="" />
<img className={pageStyle.audioIcon} src={`${__IMGCDN__}course/audio_icon.png`} alt="" />
<div className={pageStyle.audioTime}>{voiceTimeFormat(content.duration)}</div>
</div>}
<div className={pageStyle.bottom}>
......
......@@ -86,7 +86,7 @@ class AddCourseModalForm extends React.Component {
is_encrypt: is_encrypt && is_encrypt === true ? 1 : 2,
type,
password,
start_time: moment(time[0]).format('YYYY-MM-DD HH:mm'),
start_time: moment(time).format('YYYY-MM-DD HH:mm'),
},
});
}
......@@ -143,7 +143,7 @@ class AddCourseModalForm extends React.Component {
<div className={pageStyle.modalbody} hidden={isActive !== 1}>
<div className={pageStyle.formWrap}>
<div className={pageStyle.formRight}>
<img src={`${__IMGCDN__}/course/left_preview.png`} alt="预览图" />
<img src={`${__IMGCDN__}course/left_preview.png`} alt="预览图" />
</div>
<div className={pageStyle.formLeft}>
<FormItem {...formItemModalLineLayout} label="标题">
......
......@@ -323,6 +323,7 @@ class CourseDetailForm extends React.Component {
};
const { textLength } = this.state;
const { title } = addCourseObj;
console.log(addCourseObj, 'addCourseObj');
const selectBefore = (
<div>{title.length + textLength}/40</div>
);
......@@ -340,14 +341,14 @@ class CourseDetailForm extends React.Component {
</div> :
<div className={pageStyle.photoWrap}>
<div className={pageStyle.defaultImgBox}>
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}/course/courseDefaultImg.png`} alt="" />
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}course/courseDefaultImg.png`} alt="" />
<div className={pageStyle.chooseType}>
<div className={pageStyle.material} onClick={this.chooseMaterial}>
<img src={`${__IMGCDN__}/course/upload_icon2.png`} alt="从素材库选择" />
<img src={`${__IMGCDN__}course/upload_icon2.png`} alt="从素材库选择" />
<div className={pageStyle.tip}>从素材库选择</div>
</div>
<div className={pageStyle.material}>
<img src={`${__IMGCDN__}/course/upload_icon1.png`} alt="上传图片" />
<img src={`${__IMGCDN__}course/upload_icon1.png`} alt="上传图片" />
<div className={pageStyle.tip}>上传图片</div>
<input
type="file"
......@@ -441,11 +442,11 @@ class CourseDetailForm extends React.Component {
{!addCourseObj.poster ?
<div className={pageStyle.posterWrap}>
<div className={pageStyle.posterUploadBox} onClick={choosePoster}>
<img src={`${__IMGCDN__}/course/check.png`} alt="从素材库选择" />
<img src={`${__IMGCDN__}course/postermodul.png`} alt="从素材库选择" />
<div className={pageStyle.tip}>选择模板</div>
</div>
<div className={pageStyle.posterUploadBox} style={{ marginRight: 30 }}>
<img src={`${__IMGCDN__}/course/uploadImg.png`} alt="上传图片" />
<img src={`${__IMGCDN__}course/posterlocal.png`} alt="上传图片" />
<div className={pageStyle.tip}>本地上传</div>
<input
type="file"
......
......@@ -149,7 +149,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon1.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon1.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>访问人数</div>
......@@ -200,7 +200,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon2.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon2.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享好友</div>
......@@ -224,7 +224,7 @@ class StaticBox extends React.Component {
</Col> */}
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon3.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon3.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享邀请卡</div>
......@@ -239,7 +239,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}>
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}/course/data_icon4.png`} alt="" />
<img className={pageStyle.staticIcon} src={`${__IMGCDN__}course/data_icon4.png`} alt="" />
</div>
<div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>评论</div>
......
......@@ -295,7 +295,7 @@ class ClassMgtForm extends React.Component {
style={{ padding: 0 }}
avatar={
item.cover ? <img className={pageStyle.itemImg} alt="图片" src={imagify(item.cover)} /> :
<img className={pageStyle.itemImg} src={`${__IMGCDN__}/course/courseDefaultImg.png`} alt="" />}
<img className={pageStyle.itemImg} src={`${__IMGCDN__}course/courseDefaultImg.png`} alt="" />}
title={
<div className={pageStyle.itemTitleWrap}>
<div className={pageStyle.itemTitle}>{item.title}</div>
......@@ -312,7 +312,7 @@ class ClassMgtForm extends React.Component {
</div>
}
/>
{item.status == 2 && <img className={pageStyle.notpublishicon} src={`${__IMGCDN__}/course/notpublish_b.png`} alt="" />}
{item.status == 2 && <img className={pageStyle.notpublishicon} src={`${__IMGCDN__}course/notpublish_b.png`} alt="" />}
{/* <div className={pageStyle.itemBtn} onClick={() => this.goEditCourse(item.id)}>
<Icon style={{ marginRight: 5 }} type="edit" /> 编辑课程
</div> */}
......@@ -323,7 +323,7 @@ class ClassMgtForm extends React.Component {
</div>
</div> :
<div className={pageStyle.noData}>
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}/course/no_data.png`} alt="缺省图" />
<img className={pageStyle.defaultImg} src={`${__IMGCDN__}course/no_data.png`} alt="缺省图" />
<h3>创建线上课程</h3>
<h5>两步完成创建</h5>
<p>1.设置课程标题、开课时间;</p>
......
......@@ -243,7 +243,7 @@ class singleDetailForm extends React.Component {
<div className={pageStyle.container}>
<div className={pageStyle.head}>
<div className={pageStyle.hedaTitle}>
<img src={`${__IMGCDN__}/course/book_icon.png`} alt="" />
<img src={`${__IMGCDN__}course/book_icon.png`} alt="" />
<div className={pageStyle.title}>{addCourseObj.title}</div>
<Dropdown className={pageStyle.editStatus} overlay={menu} trigger={['click']}>
<a className="ant-dropdown-link" href="#">
......
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