瀏覽代碼

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into v3.5.1

weiximei 5 年之前
父節點
當前提交
fc782f7b9a
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. 1
    1
      src/pages/carouselFigure/carouselFigureList.jsx
  2. 5
    0
      src/pages/style/GoodsList.less

+ 1
- 1
src/pages/carouselFigure/carouselFigureList.jsx 查看文件

@@ -46,7 +46,7 @@ const toEditCarouse = (contentId) => () => {
46 46
       dataIndex: 'image',
47 47
       key: 'image',
48 48
       align: 'center',
49
-      render: (image) => <img src={image} className={styles.imgPerfect} />,
49
+      render: (x, row) => <img src={row.image} className={row.showPosition === 'index' ? styles.imgIndex : row.showPosition === 'mall' ? styles.imgPerfect : ''} />,
50 50
     },
51 51
     {
52 52
       title: '类型',

+ 5
- 0
src/pages/style/GoodsList.less 查看文件

@@ -14,6 +14,11 @@
14 14
   height: 67.5px;
15 15
 }
16 16
 
17
+.imgIndex {
18
+  width: 120px;
19
+  height: 96px;
20
+}
21
+
17 22
 .imgSmall {
18 23
   width: 90px;
19 24
   height: 135px;