Commit 2313a81d97d27f6f7bb703276859dd518459bc4e
Merge branch 'main' of http://git.xlyprint.cn/zhangz/xlyUmi into main
Showing
1 changed file
with
7 additions
and
5 deletions
src/components/QuickQuote/index.jsx
| ... | ... | @@ -2661,8 +2661,8 @@ const BoxModelSelectedModal = props => { |
| 2661 | 2661 | const svgProps = { |
| 2662 | 2662 | ...props, |
| 2663 | 2663 | boxList, |
| 2664 | - dSvgBoxWidth: 250, | |
| 2665 | - dSvgBoxHeight: 250, | |
| 2664 | + dSvgBoxWidth: 150, | |
| 2665 | + dSvgBoxHeight: 150, | |
| 2666 | 2666 | showNew: 1, |
| 2667 | 2667 | }; |
| 2668 | 2668 | return svgProps; |
| ... | ... | @@ -2686,12 +2686,14 @@ const BoxModelSelectedModal = props => { |
| 2686 | 2686 | column.render = (value, record, index) => |
| 2687 | 2687 | column.dataIndex === "sPackDetailPathUpLoad" ? ( |
| 2688 | 2688 | selectBoxList[index].sTypes ? ( |
| 2689 | - <DynamicSVG {...getSvgProps(selectBoxList[index])} /> | |
| 2689 | + <div style={{ width: "auto", height: 150 }}> | |
| 2690 | + <DynamicSVG {...getSvgProps(selectBoxList[index])} /> | |
| 2691 | + </div> | |
| 2690 | 2692 | ) : ( |
| 2691 | - <img src={value} alt="" width={270} height={270} /> | |
| 2693 | + <img src={value} alt="" width={150} height={150} /> | |
| 2692 | 2694 | ) |
| 2693 | 2695 | ) : value ? ( |
| 2694 | - <img src={value} alt="" width={270} height={270} /> | |
| 2696 | + <img src={value} alt="" width={150} height={150} /> | |
| 2695 | 2697 | ) : ( |
| 2696 | 2698 | "暂无图片" |
| 2697 | 2699 | ); | ... | ... |