Commit 4b84ad79 authored by wangxuelai's avatar wangxuelai

''

parent 6d2357d7
...@@ -104,7 +104,7 @@ class AddCourseModal extends React.Component { ...@@ -104,7 +104,7 @@ class AddCourseModal extends React.Component {
<Col span={12} style={{ marginBottom: '10px' }} key={ele.id}> <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}> <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} title={ele.title} > <div className={pageStyle.colItem} title={ele.title} >
<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 className={pageStyle.courseTitle}>{ele.title}</div>
</div> </div>
</Checkbox> </Checkbox>
......
...@@ -152,7 +152,7 @@ class CourseBoxForm extends React.Component { ...@@ -152,7 +152,7 @@ class CourseBoxForm extends React.Component {
<Card bodyStyle={{ padding: '14px', minWidth: '320px' }}> <Card bodyStyle={{ padding: '14px', minWidth: '320px' }}>
<Card.Meta <Card.Meta
style={{ padding: 0, borderRadius: '6px' }} 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={ title={
<div className={pageStyle.itemTitleWrap}> <div className={pageStyle.itemTitleWrap}>
<div className={pageStyle.itemTitle}>{item.title}</div> <div className={pageStyle.itemTitle}>{item.title}</div>
...@@ -207,7 +207,7 @@ class CourseBoxForm extends React.Component { ...@@ -207,7 +207,7 @@ class CourseBoxForm extends React.Component {
</div> </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> </Card>
</List.Item> </List.Item>
)} )}
...@@ -217,7 +217,7 @@ class CourseBoxForm extends React.Component { ...@@ -217,7 +217,7 @@ class CourseBoxForm extends React.Component {
{total == 0 && {total == 0 &&
<div> <div>
<div className={pageStyle.noData}> <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> <h3>暂无专栏课程,点击“立即创建”创建专栏课程</h3>
<Button type="primary" className={pageStyle.createBtn} onClick={toCreateSingleCourse}>立即创建</Button> <Button type="primary" className={pageStyle.createBtn} onClick={toCreateSingleCourse}>立即创建</Button>
</div> </div>
...@@ -236,11 +236,11 @@ class CourseBoxForm extends React.Component { ...@@ -236,11 +236,11 @@ class CourseBoxForm extends React.Component {
</div> </div>
<div className={pageStyle.photoWrap} style={{ display: !editSingleCourseInfo.cover ? 'flex' : 'none' }}> <div className={pageStyle.photoWrap} style={{ display: !editSingleCourseInfo.cover ? 'flex' : 'none' }}>
<div className={pageStyle.material} onClick={chooseMaterial}> <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 className={pageStyle.tip}>从素材库选择</div>
</div> </div>
<div className={pageStyle.material}> <div className={pageStyle.material}>
<img src={`${__IMGCDN__}/course/uploadImg.png`} alt="上传图片" /> <img src={`${__IMGCDN__}course/uploadImg.png`} alt="上传图片" />
<div className={pageStyle.tip}>上传图片</div> <div className={pageStyle.tip}>上传图片</div>
<input <input
type="file" type="file"
......
...@@ -272,14 +272,14 @@ class CourseDetailForm extends React.Component { ...@@ -272,14 +272,14 @@ class CourseDetailForm extends React.Component {
</div> : </div> :
<div className={pageStyle.photoWrap}> <div className={pageStyle.photoWrap}>
<div className={pageStyle.defaultImgBox}> <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.chooseType}>
<div className={pageStyle.material} onClick={this.chooseMaterial}> <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 className={pageStyle.tip}>从素材库选择</div>
</div> </div>
<div className={pageStyle.material}> <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> <div className={pageStyle.tip}>上传图片</div>
<input <input
type="file" type="file"
...@@ -353,11 +353,11 @@ class CourseDetailForm extends React.Component { ...@@ -353,11 +353,11 @@ class CourseDetailForm extends React.Component {
{!addCourseObj.poster ? {!addCourseObj.poster ?
<div className={pageStyle.posterWrap}> <div className={pageStyle.posterWrap}>
<div className={pageStyle.posterUploadBox} onClick={choosePoster}> <div className={pageStyle.posterUploadBox} onClick={choosePoster}>
<img src={`${__IMGCDN__}/course/postermodul.png`} alt="从素材库选择" /> <img src={`${__IMGCDN__}course/postermodul.png`} alt="从素材库选择" />
<div className={pageStyle.tip}>选择模板</div> <div className={pageStyle.tip}>选择模板</div>
</div> </div>
<div className={pageStyle.posterUploadBox} style={{ marginRight: 30 }}> <div className={pageStyle.posterUploadBox} style={{ marginRight: 30 }}>
<img src={`${__IMGCDN__}/course/posterlocal.png`} alt="上传图片" /> <img src={`${__IMGCDN__}course/posterlocal.png`} alt="上传图片" />
<div className={pageStyle.tip}>本地上传</div> <div className={pageStyle.tip}>本地上传</div>
<input <input
type="file" type="file"
......
...@@ -191,7 +191,7 @@ class StaticBox extends React.Component { ...@@ -191,7 +191,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}> <Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>访问人数</div> <div className={pageStyle.staticName}>访问人数</div>
...@@ -242,7 +242,7 @@ class StaticBox extends React.Component { ...@@ -242,7 +242,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}> <Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享好友</div> <div className={pageStyle.staticName}>分享好友</div>
...@@ -266,7 +266,7 @@ class StaticBox extends React.Component { ...@@ -266,7 +266,7 @@ class StaticBox extends React.Component {
</Col> */} </Col> */}
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享邀请卡</div> <div className={pageStyle.staticName}>分享邀请卡</div>
...@@ -281,7 +281,7 @@ class StaticBox extends React.Component { ...@@ -281,7 +281,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}> <Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>评论</div> <div className={pageStyle.staticName}>评论</div>
......
...@@ -835,7 +835,7 @@ class StaticCenter extends React.Component { ...@@ -835,7 +835,7 @@ class StaticCenter extends React.Component {
<div className={pageStyle.container}> <div className={pageStyle.container}>
<div className={pageStyle.tabbox}> <div className={pageStyle.tabbox}>
<div className={pageStyle.gatherInfo}> <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.gatherDetail}>
<div className={pageStyle.titlebox}> <div className={pageStyle.titlebox}>
<span className={pageStyle.title}>{gatherDetail.title || ''}</span> <span className={pageStyle.title}>{gatherDetail.title || ''}</span>
...@@ -956,23 +956,23 @@ class StaticCenter extends React.Component { ...@@ -956,23 +956,23 @@ class StaticCenter extends React.Component {
<Radio.Group onChange={this.posterChange} value={this.state.choosedPoster || addCourseObj.poster}> <Radio.Group onChange={this.posterChange} value={this.state.choosedPoster || addCourseObj.poster}>
<Row className={`${pageStyle.posterSetBox} posterSetBox`}> <Row className={`${pageStyle.posterSetBox} posterSetBox`}>
<Col span={6} style={{ marginBottom: '10px' }}> <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"> <Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/1.png">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/f766995d6957b3ff91c983d97514986b.jpg" alt="" /> <img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/1.png`} alt="" />
</Radio> </Radio>
</Col> </Col>
<Col span={6} style={{ marginBottom: '10px' }}> <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"> <Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/2.png">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/b8d7da24f8bd0a1efa23e0cab68efc64.jpg" alt="" /> <img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/2.png`} alt="" />
</Radio> </Radio>
</Col> </Col>
<Col span={6} style={{ marginBottom: '10px' }} > <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"> <Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/3.png">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/0b6647b87af063e90288286cda9c7a1d.jpg" alt="" /> <img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/3.png`} alt="" />
</Radio> </Radio>
</Col> </Col>
<Col span={6} style={{ marginBottom: '10px' }} > <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"> <Radio id="1" style={{ display: 'flex', alignItems: 'flex-start' }} value="qingxiao/biz/image/course/poster/4.png">
<img className={pageStyle.posterImg} src="https://cdn.img.shangjiadao.cn/clock-test/member/12186/2019-11-26/dcedfa5eb225dbb7f05ae729ae05a5d7.jpg" alt="" /> <img className={pageStyle.posterImg} src={`${__IMGCDN__}course/poster/4.png`} alt="" />
</Radio> </Radio>
</Col> </Col>
</Row> </Row>
......
...@@ -254,7 +254,7 @@ class AddCourseModalForm extends React.Component { ...@@ -254,7 +254,7 @@ class AddCourseModalForm extends React.Component {
imageStyle={{ imageStyle={{
height: 64, height: 64,
}} }}
image={`${__IMGCDN__}/course/no_data.png`} image={`${__IMGCDN__}course/no_data.png`}
description={<span className={pageStyle.emptytext}>您还没有创建单课<br /><br />请直接点击<strong>“创建专栏”</strong> 完成创建</span>} description={<span className={pageStyle.emptytext}>您还没有创建单课<br /><br />请直接点击<strong>“创建专栏”</strong> 完成创建</span>}
/>} />}
{courseListTotal > 0 && {courseListTotal > 0 &&
...@@ -263,7 +263,7 @@ class AddCourseModalForm extends React.Component { ...@@ -263,7 +263,7 @@ class AddCourseModalForm extends React.Component {
<Col span={12} style={{ marginBottom: '20px' }} key={ele.id}> <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}> <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} > <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 className={pageStyle.courseTitle}>{ele.title}</div>
</div> </div>
</Checkbox> </Checkbox>
......
...@@ -23,7 +23,7 @@ const MediaCard = (props) => { ...@@ -23,7 +23,7 @@ const MediaCard = (props) => {
<div className={pageStyle.coursecount}><span style={{ color: 'red', paddingRight: '2px' }}>{info.sub_courses_count}</span>个课程</div> <div className={pageStyle.coursecount}><span style={{ color: 'red', paddingRight: '2px' }}>{info.sub_courses_count}</span>个课程</div>
</div> </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> </div>
); );
}; };
......
...@@ -28,24 +28,24 @@ class MediaCard extends React.Component { ...@@ -28,24 +28,24 @@ class MediaCard extends React.Component {
{info.type == 1 && {info.type == 1 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.imgBox}`} title={content.name} onClick={() => methods.preview(info)}> <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.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>} </div>}
{info.type == 2 && {info.type == 2 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.videoBox}`} title={content.name} onClick={() => methods.preview(info)}> <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.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}> <div className={pageStyle.videoplay}>
<img className={pageStyle.videoplayicon} src={`${__IMGCDN__}smallplayicon.png`} alt="" /> <img className={pageStyle.videoplayicon} src={`${__IMGCDN__}smallplayicon.png`} alt="" />
</div> </div>
</div>} </div>}
{info.type == 4 && {info.type == 4 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.fileBox}`} title={content.name} onClick={() => methods.preview(info)}> <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 className={pageStyle.fileName}>{content.name}</div>
</div>} </div>}
{info.type == 3 && {info.type == 3 &&
<div className={`${pageStyle.mediaBox} ${pageStyle.audioBox}`} title={content.name} onClick={() => methods.preview(info)}> <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 className={pageStyle.audioTime}>{voiceTimeFormat(content.duration)}</div>
</div>} </div>}
<div className={pageStyle.bottom}> <div className={pageStyle.bottom}>
......
...@@ -143,7 +143,7 @@ class AddCourseModalForm extends React.Component { ...@@ -143,7 +143,7 @@ class AddCourseModalForm extends React.Component {
<div className={pageStyle.modalbody} hidden={isActive !== 1}> <div className={pageStyle.modalbody} hidden={isActive !== 1}>
<div className={pageStyle.formWrap}> <div className={pageStyle.formWrap}>
<div className={pageStyle.formRight}> <div className={pageStyle.formRight}>
<img src={`${__IMGCDN__}/course/left_preview.png`} alt="预览图" /> <img src={`${__IMGCDN__}course/left_preview.png`} alt="预览图" />
</div> </div>
<div className={pageStyle.formLeft}> <div className={pageStyle.formLeft}>
<FormItem {...formItemModalLineLayout} label="标题"> <FormItem {...formItemModalLineLayout} label="标题">
......
...@@ -341,14 +341,14 @@ class CourseDetailForm extends React.Component { ...@@ -341,14 +341,14 @@ class CourseDetailForm extends React.Component {
</div> : </div> :
<div className={pageStyle.photoWrap}> <div className={pageStyle.photoWrap}>
<div className={pageStyle.defaultImgBox}> <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.chooseType}>
<div className={pageStyle.material} onClick={this.chooseMaterial}> <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 className={pageStyle.tip}>从素材库选择</div>
</div> </div>
<div className={pageStyle.material}> <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> <div className={pageStyle.tip}>上传图片</div>
<input <input
type="file" type="file"
...@@ -442,11 +442,11 @@ class CourseDetailForm extends React.Component { ...@@ -442,11 +442,11 @@ class CourseDetailForm extends React.Component {
{!addCourseObj.poster ? {!addCourseObj.poster ?
<div className={pageStyle.posterWrap}> <div className={pageStyle.posterWrap}>
<div className={pageStyle.posterUploadBox} onClick={choosePoster}> <div className={pageStyle.posterUploadBox} onClick={choosePoster}>
<img src={`${__IMGCDN__}/course/postermodul.png`} alt="从素材库选择" /> <img src={`${__IMGCDN__}course/postermodul.png`} alt="从素材库选择" />
<div className={pageStyle.tip}>选择模板</div> <div className={pageStyle.tip}>选择模板</div>
</div> </div>
<div className={pageStyle.posterUploadBox} style={{ marginRight: 30 }}> <div className={pageStyle.posterUploadBox} style={{ marginRight: 30 }}>
<img src={`${__IMGCDN__}/course/posterlocal.png`} alt="上传图片" /> <img src={`${__IMGCDN__}course/posterlocal.png`} alt="上传图片" />
<div className={pageStyle.tip}>本地上传</div> <div className={pageStyle.tip}>本地上传</div>
<input <input
type="file" type="file"
......
...@@ -149,7 +149,7 @@ class StaticBox extends React.Component { ...@@ -149,7 +149,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}> <Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>访问人数</div> <div className={pageStyle.staticName}>访问人数</div>
...@@ -200,7 +200,7 @@ class StaticBox extends React.Component { ...@@ -200,7 +200,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}> <Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享好友</div> <div className={pageStyle.staticName}>分享好友</div>
...@@ -224,7 +224,7 @@ class StaticBox extends React.Component { ...@@ -224,7 +224,7 @@ class StaticBox extends React.Component {
</Col> */} </Col> */}
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>分享邀请卡</div> <div className={pageStyle.staticName}>分享邀请卡</div>
...@@ -239,7 +239,7 @@ class StaticBox extends React.Component { ...@@ -239,7 +239,7 @@ class StaticBox extends React.Component {
<Row className={pageStyle.staticitemList}> <Row className={pageStyle.staticitemList}>
<Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}> <Col className={pageStyle.staticitem} lg={4} md={24} xs={24} sm={24}>
<div className={pageStyle.staticIconBox}> <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>
<div className={pageStyle.staticRight}> <div className={pageStyle.staticRight}>
<div className={pageStyle.staticName}>评论</div> <div className={pageStyle.staticName}>评论</div>
......
...@@ -295,7 +295,7 @@ class ClassMgtForm extends React.Component { ...@@ -295,7 +295,7 @@ class ClassMgtForm extends React.Component {
style={{ padding: 0 }} style={{ padding: 0 }}
avatar={ avatar={
item.cover ? <img className={pageStyle.itemImg} alt="图片" src={imagify(item.cover)} /> : 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={ title={
<div className={pageStyle.itemTitleWrap}> <div className={pageStyle.itemTitleWrap}>
<div className={pageStyle.itemTitle}>{item.title}</div> <div className={pageStyle.itemTitle}>{item.title}</div>
...@@ -312,7 +312,7 @@ class ClassMgtForm extends React.Component { ...@@ -312,7 +312,7 @@ class ClassMgtForm extends React.Component {
</div> </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)}> {/* <div className={pageStyle.itemBtn} onClick={() => this.goEditCourse(item.id)}>
<Icon style={{ marginRight: 5 }} type="edit" /> 编辑课程 <Icon style={{ marginRight: 5 }} type="edit" /> 编辑课程
</div> */} </div> */}
...@@ -323,7 +323,7 @@ class ClassMgtForm extends React.Component { ...@@ -323,7 +323,7 @@ class ClassMgtForm extends React.Component {
</div> </div>
</div> : </div> :
<div className={pageStyle.noData}> <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> <h3>创建线上课程</h3>
<h5>两步完成创建</h5> <h5>两步完成创建</h5>
<p>1.设置课程标题、开课时间;</p> <p>1.设置课程标题、开课时间;</p>
......
...@@ -243,7 +243,7 @@ class singleDetailForm extends React.Component { ...@@ -243,7 +243,7 @@ class singleDetailForm extends React.Component {
<div className={pageStyle.container}> <div className={pageStyle.container}>
<div className={pageStyle.head}> <div className={pageStyle.head}>
<div className={pageStyle.hedaTitle}> <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> <div className={pageStyle.title}>{addCourseObj.title}</div>
<Dropdown className={pageStyle.editStatus} overlay={menu} trigger={['click']}> <Dropdown className={pageStyle.editStatus} overlay={menu} trigger={['click']}>
<a className="ant-dropdown-link" href="#"> <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