Commit 4b84ad79 authored by wangxuelai's avatar wangxuelai

''

parent 6d2357d7
......@@ -104,7 +104,7 @@ class AddCourseModal extends React.Component {
<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} 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>
</Checkbox>
......
......@@ -152,7 +152,7 @@ class CourseBoxForm extends React.Component {
<Card bodyStyle={{ padding: '14px', minWidth: '320px' }}>
<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 +207,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 +217,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 +236,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"
......
......@@ -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/postermodul.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/posterlocal.png`} alt="上传图片" />
<img src={`${__IMGCDN__}course/posterlocal.png`} alt="上传图片" />
<div className={pageStyle.tip}>本地上传</div>
<input
type="file"
......
......@@ -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>
......
......@@ -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>
);
};
......
......@@ -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}>
......
......@@ -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="标题">
......
......@@ -341,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"
......@@ -442,11 +442,11 @@ class CourseDetailForm extends React.Component {
{!addCourseObj.poster ?
<div className={pageStyle.posterWrap}>
<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>
<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>
<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