Browse Source

显示调优

zhanghe 7 years ago
parent
commit
bfa07ea9f5
1 changed files with 12 additions and 14 deletions
  1. 12 14
      src/routes/MProduct/Edit/index.js

+ 12 - 14
src/routes/MProduct/Edit/index.js

@@ -92,23 +92,21 @@ export default class MerchantProductEdit extends PureComponent {
                     <Description term="面包屑导航">{data.breadCrumb}</Description>
                     <Description term="课程封面图片">
                         {!data.coverUrl ? null :
-                          <Card
-                            hoverable
-                            bordered
-                            cover={<img alt="" src={data.coverUrl.startsWith('http') ? data.coverUrl : `${ossHost}/${data.coverUrl}`} />}
-                            style={{ width: 200 }}
-                          >
-                          </Card>}
+                            <img
+                                alt=""
+                                src={data.coverUrl.startsWith('http') ? data.coverUrl : `${ossHost}/${data.coverUrl}`}
+                                style={{ width: 200 }}
+                            />
+                        }
                     </Description>
                     <Description term="课程背景图片">
                         {!data.bgUrl ? null :
-                          <Card
-                            hoverable
-                            bordered
-                            cover={<img alt="" src={data.bgUrl.startsWith('http') ? data.bgUrl : `${ossHost}/${data.bgUrl}`} />}
-                            style={{ width: 200 }}
-                          >
-                          </Card>}
+                            <img
+                                alt=""
+                                src={data.bgUrl.startsWith('http') ? data.bgUrl : `${ossHost}/${data.bgUrl}`}
+                                style={{ width: 200 }}
+                            />
+                        }
                     </Description>
                     <Description term="课程内课列表">
                         <Table