diff --git a/src/Add-on/twoD2threeD/Modals/Curve2RecModal.tsx b/src/Add-on/twoD2threeD/Modals/Curve2RecModal.tsx index c75a19775..81cbc510f 100644 --- a/src/Add-on/twoD2threeD/Modals/Curve2RecModal.tsx +++ b/src/Add-on/twoD2threeD/Modals/Curve2RecModal.tsx @@ -82,7 +82,8 @@ export class Curve2RecModalStore extends Singleton implements IConfigStore } } @observer -export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore; }, {}>{ +export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore; }, {}> +{ private removeFuncs: Function[] = []; //移除注入 componentDidMount() { @@ -133,27 +134,29 @@ export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore
{ this.props.store.option.isSaveSmall = !this.props.store.option.isSaveSmall; }}> -
- 只保留宽度小于 - - { - if (e.target.value === "") + 如果您只想保留板的轮廓,那么可以写20或40,
如果您想保留地脚线和收口条,可以写120(建议),
如果您的收口条地脚线大于120,也可以适当的修改这个值}> +
+ 只保留宽度小于 + { - this.props.store.option.width = 0; - return; - } - let num = safeEval(e.target.value.trim()); - this.props.store.option.width = (!isNaN(num)) ? num : undefined; - }} - /> - 的轮廓 -
+ if (e.target.value === "") + { + this.props.store.option.width = 0; + return; + } + let num = safeEval(e.target.value.trim()); + this.props.store.option.width = (!isNaN(num)) ? num : undefined; + }} + /> + 的轮廓 +
+
span:first-child { + >span:first-child { width: 4.5rem; } } + .flexWrap.flexWrapWidth { + .br-set:nth-of-type(2) .bp3-input { + width: 3.9rem; + margin-left: 11px; + } + } + + .bp3-input-group { + .bp3-input { + width: 4rem + } + } + .select-drillType { width: 9rem; } @@ -32,14 +45,14 @@ line-height: @noteInputHeight; } - > div { + >div { display: flex; input:hover { background: #ccc; } - > label { + >label { height: @noteInputHeight; line-height: @noteInputHeight; } @@ -56,44 +69,44 @@ margin: 10px; } - .roomName{ + .roomName { display: flex; justify-content: space-between; - .roomNameBody{ + .roomNameBody { width: 196px; } - .inputGroup{ + .inputGroup { width: 107px; - input{ - width : 110px; - margin-right : 10px; + input { + width: 110px; + margin-right: 10px; } } - button{ - width : 30px; + button { + width: 30px; height: 47px; } } - .multiBackBr{ - .bp3-control.bp3-inline{ + .multiBackBr { + .bp3-control.bp3-inline { margin-right: 25px; } } } /* 备注信息 */ -#rec2Br .notes > div > label:first-child, -#rec2Br .notes > div > input:first-child { +#rec2Br .notes>div>label:first-child, +#rec2Br .notes>div>input:first-child { width: 30%; } -#rec2Br .notes > div > label:last-child, -#rec2Br .notes > div > input:last-child { +#rec2Br .notes>div>label:last-child, +#rec2Br .notes>div>input:last-child { width: 70%; } @@ -130,16 +143,16 @@ } .rec2br { - > div:nth-child(1) { + >div:nth-child(1) { max-height: 660px; - > div:nth-child(1) { + >div:nth-child(1) { display: flex; flex-flow: column wrap; flex-grow: 1; padding: 0; - > .board-name { + >.board-name { padding: 20px; height: 100%; } diff --git a/src/Add-on/twoD2threeD/ParseBoardNamePanel.tsx b/src/Add-on/twoD2threeD/ParseBoardNamePanel.tsx index 50757273d..30c448dcd 100644 --- a/src/Add-on/twoD2threeD/ParseBoardNamePanel.tsx +++ b/src/Add-on/twoD2threeD/ParseBoardNamePanel.tsx @@ -229,7 +229,7 @@ export class ParseBoardName extends Component
根据背板区分柜体
- + 多背板:生成一个柜子(不管有多少个背板)
单背板:有多少个背板轮廓,就生成多少个柜子}> diff --git a/src/UI/Components/RightPanel/ModelingComponent.tsx b/src/UI/Components/RightPanel/ModelingComponent.tsx index bc39e11bc..e3c42b677 100644 --- a/src/UI/Components/RightPanel/ModelingComponent.tsx +++ b/src/UI/Components/RightPanel/ModelingComponent.tsx @@ -33,7 +33,7 @@ export class ModelingComponent extends React.Component<{ store?: RightPanelStore
  • - +