!3001 优化:修改 Tooltip 的语义易于理解

pull/3003/head
钱若寒 1 month ago committed by ChenX
parent ff5d0438b1
commit 5011d12d31

@ -82,7 +82,8 @@ export class Curve2RecModalStore extends Singleton implements IConfigStore
} }
} }
@observer @observer
export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore; }, {}>{ export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore; }, {}>
{
private removeFuncs: Function[] = []; //移除注入 private removeFuncs: Function[] = []; //移除注入
componentDidMount() componentDidMount()
{ {
@ -133,6 +134,7 @@ export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore
<div className="checkbox-input-group"> <div className="checkbox-input-group">
<Checkbox checked={option.isSaveSmall} onChange={() => { this.props.store.option.isSaveSmall = !this.props.store.option.isSaveSmall; }}> <Checkbox checked={option.isSaveSmall} onChange={() => { this.props.store.option.isSaveSmall = !this.props.store.option.isSaveSmall; }}>
</Checkbox> </Checkbox>
<Tooltip content={<span>,2040,<br />线,120(),<br />线120,</span>}>
<div> <div>
<ToasterInput <ToasterInput
@ -154,6 +156,7 @@ export class Curve2RecModal extends React.Component<{ store: Curve2RecModalStore
/> />
</div> </div>
</Tooltip>
</div> </div>
<div className="checkbox-analy"> <div className="checkbox-analy">
<Checkbox <Checkbox

@ -13,6 +13,19 @@
} }
} }
.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 { .select-drillType {
width: 9rem; width: 9rem;
} }

@ -229,7 +229,7 @@ export class ParseBoardName extends Component<IParseBoardProps>
</div> </div>
<div className="multiBackBr"> <div className="multiBackBr">
<H5></H5> <H5></H5>
<Tooltip content="多背板=单个柜子(名称) 单背板=多个柜子"> <Tooltip content={<span>:()<br />:,</span>}>
<RadioGroup <RadioGroup
inline inline
selectedValue={store.m_Option.isMultiBackBr ? "1" : "0"} selectedValue={store.m_Option.isMultiBackBr ? "1" : "0"}

@ -103,8 +103,8 @@ export class R2BConfigComponent extends React.Component<IR2BConfigComponentProps
/> />
<SetBoardDataBlock <SetBoardDataBlock
type={CheckObjectType.R2B} type={CheckObjectType.R2B}
className="flexWrap" className="flexWrap flexWrapWidth"
pars={[["backBrBiggerThanHeight", "大于"], ["backBrBiggerThanWidth", "大于"]]} pars={[["backBrBiggerThanHeight", "大于"], ["backBrBiggerThanWidth", "且宽大于"]]}
option={store.m_Option} option={store.m_Option}
uiOption={store.UIOption} uiOption={store.UIOption}
/> />

@ -33,7 +33,7 @@ export class ModelingComponent extends React.Component<{ store?: RightPanelStore
<ul className={"modeling " + Classes.LIST_UNSTYLED}> <ul className={"modeling " + Classes.LIST_UNSTYLED}>
<li> <li>
<Label></Label> <Label></Label>
<Label></Label> <Label></Label>
<Label></Label> <Label></Label>
<Label></Label> <Label></Label>
<Label></Label> <Label></Label>

Loading…
Cancel
Save