傅行帆 5 lat temu
rodzic
commit
802160fe51

+ 1
- 1
src/pages/carouselFigure/advertisingList.jsx Wyświetl plik

@@ -46,7 +46,7 @@ const toEdit = (contentId) => () => {
46 46
       dataIndex: 'image',
47 47
       key: 'image',
48 48
       align: 'center',
49
-      render: (image) => <img src={image} className={styles.touxiang} />,
49
+      render: (image) => <img src={image} className={styles.imgSmall} />,
50 50
     },
51 51
     {
52 52
       title: '类型',

+ 1
- 1
src/pages/carouselFigure/carouselFigureList.jsx Wyświetl plik

@@ -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.touxiang} />,
49
+      render: (image) => <img src={image} className={styles.imgPerfect} />,
50 50
     },
51 51
     {
52 52
       title: '类型',

+ 10
- 0
src/pages/style/GoodsList.less Wyświetl plik

@@ -9,6 +9,16 @@
9 9
   height: 93px;
10 10
 }
11 11
 
12
+.imgPerfect {
13
+  width: 120px;
14
+  height: 67.5px;
15
+}
16
+
17
+.imgSmall {
18
+  width: 90px;
19
+  height: 135px;
20
+}
21
+
12 22
 .ant-table-column-title {
13 23
   font-weight: 600;
14 24
 }