傅行帆 5 년 전
부모
커밋
802160fe51
3개의 변경된 파일12개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      src/pages/carouselFigure/advertisingList.jsx
  2. 1
    1
      src/pages/carouselFigure/carouselFigureList.jsx
  3. 10
    0
      src/pages/style/GoodsList.less

+ 1
- 1
src/pages/carouselFigure/advertisingList.jsx 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

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