ソースを参照

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;