Commit d16020aef0b2bc31e342ad8df61479ba7c359184

Authored by zhangzzzz
1 parent 2d13f8eb

优化盒型选择样式;

src/components/QuickQuote/index.jsx
... ... @@ -2650,8 +2650,8 @@ const BoxModelSelectedModal = props => {
2650 2650 const svgProps = {
2651 2651 ...props,
2652 2652 boxList,
2653   - dSvgBoxWidth: 250,
2654   - dSvgBoxHeight: 250,
  2653 + dSvgBoxWidth: 150,
  2654 + dSvgBoxHeight: 150,
2655 2655 showNew: 1,
2656 2656 };
2657 2657 return svgProps;
... ... @@ -2675,12 +2675,14 @@ const BoxModelSelectedModal = props => {
2675 2675 column.render = (value, record, index) =>
2676 2676 column.dataIndex === "sPackDetailPathUpLoad" ? (
2677 2677 selectBoxList[index].sTypes ? (
2678   - <DynamicSVG {...getSvgProps(selectBoxList[index])} />
  2678 + <div style={{ width: "auto", height: 150 }}>
  2679 + <DynamicSVG {...getSvgProps(selectBoxList[index])} />
  2680 + </div>
2679 2681 ) : (
2680   - <img src={value} alt="" width={270} height={270} />
  2682 + <img src={value} alt="" width={150} height={150} />
2681 2683 )
2682 2684 ) : value ? (
2683   - <img src={value} alt="" width={270} height={270} />
  2685 + <img src={value} alt="" width={150} height={150} />
2684 2686 ) : (
2685 2687 "暂无图片"
2686 2688 );
... ...