From e8c6a820960444aa08d6bf243a77b61a20d0328c Mon Sep 17 00:00:00 2001 From: 陈鑫涛 <10125295+chen-xintao97@user.noreply.gitee.com> Date: Wed, 2 Jul 2025 14:24:06 +0800 Subject: [PATCH] 快速报价样式 --- src/components/Common/Typesetting/typesetting.js | 2 +- src/components/QuickQuote/index.css | 12 ++++++++---- src/components/QuickQuote/index.jsx | 22 ++++++++-------------- src/components/QuickQuote/index.less | 5 +++-- 4 files changed, 20 insertions(+), 21 deletions(-) diff --git a/src/components/Common/Typesetting/typesetting.js b/src/components/Common/Typesetting/typesetting.js index 4eea796..11ecbb6 100644 --- a/src/components/Common/Typesetting/typesetting.js +++ b/src/components/Common/Typesetting/typesetting.js @@ -74,7 +74,7 @@ const Typesetting = props => { const svgBox = useRef(null); const svgBoxs = useRef(null); // 获取外层盒子尺寸 - const clientWidth = boxWidth || 400; + const clientWidth = boxWidth || 370; const clientHeight = boxHeight || 300; // 动态计算边距的总和 const totalLeftMargin = dZBLB + dYBLB; diff --git a/src/components/QuickQuote/index.css b/src/components/QuickQuote/index.css index d6d9bfd..1377d6d 100644 --- a/src/components/QuickQuote/index.css +++ b/src/components/QuickQuote/index.css @@ -165,15 +165,11 @@ width: 100%; height: auto; display: flex; - align-items: center; } .quickQuote .content .rightContent .boxPart1 .boxPart1Right .boxRreview :global .ant-carousel .slick-dots li button { background-color: #000; /* 未激活时的指示器颜色 */ } -.quickQuote .content .rightContent .boxPart1 .boxPart1Right .boxRreview :global .ant-image { - padding: 15px; -} .quickQuote .content .rightContent .boxPart1 .boxPart1Right .boxRreview .noImg { width: 300px; height: 300px; @@ -288,6 +284,14 @@ align-items: center; justify-content: space-around; } +.quickQuote .content .rightContent .materialsLine .materialsBtns :global button { + padding: 0; + width: 16px; + height: 16px; +} +.quickQuote .content .rightContent .materialsLine .materialsBtns :global button > span { + font-size: 10px; +} .quickQuote .content .rightContent .materialsLine .materialsBtns :global .ant-btn:nth-child(2) { background-color: #53b637; border-color: #53b637; diff --git a/src/components/QuickQuote/index.jsx b/src/components/QuickQuote/index.jsx index ebdb400..b219013 100644 --- a/src/components/QuickQuote/index.jsx +++ b/src/components/QuickQuote/index.jsx @@ -2053,7 +2053,7 @@ console.log(slaveConfig.gdsconfigformslave.filter(item=>{ return item.iTag === 1 ...props, boxList, dSvgBoxWidth: 300, - dSvgBoxHeight: 300, + dSvgBoxHeight: 290, showNew: 1, }; // upViewProps.viewRow = @@ -2145,32 +2145,26 @@ console.log(slaveConfig.gdsconfigformslave.filter(item=>{ return item.iTag === 1
{svgProps.boxList.length ? ( -
+
) : (
{noImage}
)} - {/* {svgProps.boxList.length ? ( - slaveRowData.sPackDetailPathUpLoad ? - : -
- -
- ) : ( -
暂无图片
- )} */} + {/*
展开图
*/} {slaveRowData.sPackPath ? ( // - +
+ {imagesData.map((image, index) => (
- {image.alt} + {image.alt}
))}
+
) : (
{noImage}
)} @@ -2197,7 +2191,7 @@ console.log(slaveConfig.gdsconfigformslave.filter(item=>{ return item.iTag === 1 {cailiaoyinshuaDiv}
-
+
diff --git a/src/components/QuickQuote/index.less b/src/components/QuickQuote/index.less index 74012e4..40a91ca 100644 --- a/src/components/QuickQuote/index.less +++ b/src/components/QuickQuote/index.less @@ -206,7 +206,7 @@ width: 100%; height: auto; display: flex; - align-items: center; + // align-items: center; :global .ant-carousel .slick-dots li button { background-color: #000; @@ -215,7 +215,8 @@ :global { .ant-image { - padding: 15px; + // padding: 15px; + } } -- libgit2 0.22.2