Kaynağa Gözat

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

weiximei 5 yıl önce
ebeveyn
işleme
fc782f7b9a

+ 1
- 1
src/pages/carouselFigure/carouselFigureList.jsx Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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;