Commit 256d1b1a authored by wangxuelai's avatar wangxuelai

''

parent 8a018ff8
......@@ -17,6 +17,6 @@
</head>
<body>
<div id="root"></div>
<script src="dist/main.js?1574819925045" charset="utf-8"></script>
<script src="dist/main.js?1574822070058" charset="utf-8"></script>
</body>
</html>
\ No newline at end of file
......@@ -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,7 +103,7 @@ 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} >
<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>
......
......@@ -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,7 +149,7 @@ 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' }}>
<Card.Meta
style={{ padding: 0, borderRadius: '6px' }}
avatar={<img className={pageStyle.itemImg} alt="图片" src={item.cover ? imagify(item.cover) : `${__IMGCDN__}/course/courseDefaultImg.png`} />}
......
......@@ -21,7 +21,7 @@
}
}
.itemImg {
width: 90px;
width: 165px;
height: 90px;
border-radius: 6px;
}
......
......@@ -7,7 +7,7 @@
align-items: center;
width: 200px;
.cover {
width: 56px;
width: 100px;
height: 56px;
border-radius: 4px;
display: block;
......
......@@ -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}>
......
.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;
......
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