Commit 7aa8204620ac3a72a111ac26ddcb417e73749bb6

Authored by zhangzzzz
1 parent b0be4f74

优化快速报价样式;

src/components/QuickQuote/index.jsx
@@ -2411,7 +2411,10 @@ const BackendParamsExtraComponent = props => { @@ -2411,7 +2411,10 @@ const BackendParamsExtraComponent = props => {
2411 2411
2412 const viewProps = { 2412 const viewProps = {
2413 ...props, 2413 ...props,
2414 - viewConfigs: viewConfigs, 2414 + viewConfigs: viewConfigs.map(item => ({
  2415 + ...item,
  2416 + costomStyle: styles.sParamConfig,
  2417 + })),
2415 tableConfig: { ...slaveConfig, gdsconfigformslave: viewConfigs }, 2418 tableConfig: { ...slaveConfig, gdsconfigformslave: viewConfigs },
2416 iColValueView: 24, 2419 iColValueView: 24,
2417 getViewRow: config => { 2420 getViewRow: config => {
@@ -2458,7 +2461,7 @@ const BackendParamsExtraComponent = props => { @@ -2458,7 +2461,7 @@ const BackendParamsExtraComponent = props => {
2458 return ( 2461 return (
2459 <> 2462 <>
2460 <Divider style={{ margin: "5px 0" }} /> 2463 <Divider style={{ margin: "5px 0" }} />
2461 - <div className={`${styles.viewTable} ${styles.viewTableDownView1}`}> 2464 + <div className={`${styles.viewTable} ${styles.viewTableDownView1} ${styles.viewTableDownView2}`}>
2462 <CommonViewTable {...viewProps} /> 2465 <CommonViewTable {...viewProps} />
2463 </div> 2466 </div>
2464 </> 2467 </>
src/components/QuickQuote/index.less
@@ -173,6 +173,10 @@ @@ -173,6 +173,10 @@
173 } 173 }
174 } 174 }
175 175
  176 + .viewTableDownView2 {
  177 + background-color: #3275b734;
  178 + }
  179 +
176 .viewTable1 { 180 .viewTable1 {
177 padding: 0 20px 0 0; 181 padding: 0 20px 0 0;
178 } 182 }